-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conversation
...ommunity/TIG/MyParcel2014/Block/Adminhtml/Sales/Order/Shipment/Create/ConsignmentOptions.php
Outdated
Show resolved
Hide resolved
...ommunity/TIG/MyParcel2014/Block/Adminhtml/Sales/Order/Shipment/Create/ConsignmentOptions.php
Outdated
Show resolved
Hide resolved
...ommunity/TIG/MyParcel2014/Block/Adminhtml/Sales/Order/Shipment/Create/ConsignmentOptions.php
Outdated
Show resolved
Hide resolved
...ommunity/TIG/MyParcel2014/Block/Adminhtml/Sales/Order/Shipment/Create/ConsignmentOptions.php
Outdated
Show resolved
Hide resolved
app/code/community/TIG/MyParcel2014/Model/Adminhtml/Observer/OrderGrid.php
Outdated
Show resolved
Hide resolved
...ault/default/template/TIG/MyParcel2014/sales/order/shipment/create/consignment_options.phtml
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
No description provided.