cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mandatory Add to Cart for Kit Product when Base Product is added to Cart

Former Member
0 Likes
312

We are using Product Reference to maintain relationship between Source & Target Product like below:

insert_update ProductReference;active[default=true];description;preselected[default=false];quantity[default=1];referenceType(code,itemtype(code))[unique=true, default='KITS'];source($catalogVersion,code)[unique=true,forceWrite=true,allownull=true];target($catalogVersion,code)[unique=true,allownull=true]

;;DESC;false;1;KITS:ProductReferenceTypeEnum;"BASE_PRD";"KIT_1"; ;;DESC;false;1;KITS:ProductReferenceTypeEnum;"BASE_PRD";"KIT_2";

BASE_PRD = Source and KIT_1 & KIT_2 = Target

Now can have to add kits to cs mandatory when source product is added to cart. Do we have any OOTB implementation? or What is the best approach to achieve it?

Accepted Solutions (0)

Answers (2)

Answers (2)

VinayKumarS
Active Contributor
0 Likes

We do not have any oob requirement. I am not really sure the advantage of preselected field here. I thought preselected will select the reference product. U might write an interceptor to add this. It's a custom implementation

Former Member
0 Likes

We had also the same requirement!! Is there any one can reply to that Question please.