Skip to main content

Replace "x items in stock"

More
11 years 8 months ago #186113 by florcar
-- HikaShop version -- : HikaShop Business: 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : Chrome

Hi,

I would like to know if it is possible to have instead of "x items in stock" "just a few left" if the quantity of a product is low.

Thanks in advance
florcar

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

More
11 years 8 months ago #186120 by nicolas
Replied by nicolas on topic Replace "x items in stock"
Hi,

Yes. You can use a translation override in order to change any text of the interface on your website:
hikashop.com/download/languages.html#modify

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

More
11 years 8 months ago #186165 by florcar
Replied by florcar on topic Replace "x items in stock"
Thank you for your answer. But the text should just show up if the quantity of the product is low. That wouldnt work with an override, right?

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

More
11 years 8 months ago #186168 by nicolas
Replied by nicolas on topic Replace "x items in stock"
Hi,

There are three translations:
X_ITEMS_IN_STOCK
X_ITEM_IN_STOCK
NO_STOCK
And you can change each one independently. But if you want something more complex, like for example a message below 10 items in stock but not above, then it would require that you customize the file "quantity" of the view "product" via the menu Display>Views.

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

More
11 years 8 months ago #186274 by florcar
Replied by florcar on topic Replace "x items in stock"
Hi nicolas,

Thank you again for answering my question but I want to have the last example you mentioned. :)
Could you give me a hint of how I could customize the "quantity" file? That would be great.

Thanks in advance

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

More
11 years 8 months ago #186281 by Mohamed Thelji
The following user(s) said Thank You: florcar

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

More
11 years 8 months ago #186484 by florcar
Replied by florcar on topic Replace "x items in stock"
Thank you so much. It worked!

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

Time to create page: 0.198 seconds
Powered by Kunena Forum