Sorry to hear you are having problems. Here are a few things for you to check.
1) You have the currency specific price fields created but do you have the alias of those fields registered with the TC currency via the "Price property alias" on the currency.
Multi language multi currency webshop setup
I am trying to setup a multi language multi currency webshop using the latest TeaCommerce starter kit.
The product price returned from following function is always zero! Not sure what am doing wrong
No code from the starter kit is changed and the storeId is correct
Hi Anz
Sorry to hear you are having problems. Here are a few things for you to check.
1) You have the currency specific price fields created but do you have the alias of those fields registered with the TC currency via the "Price property alias" on the currency.
2) When you switch country site, if you have only one currency per site, are you changing the currency on the current session via
TC.SetCurrentCurrency
? https://docs.teacommerce.net/3.0.0/api/currency/#setcurrentcurrency3) Have you set the currency to be available in the relevant countries via the "Available in these countries" tab on the currency?
Have a look into these and let me know if you continue to have problems.
Matt
Thank you for the help. I got it solved
Price was zero because of the wrong bindings in Culture and Hostnames
Thank you for pointing to TC.SetCurrentCurrency. This solved proper switching of currencies
All good for now :)
Awesome!
Glad you got it resolved.
Matt
is working on a reply...