Ship In Cart

order total module with errors - Ship In Cart

order total module with errors

by ce7 » Sun Mar 13, 2022 8:22 am

hi Raiwa,

I have Ship in Cart added to 1087 version, shopping_cart/cm_sc_shipping.php which works ok, but
shopping_cart/cm_sc_order_total.php has these error messages:

Fatal error: Uncaught Error: Cannot use object of type Product as array in /catalog/includes/modules/content/shopping_cart/cm_sc_order_total.php:47 Stack trace: #0 /catalog/includes/system/versioned/1.0.7.9/osc_template.php(106): cm_sc_order_total->execute() #1 /catalog/templates/default/includes/pages/shopping_cart.php(13): oscTemplate->getContent('shopping_cart') #2 /catalog/shopping_cart.php(17): require('/home/micka956/...') #3 {main} thrown in /catalog/includes/modules/content/shopping_cart/cm_sc_order_total.php on line 47

Code: Select all

$products_tax = tep_get_tax_rate($products[$i]['tax_class_id'], $order->delivery['country_id'], $order->delivery['zone_id']);
how to correct this problem? If I remove the total module, the ship in cart still working

Image
https://imgur.com/7V4WCAM

Thank you.
ce7
Posts: 26
Joined: Tue Apr 06, 2021 12:26 am
Contact:

Re: order total module with errors

by raiwa » Sun Mar 13, 2022 8:59 am

Ship in cart 5.6 is flagged for Phoenix 1.0.8.0
Please read this:
viewtopic.php?f=10&t=1010
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: order total module with errors

by raiwa » Sat Mar 19, 2022 12:29 pm

Uploaded Version 6.0 for Phoenix 1.0.8.6+
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact: