The Ubercart Product Context module modifies various pages of Ubercart depending on context of the displayed product. For example, it selectively removes the "add to cart" button and/or "buy it now" buttons and/or replaces it/them with a message based on whether a product is either (a) previously purchased, or (b) already in the cart. The choice is made for each product type.
It can be desirable to let a customer know that they previously bought a product, if, for example, they're looking for something they bought once before.
It can also be desirable to remove the "add to cart" button if a person never needs to buy more than one of something, for example, a file download product that offers unlimited downloads.
The module also supports a hook whereby other modules can further alter the product context. See uc_product_context.api.php for details.
- Log in to post comments