QUOTE (rob1 @ Jun 24 2009, 08:51 PM)

Hi Agkits,
Thanks for the info. Any idea to why the text "quantity" does not dissapear with the box. I looked at the code and could not figure out why.
Thanks!
Rob
Note: this will not work on products with personalization questions.
The ns script within the product layout design calls for the quantity label, quantity box, and add to cart button. It looks like this.
CODE
<ns:ProductAddToCart />
You will need to add a style tag to tell the quantity box not to display. Add this code around the ns:productaddtocart script that calls for the add to cart function.
CODE
<style type="css"> input.textbox-center {display: none;} </style>
So, it should look like this now:
CODE
<style type="css"> input.textbox-center {display: none;} <ns:ProductAddToCart /></style>
Next we need to add back in the code that shows the add to cart button and gives it its functionality. Add this code into your product layout page where you want the add to cart button to display.
CODE
<div class="prod-detail-purchase" onkeypress="java script:return WebForm_FireDefaultButton(event, 'ctl00_pageContent_addToCart')">
<input type="image" name="ctl00$pageContent$addToCart" id="ctl00_pageContent_addToCart" class="prod-detail-add" src="/themes/default-1-1-1-1-1/images/buttons/cart_btn_add.gif" onclick="java script:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$pageContent$addToCart", "", true, "", "", false, false))" style="border-width:0px;" />
<span id="ctl00_pageContent_ctl65" style="color:Red;display:none;"><br />* Whole number only</span>
</div>
The source path of your add to cart button (cart_btn_add.gif) will vary depending on which site design is active.
Here is a link to see this in action on my test site.
http://browsermart.com/baconwatch.aspx