My default currency is set to Serbian Dinar. I set Euro for customers outside of Serbia and set exchange rate.
1 RSD = 0.0085 EUR
1 EUR = 117.64705882 RSD
Domestic shipping is set by Country rule and it's free
Shipping to other countries is set by Zone rules (countries grouped in three zones with different shipping costs)
Changing currencies works well but I have problem in checkout view when Euro is choosen.
It does not calculate total ammount to pay (subtotal-netto + shipping-brutto). When I switch to default currency, it calculates
Even Phoca Cart Cart module calculates as should for both currencies.
Joomla 4.2.9
Phoca Cart 4.0.5.
Total ammount to pay not calculated in other currency
- Nidzo
- Phoca Professional
- Posts: 389
- Joined: 07 Nov 2018, 14:55
- Nidzo
- Phoca Professional
- Posts: 389
- Joined: 07 Nov 2018, 14:55
Re: Total ammount to pay not calculated in other currency
One more thing. In generated PDF that is sent to customer by e-mail everything is OK. Ammounts are displayed correctly. BUT!
In Email Text (Customer) that is sent to customer on status change I use short code {totaltopay}.
When Euro currency is choosen {totaltopay} displays total ammount converted from Euro to default currency according to exchange rate with € sign.
PDF
Little bit a mess.
In Email Text (Customer) that is sent to customer on status change I use short code {totaltopay}.
When Euro currency is choosen {totaltopay} displays total ammount converted from Euro to default currency according to exchange rate with € sign.
Little bit a mess.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Total ammount to pay not calculated in other currency
Hi, can you paste a screenshot of list of currencies in administration?
Jan
Jan
If you find Phoca extensions useful, please support the project
- Nidzo
- Phoca Professional
- Posts: 389
- Joined: 07 Nov 2018, 14:55
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Total ammount to pay not calculated in other currency
Hi, thank you, found both problems.
Try to test the 4.0.6RC2 version:
https://github.com/PhocaCz/PhocaCart/re ... 0.6RC2.zip
1) Brutto should be OK now
2) There are new variables:
- totaltopaynoformatcurrency
- totaltopaynoformatcommacurrency
- totaltopaycurrency
Use totaltopaycurrency instead of totaltopay. This will display correct price in selected currency. In case the selected currency is not used, it will fallback to standard currency:
Please let me know if this is OK.
Thank you, Jan
Try to test the 4.0.6RC2 version:
https://github.com/PhocaCz/PhocaCart/re ... 0.6RC2.zip
1) Brutto should be OK now
2) There are new variables:
- totaltopaynoformatcurrency
- totaltopaynoformatcommacurrency
- totaltopaycurrency
Use totaltopaycurrency instead of totaltopay. This will display correct price in selected currency. In case the selected currency is not used, it will fallback to standard currency:
Please let me know if this is OK.
Thank you, Jan
If you find Phoca extensions useful, please support the project
- Nidzo
- Phoca Professional
- Posts: 389
- Joined: 07 Nov 2018, 14:55
Re: Total ammount to pay not calculated in other currency
You are my hero Jan
Both problems solved
Both problems solved
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Total ammount to pay not calculated in other currency
Hi, great to hear it.
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 17
- Joined: 14 Oct 2021, 20:35
Re: Total ammount to pay not calculated in other currency
Hello,
I have same problem,but i can't update Phoca Cart to 4.0.6 version because I still use Joomla 3.
It is possible to fix it in my Phoca Cart and Joomla version?
Joomla 3.10.2
Phoca Cart 3.5.8
Thank You
I have same problem,but i can't update Phoca Cart to 4.0.6 version because I still use Joomla 3.
It is possible to fix it in my Phoca Cart and Joomla version?
Joomla 3.10.2
Phoca Cart 3.5.8
Thank You
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Total ammount to pay not calculated in other currency
Hi, you can fix it of course but unfortunately I can add some clue advice here, as I didn't see Joomla 3 for years (developing now for Joomla 5 and preparing for Joomla 6).
Jan
Jan
If you find Phoca extensions useful, please support the project