- Posts: 29
- Thank you received: 1
Hikashop gives wrong totals on non-default currency
- heinburgh@gmail.com
-
Topic Author
- Offline
Less
More
9 years 2 weeks ago #282450
by heinburgh@gmail.com
-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8
-- PHP version -- : 7.1.10
-- Browser(s) name and version -- : Firefox 56.0.2 64bit
-- Error-message(debug-mod must be tuned on) -- : none
Hi,
I may be wronf but it looks like there is a glitch in the checkout listing_price.php.
When I have discounted items in the checkout, the discounted and normal prices show without issues. ( screenshots.firefox.com/oUVq3vKCJe8DYpyf/localhost )
However, when in the same screen I switch the currency to USD, the USD totals do not show correctly. ( screenshots.firefox.com/NsFbaVcOjGubV7R1/localhost )
You'll see that the USD/ZMK conversion for the discounted price (You Pay) is correct. But the USD/ZMK conversion for the Normal Price is faulty - on the left, under UNIT PRICE, the ZMK equivalent for the USD price is absent, and on the right side, under TOTAL PRICE, the ZMK equivalent stays at the price for one unit - it does not increase when I increase the unit quantity.
So it looks to me like the ZMK equivalent in brackets () under the TOTAL PRICE column should actually be on the left under the UNIT PRICE column. And the ZMK equivalent of the TOTAL PRICE column is missing.
This looks like a simple PHP issue, but my PHP is useless so I need to ask for help on the forum.
Thanks,
Hein
-- Joomla version -- : 3.8
-- PHP version -- : 7.1.10
-- Browser(s) name and version -- : Firefox 56.0.2 64bit
-- Error-message(debug-mod must be tuned on) -- : none
Hi,
I may be wronf but it looks like there is a glitch in the checkout listing_price.php.
When I have discounted items in the checkout, the discounted and normal prices show without issues. ( screenshots.firefox.com/oUVq3vKCJe8DYpyf/localhost )
However, when in the same screen I switch the currency to USD, the USD totals do not show correctly. ( screenshots.firefox.com/NsFbaVcOjGubV7R1/localhost )
You'll see that the USD/ZMK conversion for the discounted price (You Pay) is correct. But the USD/ZMK conversion for the Normal Price is faulty - on the left, under UNIT PRICE, the ZMK equivalent for the USD price is absent, and on the right side, under TOTAL PRICE, the ZMK equivalent stays at the price for one unit - it does not increase when I increase the unit quantity.
So it looks to me like the ZMK equivalent in brackets () under the TOTAL PRICE column should actually be on the left under the UNIT PRICE column. And the ZMK equivalent of the TOTAL PRICE column is missing.
This looks like a simple PHP issue, but my PHP is useless so I need to ask for help on the forum.
Thanks,
Hein
Please Log in or Create an account to join the conversation.
9 years 2 weeks ago #282530
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Hikashop gives wrong totals on non-default currency
Hello,
Yes regarding your screenshot it looks like the original price is not displayed depending the product quantity.
Would it be possible to have more details about the discount you're using so we can reproduce your settings and know exactly in which branch of the code that missing usage of the quantity is ?
Regards,
Yes regarding your screenshot it looks like the original price is not displayed depending the product quantity.
Would it be possible to have more details about the discount you're using so we can reproduce your settings and know exactly in which branch of the code that missing usage of the quantity is ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- heinburgh@gmail.com
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 1
9 years 2 weeks ago #282554
by heinburgh@gmail.com
Replied by heinburgh@gmail.com on topic Hikashop gives wrong totals on non-default currency
I sent you a pm with backend login.
I have one product category called Current Specials, and all products within this category is subject to a 15% discount. It is on these discounted items that the problem exists.
I have one product category called Current Specials, and all products within this category is subject to a 15% discount. It is on these discounted items that the problem exists.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
9 years 2 weeks ago #282581
by Mohamed Thelji
Replied by Mohamed Thelji on topic Hikashop gives wrong totals on non-default currency
Hello,
Can you directly send us screenshots of how you configured your Discounts ?
Thank you !
Can you directly send us screenshots of how you configured your Discounts ?
Thank you !
Please Log in or Create an account to join the conversation.
- heinburgh@gmail.com
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 1
9 years 1 week ago #282731
by heinburgh@gmail.com
Replied by heinburgh@gmail.com on topic Hikashop gives wrong totals on non-default currency
Discount setup:
screenshots.firefox.com/VLZfmCsALwNzR3Mb/lambcuts.net
Display setup:
screenshots.firefox.com/K1QONkidliEXXvPK/lambcuts.net
Let me know if I can send you anything else.
Thanks!
screenshots.firefox.com/VLZfmCsALwNzR3Mb/lambcuts.net
Display setup:
screenshots.firefox.com/K1QONkidliEXXvPK/lambcuts.net
Let me know if I can send you anything else.
Thanks!
Please Log in or Create an account to join the conversation.
9 years 1 week ago #282832
by nicolas
Replied by nicolas on topic Hikashop gives wrong totals on non-default currency
Hi,
Well, I tried to reproduce the problem but I'm not able to.
Here is what I have :
monosnap.com/file/7MvdLJliurgwpO0YWsEl0jDdqH3MLe
The initial cost of the product is $10, converted to 6.67€ (currency rate of 1.5 to make calculations easier), with a discount of 50%, hene 3.33€ of unit price.
And the total prices are correct too.
Since there is no "you pay" / "normal price" texts there by default, wouldn't it come from the changes in the listing_price view override ?
If you switch temporarily to the default template of Joomla, does it display correct numbers ?
Well, I tried to reproduce the problem but I'm not able to.
Here is what I have :
monosnap.com/file/7MvdLJliurgwpO0YWsEl0jDdqH3MLe
The initial cost of the product is $10, converted to 6.67€ (currency rate of 1.5 to make calculations easier), with a discount of 50%, hene 3.33€ of unit price.
And the total prices are correct too.
Since there is no "you pay" / "normal price" texts there by default, wouldn't it come from the changes in the listing_price view override ?
If you switch temporarily to the default template of Joomla, does it display correct numbers ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds