♥raiwa Posted January 28, 2021 Share Posted January 28, 2021 Uploaded: Ship In Cart Phoenix 5.4 Compatibility: OsC CE Phoenix 1.0.5.1+ Tested with Phoenix 1.0.7.14 PHP: 7.0 - 7.4 Changes Vers. 5.4: - Added state index for not logged in users to be compatible with some shipping modules which use it. - tested with Phoenix 1.0.7.14 final release. beerbee 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted January 28, 2021 Share Posted January 28, 2021 Hi @raiwa, thanks for the update. We have 19% tax on shipping and some of our products are sold with 7%. As long as there are only 7% products in the shopping cart I get: Undefined index: enthaltene MwSt. 19% in /phoenix/includes/modules/order_total/ot_shipping.php on line 56. Best regards Christoph Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 28, 2021 Share Posted January 28, 2021 5 minutes ago, beerbee said: Hi @raiwa, thanks for the update. We have 19% tax on shipping and some of our products are sold with 7%. As long as there are only 7% products in the shopping cart I get: Undefined index: enthaltene MwSt. 19% in /phoenix/includes/modules/order_total/ot_shipping.php on line 56. Best regards Christoph I know. It happens only if user is not logged in. Didn't come around until know. I'll have a look for the next update. For now, switch error reporting off as it should be for a live store 😉 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted January 28, 2021 Share Posted January 28, 2021 No, I'm far from live (sadly), so I'll keep it on - it was just to let you know, thanks! BR C Quote Link to comment Share on other sites More sharing options...
zeeshop Posted January 30, 2021 Share Posted January 30, 2021 (edited) Hi, Followed all instruction to update from 5.2 to 5.3 on Phoenix 1.0.7.14, but <Admin >Modules > Content > Shipping estimator[shopping_cart]> still showing current version as 5.2. everything else seems to be working fine. Thanks Edited January 30, 2021 by zeeshop Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 30, 2021 Share Posted January 30, 2021 Oops, seems I forgot to update the version info, thank you Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
mendoh Posted February 8, 2021 Share Posted February 8, 2021 Hello Rainer. I have installed your contribution and it seems to work just fine except for a bizarre behaviour (at least on one of my sites) of the shipping estimator module. Please take a look: on a multi-language website, the actual weight of the product is not being considered whenever a language different than English is beind selected. Instead, it looks as though the wrong weight is taken directly from a (wrong) Kgs-to-lbs conversion which is somehow taking place on the English language page: The wierdest thing is that the estimated shipping amount is being calculated according to the values of the specified country/zone rate, however, after double checking those values, I have found that the EUR164/USD199.52 amount refers to a 6Kg weight, instead of the actual 3.5Kg weight of the purchased product. Shipping weight unit field value inside the Shipping Estimator module has been set to Kilograms on admin side, then again, on shop side it shows lbs instead of kgs on the English page and a wrong weight in kgs on the page of any other available language (Spanish in the above example). Any idea about what is causing the issue and how to solve it? Thank you Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted February 8, 2021 Share Posted February 8, 2021 Hello @mendoh, The difference in the order weight is due to the following: - the shipping estimator shows in Prodcuts quantity 3.5 kg the total net weight of the product in the shopping cart - the shipping module shows the total order weight adding the Package Tare weight and Larger packages - percentage increase, like established in: Admin : Configuration : Shipping /Packaging The store does not recalculate weight to different units. It uses and shows always the same value entered as products weight. The units showing are defined in the shipping estimator module for the unit shown in Prodcuts quantity 3.5 kg The units shown in the shipping module are defined in each language file. That's why it shows kg in spanish, but lbls in english. It has nothing to do with weight conversion. You have to use the same unit everywhere and chang it in the english language file to kg (if your product weight is intended to be in kg) Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
mendoh Posted February 10, 2021 Share Posted February 10, 2021 On 2/8/2021 at 10:56 AM, raiwa said: The difference in the order weight is due to the following: Rainer, thanks a lot! Your explanations had me got it straight. Regarding changing from lbs to kg: I could find no weight unit at all inside the English language file, while the only file where I could find a "lbs" indication to change to "kgs" was includes/modules/content/shopping_cart/cm_sc_shipping.php am I right? Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted February 10, 2021 Share Posted February 10, 2021 It's in: includes/languages/english/modules/shipping/zones.php: const MODULE_SHIPPING_ZONES_TEXT_WAY = 'Shipping to %s : %d lb(s)'; Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
mendoh Posted February 10, 2021 Share Posted February 10, 2021 5 minutes ago, raiwa said: It's in: includes/languages/english/modules/shipping/zones.php: Got it! Thanks again! Quote Link to comment Share on other sites More sharing options...
beerbee Posted February 24, 2021 Share Posted February 24, 2021 Hi Rainer, there seems to have something from two page _TWOPAGE_ checkout found its way into cm_sc_shipping.php, line 106 (116 too) $order->delivery = ['postcode' => ($_POST['zip_code'] ?? MODULE_CONTENT_SC_TWOPAGE_SHIPPING_DEFAULT_ZIP), Best regards Christoph raiwa 1 Quote Link to comment Share on other sites More sharing options...
beerbee Posted February 24, 2021 Share Posted February 24, 2021 (edited) In the hopes of not to be too much of a bore 😉, I get an undefined error regarding tax on shipping (19%) in cm_sc_order_:total.php - I tried something, will pm for the safety of the community. BR C Edited February 24, 2021 by beerbee Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted February 24, 2021 Share Posted February 24, 2021 2 hours ago, beerbee said: there seems to have something from two page _TWOPAGE_ checkout found its way into cm_sc_shipping.php, line 106 (116 too) $order->delivery = ['postcode' => ($_POST['zip_code'] ?? MODULE_CONTENT_SC_TWOPAGE_SHIPPING_DEFAULT_ZIP), Hotfix for now until update: Change all instances of: MODULE_CONTENT_SC_TWOPAGE_SHIPPING_DEFAULT_ZIP to: MODULE_CONTENT_SC_SHIPPING_DEFAULT_ZIP 1 hour ago, beerbee said: In the hopes of not to be too much of a bore 😉, I get an undefined error regarding tax on shipping (19%) in cm_sc_order_:total.php - I tried something, will pm for the safety of the community. I believe this is a core issue. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted February 25, 2021 Share Posted February 25, 2021 On 2/24/2021 at 3:02 PM, beerbee said: In the hopes of not to be too much of a bore 😉, I get an undefined error regarding tax on shipping (19%) in cm_sc_order_:total.php - I tried something, will pm for the safety of the community. BR C On 1/28/2021 at 3:43 PM, beerbee said: Hi @raiwa, thanks for the update. We have 19% tax on shipping and some of our products are sold with 7%. As long as there are only 7% products in the shopping cart I get: Undefined index: enthaltene MwSt. 19% in /phoenix/includes/modules/order_total/ot_shipping.php on line 56. Best regards Christoph It seems this got fixed in the 1.0.7.16 core update Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted February 25, 2021 Share Posted February 25, 2021 Yes I know, this fix is already implemented on my install. This shows up : Notice: Undefined index: enthaltene MwSt. 7% in /xxx/phoenix/includes/modules/content/shopping_cart/cm_sc_order_total.php on line 74 under the following circumstances: I'm not logged in, have free shipping because order amount is above level, and have products with 19 and 7 tax in the cart, If I log in all good. I noticed if mixed it always the last products thats added tax, can be 19 too. I have tried to add the fix from core there please check PM the third one seems to fix both ways but I know my limitations... Best regards Christoph Quote Link to comment Share on other sites More sharing options...
vampirehunter Posted April 27, 2022 Share Posted April 27, 2022 (edited) On 1/28/2021 at 9:57 AM, raiwa said: Uploaded: Ship In Cart Phoenix 5.4 Compatibility: OsC CE Phoenix 1.0.5.1+ Tested with Phoenix 1.0.7.14 PHP: 7.0 - 7.4 Changes Vers. 5.4: - Added state index for not logged in users to be compatible with some shipping modules which use it. - tested with Phoenix 1.0.7.14 final release. Hi I have the version which is on the bootstrap version previous to Phoenix. And its suddenly stopped working. When i go to shopping cart, the estimator is showing all the options for all countries, rather than the selected country do you know what it could be? shipping is set to zones and everything is correct. its just suddenly not showing just the selected countries shipping options, it shows everything, its also not working on checkout shipping when logged in. i can see every shipping option Edited April 27, 2022 by vampirehunter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.