Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add digital stamp to te plugin #452

Merged
merged 13 commits into from
Feb 19, 2019
Merged

Add digital stamp to te plugin #452

merged 13 commits into from
Feb 19, 2019

Conversation

RichardPerdaan
Copy link
Member

No description provided.

app/code/community/TIG/MyParcel2014/Model/Api/MyParcel.php Outdated Show resolved Hide resolved
app/code/community/TIG/MyParcel2014/Model/Api/MyParcel.php Outdated Show resolved Hide resolved
var_dump($item->getWeight());
$parentIds = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($id);
if (empty($parentIds)) {
$itemWeight += $item->getWeight() * $qty;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Graag op 1 plek berekenen wat het totaal gewicht is.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the calculations done in a different way, because you are already in the order. It is therefore not possible to use the function getTotalWeight, for example. This calculation are also use different functions than the function getTotalWeight, this is necessary to make everything run smoothly

@RichardPerdaan RichardPerdaan merged commit 7acffa2 into develop Feb 19, 2019
@RichardPerdaan RichardPerdaan deleted the DigitalStamp branch February 19, 2019 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants