When a product has subproducts (product variations) the 'Add to Cart' link/button is displayed twice - once with the variations and once with the parent product (outside the Variations box).

The attached patch resolves the issue for me, however I don't know if this is the proper way to resolve the issue (i.e. test for subproducts). Is the subproducts_get_variations method available even if the subproducts module is not enabled? Don't know.

I will be using subproducts so the attached patch "works for me."

Comments

brmassa’s picture

Project: e-Commerce » eC Live Subproducts
Version: 5.x-3.x-dev » 5.x-2.09
Component: product » Code
Assigned: Unassigned » brmassa
Status: Needs work » Fixed

Andrew,

Its a problem on the old Subproducts module. There is a more advanced module called EC Live Subproducts. this problem was fixed there.
Since EC Live Subproducts will be merged on the next Ecommerce version, you will get full support from it later.

regards,

massa

brmassa’s picture

Status: Fixed » Closed (fixed)