Skip to content

addtocart

Auto Added by WPeMatico

Add custom option Programmatically in cart its not increasing quantity in cart

I am adding custom option programatically in below observer. <event name=”checkout_cart_product_add_after”> <observer name=”mymodule_checkout_cart_product_add_after” instance=”ExtendStripeSubscriptionObserverCheckoutCartProductAddAfterObserver” /> </event> and observer code in below file its not increasing quantity in same cart item , its showing separate products in cart. <?php namespace ExtendStripeSubscriptionObserver;… Read More »Add custom option Programmatically in cart its not increasing quantity in cart