I'm looking for help on scRemove and the incrementor slot in the s.products variable.
I'm aware that due to Adobe's setup, an scAdd and/or scRemove event fire will apply to all applicable products in the cart. But I'm stuck on the implementation.
Am I to create two separate event incrementors: one for scAdd and one for scRemove? If so, when would these fire?
Conceptually it all makes sense but, again, I'm having a hard time understanding how implementation would work and I need to know it well enough to communicate with our developers.
Hi jaronb96343475 ,
If you want to pass scAdd and scRemove for the s.product variable, you need to implement the same as below.
s.events="scAdd" when the product is added to cart.
s.events="scRemove" when the product is removed from the cart.
Kindly let me know incase you have any further queries.
scAdd and scRemove are the standard events, you don't need to create these events explicitly.
What about the event incrementors? Am I to create one for the scAdd action and one for the scRemove action?