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
Author « Topic »  

motorcycletunes@aol.com
Advanced Member

USA
360 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2017 :  12:07:24  
is there a way to make the option grey out when it is out of stock, and to show the number of stock for that option. It looks like I turned off the number feature years back and con't figure out how to show it again.

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 07/20/2017 :  12:17:50  
Hi Johnathan, grey out when out of stock is the default you may have set the color to match the background of the drop downs in the css look for div.outofstock and check there. I don't believe you can show the number of stock items for a option but I'll check on that and let you know.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Andy
ECT Moderator

95440 Posts

Posted - 07/20/2017 :  12:40:02  
Hi Jonathan

To grey out the out of stock options add this to the css file

option.oostock {
color : #A0A0A0;
}

To show the number in stock use

showinstock=TRUE

in includes.asp

Andy

Please feel free to review / rate our software

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 07/20/2017 :  13:43:35  
Hi Jonathan, you may also need to add the following to the layout parameters

Please note that if you are using the productpagelayout or detailpagelayout parameters then you need to include "instock" in the layout list.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

LadyM
ECT Moderator

1721 Posts

Posted - 02/12/2018 :  10:22:53  
Wordpress site: found this post in search.

I have this in the detail page layout - $GLOBALS['detailpagelayout']='navigation,productimage,productname,description,listprice,price,currency,options,instock,quantity,addtocart,emailfriend,reviews';

I have added this to includes: $GLOBALS['showinstock']=TRUE;

Using the Multi options. Does that make a difference?
What am I missing?

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 02/12/2018 :  11:11:26  
Hi LadyM, you can display stock for multi option layout check in your style sheet if the following class is set to display:none; if so remove that.

div.multioptiontext

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

LadyM
ECT Moderator

1721 Posts

Posted - 02/12/2018 :  13:11:26  
I did a site wide search for multioptiontext and looked at every instance. (Some style sheets not online included.) Nowhere is it set to none.

div.multioptiontext{
width:180px;
}

Where else could I look?

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 02/12/2018 :  13:20:05  
Hi did you check that $GLOBALS['showinstock']=TRUE; is not listed twice in the includes, I pm'ed you a link to show how it displays.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

LadyM
ECT Moderator

1721 Posts

Posted - 02/12/2018 :  15:44:53  
Bingo. Thank you.
  « 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