| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to not show products when item goes out of stock? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() If an item's available number reaches 0... is there a way to have it not show up on the store?
|
|||||||
#2
|
|||||||||
|
|||||||||
![]() If you check in your admin general settings then you should see ...
Show quantity in stock: this will give the message .. Quantity Out of stock when a customer views an item that is either out of stock or the last item left is currently in someone elses basket. When you add your products or by choosing modify products you can change the Quantity in stock (items) Low limit in stock amounts
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Now wouldn't it be interesting if...
Wouldn't it be interesting if when an item was out of stock that it not only registers as being out of stock but the actual product would become unavailable and not even apear on the site until you put more of that item back in stock. Therefore if an item is out of stock the item doesnt even show up on the website. What do you think? Would this be a cool mod? I bet I could find a client that would like this feature. John7 |
|||||||
#4
|
|||||||
|
|||||||
![]() Quite an easy one this..
first, in include/categories.php there is a line that says: Code:
Code:
then in customer/products.php change: Code:
to Code:
That should stop the products being added to the products array if there are none available. btw this is based on 3.3.x code
__________________
ex x-cart guru ![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks
I'll try this out soon. This is a cool feature. Awesome!!! John7 |
|||||||
#6
|
|||||||
|
|||||||
![]() Someone let me know if that works... I'd definately be interested....
Sounds like a very cool mod.... ![]() |
|||||||
#7
|
|||||||
|
|||||||
![]() Has anyone done this and had it work???? I am leery to try new things... if it ain't broke, etc...
|
|||||||
#8
|
|||||||
|
|||||||
![]() 3.3.5 has this already built in as a switcheable thing in admin. Better off doing the upgrade to 3.3.5 if you want the function there.
__________________
ex x-cart guru ![]() |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|