When the catalog module is enabled, and the cart module is disabled, you can set the catalog to grid view which adds add to cart buttons. Of course when you hit the add to cart, without the cart module you get fatal errors.

It seems the add to cart, and attribute selections should be conditional based on the cart module being enabled, just the same it is for the standard list view.

Actually on the list view, the add to cart button is not there, just as expected, but at admin/store/settings/products/edit/fields the add to cart field is enabled. It seems that should not be there unless the cart module is enabled.

CommentFileSizeAuthor
#1 grid_add_to_cart.patch702 bytesIsland Usurper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Island Usurper’s picture

Status: Active » Needs review
FileSize
702 bytes

I like one-line fixes.

Island Usurper’s picture

Status: Needs review » Fixed

Is fixed. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.