Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

“Add to Cart” not showing
 
blairdods
Jr. Member
 
Total Posts:  6
Joined:  2008-03-18
 

Hi

My product pages are missing the ‘Add to Cart” buttons, although they are showing up fine in the category listings - in admin the inventory for each product is at least 10, so this is not the product. This is one of my product pages:

http://www.surfdvd.com.au/index.php/travel/a-brokedown-melody.html

Here is a category listing:

http://www.surfdvd.com.au/index.php/travel

Also, after I create a product it does not allow me to add more related products. I can do this fine when first creating product, but can’t when the product is already there.

Thanks
Blair

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tweakmag
Guru
 
Avatar
Total Posts:  307
Joined:  2007-08-31
London, UK
 

Please check that you have inventory status set to “in stock” as well

 
Magento Community Magento Community
Magento Community
Magento Community
 
blairdods
Jr. Member
 
Total Posts:  6
Joined:  2008-03-18
 

Yes, it is marked as ‘In Stock’ also

 
Magento Community Magento Community
Magento Community
Magento Community
 
blairdods
Jr. Member
 
Total Posts:  6
Joined:  2008-03-18
 

The ‘Availability’ or ‘price’ variables are also not showing. When I view the page source, it looks as though the code is in there that displays the information:

<form action="http://www.surfdvd.com.au/index.php/checkout/cart/add/uenc/aHR0cDovL3d3dy5zdXJmZHZkLmNvbS5hdS9pbmRleC5waHAvdHJhdmVsL2EtYnJva2Vkb3duLW1lbG9keS5odG1s/product/6/" method="post" id="product_addtocart_form">
<fieldset>
<input type="hidden" name="product" value="6"/>
<input type="hidden" name="related_product" id="related-products-field" value=""/>
</fieldset>

</form>

<script type="text/javascript\">
var productAddToCartForm = new VarienForm(’product_addtocart_form’);
productAddToCartForm.submit = function() {
if(this.validator.validate()) {
this.form.submit();
}
}.bind(productAddToCartForm);
</script>

Thanks
Blair

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top