Stock display text based on quantity

  • Posts: 50
  • Thank you received: 1
  • Hikashop Business
11 years 11 months ago #49645

Hi,

I would like to know if there's any way I can display the stock text in the following conditions:

Condition #1: Product quantity of 1 to 10.
Stock display as "Only n left in stock. Hurry and order now."
n = Total quantity

Condition #2: Product quantity still has 11 or more.
Stock display as "In stock." I don't want to reveal the stock quantity on the frontend if it's more than 10.

Is there any way to achieve this?

Thanks!

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

  • Posts: 81566
  • Thank you received: 13075
  • MODERATOR
11 years 11 months ago #49734

Hi,

There is no option for that. You will have to edit the file "quantity" of the view "product" via the menu display->Views in order to adapt the code to what you want.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum