I am working in version

I have a problem with the add to cart button when I am not logged.

It does not appear in the category grid search but in the list view it does.

That happened with the single product view too.

I modified the file list.phtml from /app/design/frontend/royal/hijo/template/catalog/product

I remove the code but the problem still existing

if(Mage::getSingleton('customer/session')->isLoggedIn() && $total > 0)

1 Answer 1

if(Mage::getSingleton('customer/session')->isLoggedIn() && $total > 0)

If you removed the above code then It would be a cache issue. Flush the cache. If issue still arrives then truncate log_* tables from the database.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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