Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Cannot hide OUT OF STOCK
Author « Topic »  

mxzrxp
New Member

USA
94 Posts

Posted - 10/26/2024 :  14:49:18  
Not sure why but my out of stock items are showing up as "Out OF Stock.

But I do have this setting in includes.asp

noshowoutofstock=TRUE


???
Any assistance is appreciated.

Here is an out of stock item:
https://www.ibew43.org/store/proddetail.asp?prod=TSH-003

Phil
ECT Moderator

United Kingdom
7670 Posts

Posted - 10/28/2024 :  03:25:45  
Hi Michael,

That parameter is no longer used but was used to remove the stock quantities being displayed. Elements on the product and detail pages are now set in the vsadmin/includes.asp so you would remove the 'instock' text from the product layout parameters as described below.

There's more information here for the product pages layout - https://www.ecommercetemplates.com/help/css-layouts.asp#productorder

and here for the detail pages layout - https://www.ecommercetemplates.com/help/css-layouts.asp#proddetailorder

However, your example detail page is referring to the 'out of stock' message on what is/was the buy button which really cannot be removed unless you remove the buy button.



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Vince
Administrator

42703 Posts

Posted - 10/28/2024 :  04:00:15  
I think there may be a bit of confusion about the parameters and I see what Phil is thinking, that this parameter is for adding the stock level to the page layout. But it's actually for not showing products that are out of stock and I think the problem here is that the stock for this product is set by the options and this parameter doesn't work in this case, only where the stock is set on the product itself.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

mxzrxp
New Member

USA
94 Posts

Posted - 10/28/2024 :  22:25:36  
Hi Vince,

glad you sort of understand it. :-)

I don't.

So, I will try again... how do I hide "out of stock" items from being displayed in my store. If there is 0 stock the item should not be displayed.

Actually, cannot even understand why it would show items with 0 stock especially if not allowed to backorder.

You help as always is greatly appreciated.

Vince
Administrator

42703 Posts

Posted - 10/29/2024 :  14:13:06  
Hi Michael
I'm afraid the answer is that if the product is out of stock because all the options are out of stock then you can't stop it displaying I'm afraid. It's just a limitation of the system. Products that don't have the stock set by the options can be hidden. Sorry about that.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000