React Native-Add to Cart
Call the customEvent method when user adds or removes a product. All of the cart content must be resent when the user adds or removes a product from their shopping cart:
var data = {"OM.pbid" : "Basket ID", "OM.pb" : "Product1 Code;Product2 Code", "OM.pu" : "Product1 Quantity;Product2 Quantity", "OM.ppr" : "Product1 Price*Product1 Quantity;Product2 Price*Product2 Quantity"}; api.customEvent("Cart", data);
Parent Page:Â React Native (Expo) Visilabs Implementation
Copyright 2020 Related Digital