Code:
2018-07-01 18:46:41, Edit Orders entered (4.3.4) action (edit)
Enabled Order Totals: ot_subtotal.php;ot_shipping.php;ot_coupon.php;ot_group_pricing.php;ot_tax.php;ot_loworderfee.php;ot_gv.php;ot_total.php
getOrderInfo, on entry: Called by /var/www/xxx/edit_orders.php on line #705
Subtotal: (not set), Shipping: (not set), Shipping Tax: (not set), Tax: 5.57, Total: 34.86, Tax Groups: {"19.0000":"1"}
$_SESSION['shipping']: (not set)
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
getProductTaxes(19%)
{"products_tax_class_id":"1"}{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
getProductTaxes, returning 4.77.
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
calculateOrderShippingTax returning 0.94.
removeTaxFromShippingCost(order, flat), 1, Shipping, 1.19, 4.95, 4.16, 0.79
getOrderInfo, on exit:
{"code":"flat","title":"Flat Rate","description":"Flat Rate","icon":"","enabled":true,"sort_order":"0","tax_class":"1","tax_basis":"Shipping"}
Subtotal: 29.9, Shipping: 4.16, Shipping Tax: 0, Tax: 4.78, Total: 34.86, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
============================================================
= Creating display of Order Product #1
============================================================
Product Details:
{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
2018-07-01 18:46:59, Edit Orders entered (4.3.4) action (update_order)
Enabled Order Totals: ot_subtotal.php;ot_shipping.php;ot_coupon.php;ot_group_pricing.php;ot_tax.php;ot_loworderfee.php;ot_gv.php;ot_total.php
getOrderInfo, on entry: Called by /var/www/xxx/manager/edit_orders.php on line #305
Subtotal: (not set), Shipping: (not set), Shipping Tax: (not set), Tax: 0.00, Total: 34.86, Tax Groups: {"19.0000":"1"}
$_SESSION['shipping']: (not set)
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
getProductTaxes(19%)
{"products_tax_class_id":"1"}{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
getProductTaxes, returning 4.77.
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
calculateOrderShippingTax returning 0.94.
removeTaxFromShippingCost(order, flat), 1, Shipping, 1.19, 4.95, 4.16, 0.79
getOrderInfo, on exit:
{"code":"flat","title":"Flat Rate","description":"Flat Rate","icon":"","enabled":true,"sort_order":"0","tax_class":"1","tax_basis":"Shipping"}
Subtotal: 29.9, Shipping: 4.16, Shipping Tax: 0, Tax: -0.79, Total: 34.86, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Order Subtotal: 29.9
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Order Tax (total): -0.79
Order Tax Groups:
{"19%":4.77}
Requested Products:
array (
1 =>
array (
'qty' => '1',
'name' => 'Test',
'model' => '',
'tax' => '19',
'final_price' => '25.13',
),
)
Products in Original Order:
array (
0 =>
array (
'qty' => 1,
'id' => '1',
'name' => 'Test',
'model' => '',
'tax' => '19.0000',
'price' => '25.1261',
'final_price' => '25.1300',
'onetime_charges' => '0.0000',
'products_priced_by_attribute' => '0',
'product_is_free' => '0',
'products_discount_type' => '0',
'products_discount_type_from' => '0',
),
)
Order Product ID: 1 Row ID: 0
Product in Request:
{"qty":1,"name":"Test","model":"","tax":"19","final_price":"25.13"}
Old Product:
{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
Old Order Subtotal: 29.9
Old Order Totals: ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
Old Tax (total): -0.79
Old Tax Groups:
{"19%":4.77}
eo_update_order_subtotal (), taxes on entry. Called by /var/www/xxx/edit_orders.php on line #370
Subtotal: 29.9, Shipping: 4.16, Shipping Tax: 0, Tax: -0.79, Total: 34.86, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9047
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €5.57, Value: 5.5651
ot_total. Text: €34.86, Value: 34.8551
getProductTaxes(19%)
{"products_tax_class_id":"1"}{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
getProductTaxes, returning 4.77.
eo_update_order_subtotal, taxes on exit.
Subtotal: 0, Shipping: 4.16, Shipping Tax: 0, Tax: -5.56, Total: 4.16, Tax Groups: {"19%":0}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €0.00, Value: 0
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-5.56, Value: -5.56
ot_total. Text: €4.16, Value: 4.16
Removed Product Order Subtotal: 0
Removed Product Order Totals: ot_subtotal. Text: €0.00, Value: 0
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-5.56, Value: -5.56
ot_total. Text: €4.16, Value: 4.16
Removed Product Tax (total): -5.56
Removed Product Tax Groups:
{"19%":0}
eo_update_order_subtotal (1), taxes on entry. Called by /var/www/xxx/manager/edit_orders.php on line #429
Subtotal: 0, Shipping: 4.16, Shipping Tax: 0, Tax: -5.56, Total: 4.16, Tax Groups: {"19%":0}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €0.00, Value: 0
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-5.56, Value: -5.56
ot_total. Text: €4.16, Value: 4.16
getProductTaxes(19%)
false{"id":1,"qty":1,"tax":"19","name":"Test","model":"","price":"25.1261","products_discount_type":"0","products_discount_type_from":"0","products_priced_by_attribute":"0","product_is_free":"0","products_virtual":"0","product_is_always_free_shipping":"0","tax_description":"19%","onetime_charges":0,"final_price":"25.13"}
getProductTaxes, returning 4.77.
eo_update_order_subtotal, taxes on exit.
Subtotal: 29.9, Shipping: 4.16, Shipping Tax: 0, Tax: -0.79, Total: 34.06, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
Pricing, as entered, was used.
Added Product:
{"id":1,"qty":1,"tax":"19","name":"Test","model":"","price":"25.1261","products_discount_type":"0","products_discount_type_from":"0","products_priced_by_attribute":"0","product_is_free":"0","products_virtual":"0","product_is_always_free_shipping":"0","tax_description":"19%","onetime_charges":0,"final_price":"25.13"}
Added Product Order Subtotal: 29.9
Added Product Order Totals: ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
Added Product Tax (total): -0.79
Added Product Tax Groups:
{"19%":4.77}
Updated Products in Order:
array (
0 =>
array (
'id' => 1,
'qty' => 1.0,
'tax' => '19',
'name' => 'Test',
'model' => '',
'price' => '25.1261',
'products_discount_type' => '0',
'products_discount_type_from' => '0',
'products_priced_by_attribute' => '0',
'product_is_free' => '0',
'products_virtual' => '0',
'product_is_always_free_shipping' => '0',
'tax_description' => '19%',
'onetime_charges' => 0,
'final_price' => '25.13',
'stock_reduce' => 1.0,
),
)
Updated Products Order Totals: ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
Updated Products Tax (total): 4.77
Updated Products Tax Groups:
{"19%":4.77}
============================================================
= Processing Requested Updates to Order Totals
============================================================
Requested Order Totals:
array (
0 =>
array (
'code' => 'ot_shipping',
'shipping_module' => 'flat',
'title' => 'Flat Rate (Best Way):',
'value' => '4.9504',
),
1 =>
array (
'code' => 'ot_coupon',
'title' => '',
'value' => '',
'shipping_module' => 'flat',
),
)
Starting Order Totals: ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
Starting Tax (total): 4.77
Starting Tax Groups:
{"19%":4.77}
eo_update_database_order_total: and_clause: (), found (0), array (
'code' => 'ot_shipping',
'shipping_module' => 'flat',
'title' => 'Flat Rate (Best Way):',
'value' => 4.9504000000000001,
'text' => '€4.95',
'sort_order' => NULL,
)
eo_update_database_order_total: and_clause: (), found (1), array (
'code' => 'ot_coupon',
'title' => '',
'value' => 0.0,
'shipping_module' => 'flat',
'text' => '€0.00',
'sort_order' => NULL,
)
eo_update_database_order_totals, taxes/totals on entry. Called by /var/www/xxx/edit_orders.php on line #585
Subtotal: 29.9, Shipping: 4.9504, Shipping Tax: 0, Tax: 4.77, Total: 34.06, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
ot_coupon. Text: €0.00, Value: 0
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
Checking taxes for ot_coupon: Tax class (MODULE_ORDER_TOTAL_COUPON_TAX_CLASS:0), 0
eo_update_database_order_totals, after adjustments: order_total: 35.790976, order_tax: 5.710576
eo_update_database_order_totals, after process: order_total: 35.790976, order_tax: 5.710576
[{"code":"ot_subtotal","title":"Sub-Total:","text":"€29.90","value":29.9,"sort_order":"100"},{"code":"ot_shipping","title":"Flat Rate (Best Way)::","text":"€5.89","value":5.890976,"sort_order":"200"},{"code":"ot_tax","title":"19%:","text":"€5.71","value":5.710576,"sort_order":"300"},{"code":"ot_total","title":"Total:","text":"€35.79","value":35.790976,"sort_order":"999"}]
[{"title":"Sub-Total:","text":"€29.90","class":"ot_subtotal","value":29.9},{"title":"Flat Rate (Best Way):","text":"€4.95","class":"ot_shipping","value":4.9504},{"title":"19%:","text":"€-0.79","class":"ot_tax","value":-0.79},{"title":"Total:","text":"€34.06","class":"ot_total","value":34.06},{"class":"ot_coupon","title":"","value":0,"text":"€0.00","sort_order":null}]
eo_update_database_order_total: and_clause: (), found (0), array (
'code' => 'ot_subtotal',
'title' => 'Sub-Total:',
'text' => '€29.90',
'value' => 29.899999999999999,
'sort_order' => '100',
)
eo_update_database_order_total: and_clause: (), found (0), array (
'code' => 'ot_shipping',
'title' => 'Flat Rate (Best Way)::',
'text' => '€5.89',
'value' => 5.8909760000000002,
'sort_order' => '200',
)
eo_update_database_order_total: and_clause: (), found (0), array (
'code' => 'ot_tax',
'title' => '19%:',
'text' => '€5.71',
'value' => 5.7105759999999997,
'sort_order' => '300',
)
eo_update_database_order_total: and_clause: (), found (0), array (
'code' => 'ot_total',
'title' => 'Total:',
'text' => '€35.79',
'value' => 35.790976000000001,
'sort_order' => '999',
)
Removing order-total, and-clause: `class` = ''
Removing order-total, and-clause: title = 'Flat Rate (Best Way):' OR `class` = ''
Removing order-total, and-clause: `class` = ''
Removing order-total, and-clause: `class` = ''
Removing order-total, and-clause: title = '' OR `class` = ''
eo_update_database_order_totals, taxes on exit.
Subtotal: 29.9, Shipping: 5.890976, Shipping Tax: 0.940576, Tax: 5.710576, Total: 35.790976, Tax Groups: {"19%":5.710576}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
ot_coupon. Text: €0.00, Value: 0
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
ot_coupon. Text: €0.00, Value: 0
Updated Tax (total): 5.710576
Updated Tax Groups:
{"19%":5.710576}
============================================================
= Done Processing Requested Updates to the Order
============================================================
Final Subtotal: 29.9
Final Totals: ot_subtotal. Text: €29.90, Value: 29.9
ot_shipping. Text: €4.95, Value: 4.9504
ot_tax. Text: €-0.79, Value: -0.79
ot_total. Text: €34.06, Value: 34.06
ot_coupon. Text: €0.00, Value: 0
Final Tax (total): 5.710576
Final Tax Groups:
{"19%":5.710576}
2018-07-01 18:47:00, Edit Orders entered (4.3.4) action (edit)
Enabled Order Totals: ot_subtotal.php;ot_shipping.php;ot_coupon.php;ot_group_pricing.php;ot_tax.php;ot_loworderfee.php;ot_gv.php;ot_total.php
getOrderInfo, on entry: Called by /var/www/xxx/edit_orders.php on line #705
Subtotal: (not set), Shipping: (not set), Shipping Tax: (not set), Tax: 5.71, Total: 35.79, Tax Groups: {"19.0000":"1"}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way)","id":"flat_","cost":4.95}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9000
ot_shipping. Text: €5.89, Value: 5.8910
ot_tax. Text: €5.71, Value: 5.7106
ot_total. Text: €35.79, Value: 35.7910
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
getProductTaxes(19%)
{"products_tax_class_id":"1"}{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
getProductTaxes, returning 4.77.
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
calculateOrderShippingTax returning 1.12.
removeTaxFromShippingCost(order, flat), 1, Shipping, 1.19, 5.89, 4.95, 0.94
getOrderInfo, on exit:
{"code":"flat","title":"Flat Rate","description":"Flat Rate","icon":"","enabled":true,"sort_order":"0","tax_class":"1","tax_basis":"Shipping"}
Subtotal: 29.9, Shipping: 4.95, Shipping Tax: 0, Tax: 4.77, Total: 35.79, Tax Groups: {"19%":4.77}
$_SESSION['shipping']: {"title":"Flat Rate (Best Way):","id":"flat_","cost":5.89}
Order Totals
ot_subtotal. Text: €29.90, Value: 29.9000
ot_shipping. Text: €5.89, Value: 5.8910
ot_tax. Text: €5.71, Value: 5.7106
ot_total. Text: €35.79, Value: 35.7910
Checking order for virtual status. Order contains 1 unique products, 0 of those are virtual
============================================================
= Creating display of Order Product #2
============================================================
Product Details:
{"qty":1,"id":"1","name":"Test","model":"","tax":"19.0000","price":"25.1261","final_price":"25.1300","onetime_charges":"0.0000","products_priced_by_attribute":"0","product_is_free":"0","products_discount_type":"0","products_discount_type_from":"0"}
Bookmarks