Details
-
Bug
-
Resolution: Fixed
-
High
-
2014.07, 5.3.3, 5.4-dev
Description
Bug occurs only for shipping handler returning old shipping info.
When you create custom shipping handler like this:
class testShippingHandler { function __construct() { } function getShippingInfo( $productCollectionID ) { return array( 'description' => ezpI18n::tr( 'design/standard/shop/shippinghandler/test', 'Example shipping cost' ), 'vat_value' => 10, 'cost' => 100, 'is_vat_inc' => 0 ); } function updateShippingInfo( $productCollectionID ) { } function purgeShippingInfo( $productCollectionID ) { } }
your shipping info is processed in this block, where the new eZOrderItem is created incorrectly (VAT info). Compare this (ok) and this (incorrect).
PR: https://github.com/ezsystems/ezpublish-legacy/pull/1098
Attachments
Issue Links
- links to