How we can set the subitem in the PDP page.

It’s possible to we can set the subitem in PDP page using setOption method.

syntax :setOption( cart_option_id, value ) 

var pdp = container.getComponent('PDP');
			var iteminfo = pdp.getItemInfo();

			pdp.setOption('custcol14', '4');

Leave a comment

Your email address will not be published. Required fields are marked *