2

Hello I'm new with the magento.

I'm working with the 1.9.2.4 version and when I'm not logged the button add to cart doesn't appear.

I tried to look in

app/design/frontend/your-theme-package/theme-variant/catalog/product/view/addtocart.phtml 

but there's nothing like

(Mage::getSingleton('customer/session')->isLoggedIn()):
  • it seems you are mixing magento 1 and magento 2. – temper Dec 3 '19 at 9:18
  • in which version of Magento you are working? – temper Dec 3 '19 at 9:18
  • Versión de Magento 1.9.2.4 – Marina Cordoba Poveda Dec 3 '19 at 9:35
1

You should not look in this template

app/design/frontend/your-theme-package/theme-variant/catalog/product/view/addtocart.phtml

but check this template

app/design/frontend/your-theme-package/theme-variant/catalog/product/list.phtml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.