user4956 Från Okänd Medlem sedan dec. -0001 user4956 4 jan. 2018 20:57 HelloCan you assist me in the setup of Country Based ShippingI have installed and tried several setting and only get several errors on product pages.I want to charge a flat fee of 2.00 for all of the United States.I am getting error on product page:Deprecated: reference_get_country_name is deprecated. Use instead reference::country($code)->name in ~/includes/functions/func_reference.inc.php (Line 22)Using Code:Rate Tables MapUS;;Table1Rate TablesTable1;9999:2.00ThanksDave
tim Founder Från Sweden Medlem sedan maj 2013 tim 5 jan. 2018 01:03 II moved your thread to the addon category.You receive this error because the module is not updated for LiteCart 2.xThe error message is the key to the solution. Substitute your code functions::reference_country_get_name(code) with reference::country(code)->name.I am not by the computer to do this for you this evening.Btw your tables looks right.
user4956 Från Okänd Medlem sedan dec. -0001 user4956 5 jan. 2018 17:33 I did that and now I get error Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM), expecting '(' in /home/scanuxrv/screenprotectorcovers.com/includes/functions/func_reference.inc.php on line 21
tim Founder Från Sweden Medlem sedan maj 2013 tim 5 jan. 2018 22:16 Updated for LiteCart 2.x. See addon for download.
user4956 Från Okänd Medlem sedan dec. -0001 user4956 6 jan. 2018 05:40 Did that and the errors are solved, but the shipping cost is not added to the Subtotal at checkout?
tim Founder Från Sweden Medlem sedan maj 2013 tim 6 jan. 2018 12:43 Shipping costs are added after the subtotal using the order total module ot_shipping_fee.
user3724 LiteCart Fan Från United States Medlem sedan jan. 2017 user3724 5 feb. 2018 19:35 Not wanting to hijack this thread, but, is this the configuration information TiM is talking about for the issue I am having with the shipping module? Because (as my other thread suggests) it isn't working for me and I don't know what I need to do to fix it.