| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Change Quantity in stock Label | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
4.1.10 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|