X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change Quantity in stock Label (https://forum.x-cart.com/showthread.php?t=67282)

japostol 07-05-2013 07:26 PM

Change Quantity in stock Label
 
I'm trying to change the "quantity in stock" from # of items available to simply say In Stock or Out of Stock. I don't want it to show # of items available. I have looked through this forum and tried several changes but none work for me. I'm using X-cart 4.5.4.

Thank You

ADDISON 07-05-2013 10:51 PM

Re: Change Quantity in stock Label
 
Use Webmaster mode for templates and variables.

1) Identify which variable takes the number of items in stock.

2) Identify which template has inside that text label "quantity in stock"

3) Edit this template inserting an {if} statement. If variable.quantity gt 0 show "In Stock", else show "Out of Stock"

If you search the Forum you will find complete solution, even with colors (Good stock, Fair stock, Low stock, Out of stock, Sold out, ...)


All times are GMT -8. The time now is 06:12 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.