- Posts: 2
- Thank you received: 0
Add text after price on product page !
1 year 5 months ago #367422
by Perfume
Add text after price on product page ! was created by Perfume
-- url of the page with the problem -- : localhost
-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5
-- PHP version -- : 8.3.14
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Add text after price on product page.
Example:
old : 200 usd
new : 200 usd / 100 ml
Hy ! Can you please help me ?
Add text after price on product page.
Example:
old : 1 usd
new : 1 usd / 1 ml
Al my product is example 1 ml
-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5
-- PHP version -- : 8.3.14
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Add text after price on product page.
Example:
old : 200 usd
new : 200 usd / 100 ml
Hy ! Can you please help me ?
Add text after price on product page.
Example:
old : 1 usd
new : 1 usd / 1 ml
Al my product is example 1 ml
Please Log in or Create an account to join the conversation.
1 year 5 months ago #367423
by nicolas
Replied by nicolas on topic Add text after price on product page !
Hi,
If all your products need to have the same text after the price, then you can simply use a translation override of the default text there, which is "each".
Here, we explain how to make translation overrides:
www.hikashop.com/download/languages.html#modify
If you need to have different text for different products there, then you want to use a custom product field and a view override as explained in the "I sell packed products, how can I change "each" text in the product page ?" section of our FAQ:
www.hikashop.com/support/documentation/106-faq.html#tran
If all your products need to have the same text after the price, then you can simply use a translation override of the default text there, which is "each".
Here, we explain how to make translation overrides:
www.hikashop.com/download/languages.html#modify
If you need to have different text for different products there, then you want to use a custom product field and a view override as explained in the "I sell packed products, how can I change "each" text in the product page ?" section of our FAQ:
www.hikashop.com/support/documentation/106-faq.html#tran
Please Log in or Create an account to join the conversation.
1 year 5 months ago #367482
by Perfume
Replied by Perfume on topic Add text after price on product page !
Tested and not working !
I have wrote text from left panel PER_UNIT=" each", to right panel PER_UNIT="/ 10 ml"
No changes!
I have wrote text from left panel PER_UNIT=" each", to right panel PER_UNIT="/ 10 ml"
No changes!
Please Log in or Create an account to join the conversation.
1 year 5 months ago #367486
by nicolas
Replied by nicolas on topic Add text after price on product page !
Hi,
It definitely works. This modification has been used by many users before you.
You must have another problem. For example, maybe you did it for another language than the one on your frontend. Or maybe you have an error in the language override file. If there is an error somewhere in a language file, the language file will be ignored by Joomla.
You can activate the "debug languages" setting of the Joomla configuration and then look at the page on the frontend. At the bottom, you'll see the debug area and it will tell you if there is an error in the override file.
It definitely works. This modification has been used by many users before you.
You must have another problem. For example, maybe you did it for another language than the one on your frontend. Or maybe you have an error in the language override file. If there is an error somewhere in a language file, the language file will be ignored by Joomla.
You can activate the "debug languages" setting of the Joomla configuration and then look at the page on the frontend. At the bottom, you'll see the debug area and it will tell you if there is an error in the override file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds