The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 04-07-2011, 06:33 AM
knblawson's Avatar
knblawson is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Default

Hide Quantity Availible


I thought I have seen this on here before, but I am unable to find the thread. I want to remove my quantity availible from each product after a customer clicks into the product. I saw a post from Amy Do titled "Remove Quantity Available" which said to add

div.ecwid-productBrowser-details-qtyAvailInfo {
display:none;
}

but when I did, it is still showing my quantity. I just impelmented the product variations so I am not sure if there is some new custom CSS for this now. Please help
  #2  
Old 04-07-2011, 03:43 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

I have inspected your setup. You have a couple of lines in your CSS theme, these are:

Code:
/****************************
/**Added by Brad*************
They start a CSS comment block that closes a few lines later. Your div.ecwid-productBrowser-details-qtyAvailInfo rule is inside that comment along with a few other ones, hence it is not evaluated by browsers. You need to delete those 2 lines from your them in order to make your rules work.

Last edited by Eugene Rimmer; 04-07-2011 at 08:07 PM.
  #3  
Old 04-07-2011, 04:39 PM
knblawson's Avatar
knblawson knblawson is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Default

I added a closing */ to each line and that worked. thanks for looking into this for me. I knew it was going to be something easy.
  #4  
Old 04-07-2011, 04:58 PM
Mr. Right Signs's Avatar
Mr. Right Signs Mr. Right Signs is offline
 
Join Date: Apr 2011
Posts: 6
Default

i having the same problem but i dont see those two lines

Quote:
Originally Posted by Eugene Rimmer View Post
I have inspected your setup. You have a couple of lines in your CSS theme, these are:

Code:
/****************************
/**Added by Brad*************
They start a CSS comment block that closes a few lines later. Your div.ecwid-productBrowser-details-qtyAvailInfo rule is inside that comment along with a few other ones, hence it is not evaluated browsers. You need to delete those 2 lines from your them in order to make your rules work.
  #5  
Old 04-07-2011, 05:05 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

Quote:
Originally Posted by ALAIN HILARIO1 View Post
i having the same problem but i dont see those two lines
In your store there is currently only 1 product (SKU 00000) that is unlimited on stock. It wouldn't show the quantity in stock even if you don't change your CSS theme, nor it does now. Moreover, the CSS rule to hide the quantity in stock is in action and you don't have any syntax problems with your CSS theme.

I think, you are trying to do something else. Can you please describe what exactly you are trying to do? A screenshot would be a great help.
  #6  
Old 04-07-2011, 09:25 PM
Mr. Right Signs's Avatar
Mr. Right Signs Mr. Right Signs is offline
 
Join Date: Apr 2011
Posts: 6
Default

Thanks for your fast response Eugene,
what i need is to remove qty field box(the one you enter the # of units you need for that specific product) look at the screen shoot for reference

Quote:
Originally Posted by Eugene Rimmer View Post
In your store there is currently only 1 product (SKU 00000) that is unlimited on stock. It wouldn't show the quantity in stock even if you don't change your CSS theme, nor it does now. Moreover, the CSS rule to hide the quantity in stock is in action and you don't have any syntax problems with your CSS theme.

I think, you are trying to do something else. Can you please describe what exactly you are trying to do? A screenshot would be a great help.
Attached Thumbnails
Click image for larger version

Name:	Picture 161.png
Views:	153
Size:	6.3 KB
ID:	682  
  #7  
Old 04-07-2011, 11:33 PM
knblawson's Avatar
knblawson knblawson is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Default

I think what you are looking for is this. I found it and it removed the qty box, but that was not what I was looking for.

div.ecwid-productBrowser-details-qtyPanel{
display: none;
}
  #8  
Old 04-08-2011, 04:43 AM
Mr. Right Signs's Avatar
Mr. Right Signs Mr. Right Signs is offline
 
Join Date: Apr 2011
Posts: 6
Default

Yes Thats exactly what i was looking for thanks kn.

Quote:
Originally Posted by knblawson View Post
I think what you are looking for is this. I found it and it removed the qty box, but that was not what I was looking for.

div.ecwid-productBrowser-details-qtyPanel{
display: none;
}
  #9  
Old 08-01-2012, 06:58 PM
heriz's Avatar
heriz heriz is offline
Junior Member
 
Join Date: Jul 2012
Posts: 4
Default

Hi,

I do all on the instructions but it does not work, please look

http://kovry.ecwid.com/simple-store#...oduct=13819156

thanks
  #10  
Old 08-02-2012, 08:49 AM
Maya's Avatar
Maya Maya is offline
Ecwid Team
 
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876
Default

Quote:
Originally Posted by heriz View Post
Hi,

I do all on the instructions but it does not work, please look

http://kovry.ecwid.com/simple-store#...oduct=13819156

thanks
In order to hide "qty" field on product details page you should add following code in the end of your custom CSS theme:
Code:
.ecwid-productBrowser-details-qtyPanel {
  display: none;
}
Don't forget to save changes.
__________________
Maya N., Ecwid Team

------------------
Welcome to our new Help Center!
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
quantity, storefront configuration

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.