Add to Cart button in Facets View or Product List Page (PLP) instantly adds the Item to the cart without having to view the Product Details Page (PDP). This functionality is not applicable to Matrix Items.
Matrix Items have Item Options and it is imperative to select a specific option first before having. However, there is a scenario wherein the Add to Cart button shows up, which leads to an Error: ” Sorry, there is a problem with this item and can not be purchased at this time. Please check back later.”
SuiteCommerce has a feature wherein it detects whether an Item is a Matrix Item so that it will hide the Add to Cart button by checking if the item has Item Options in its search field set.
Solution
- Navigate to Commerce > Website > Website List
- Click Edit on desired Web Site
- Click Field Sets tab
- Look for search line item and click Edit
- Add Item Options (itemoptions_detail)
- Click Save in pop up
- Click OK in Field Sets Line item
- Click Save in the Web Site record