Skip to main content

Price range error related to currency changing.

15 years 11 months ago #1341 by Avaray
Hi.

I created a product with correctly set up price range (at least with an item with minimun quantity =0), "Camisa roja" one.

If the module where the product is displayed is configurated in such way that the price shown is the price per unit and then, in the front page you change your currency from the main one to another, the product is shown as a free one.

I discovered a similar bug some days ago, it´s the same again, but now related to currency changing.

By the other way, i´d like to know if there is any way in order to show prices only, without any kind of additional words like "per unit".

URL: shoptest.avaray.com

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1347 by nicolas
Hi,

I just tried here and couldn't reproduce the problem. Could you make a screenshot of the prices for your product ?

The per_unit can be changed in the translation file at the top. You can edit the translation file in the configuration under the tab languages.

Please Log in or Create an account to join the conversation.

15 years 11 months ago - 15 years 11 months ago #1354 by Avaray
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/01.jpg
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/02.jpg
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/03.jpg

And i do not want to translate the "per_unit" text; I want no text in my prices. It´s the simplest way to display prices and seems that it is not available.
Last edit: 15 years 11 months ago by Avaray.

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1355 by nicolas
The prices are correctly set. Could you do a screenshot of all the options of the module as I can't reproduce the problem here :/ ?

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1356 by Avaray
It´s in Spanish, but i think all is very understable. the price setting (and the only one that generates this bug) is set "per unit".
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/04.jpg

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1357 by nicolas
I see that you have variants for that product. How did you set prices for the variants ? Did you set anything there ?

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1358 by Avaray
The variants have no price set, they all use the general price.
image missing http://www.hikashop.com/media/kunena/attachments/legacy/images/05.jpg

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1361 by nicolas
That's it. That's why I couldn't reproduce the problem. It only occured once I added variants to the product.
You can replace the file administrator/components/com_hikashop/classes/currency.php by the one in the package enclosed in this post in order to fix the problem.

This attachment is hidden for guests.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1398 by Avaray
Ok. It is working now. But there is still the second part of the thread: "i do not want to translate the "per_unit" text; I want no text in my prices. It´s the simplest way to display prices and seems that it is not available."

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1400 by nicolas
I didn't told you to translate it but to edit the translation file and change the "per_unit" translation to "" so that it won't be displayed.

Please Log in or Create an account to join the conversation.

15 years 11 months ago #1402 by Avaray
Sounds logical. Many thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.480 seconds
Powered by Kunena Forum