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, ...)
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)
You can catch my ideas here: http://ideas.x-cart.com
|