We have a shopify site with recharge subscription, Products have variants: Buy 1, Buy 2, Buy 3 get 1 Free, Buy 5 get 2 Free There is an additional discount when adding as subscription. We need the quantity of the items to be reflected in the cart Buy 1 = 1 Buy 2 = 2 B3G1F = 4 B5G2F = 7 So that item and quantity can be passed to ERP system with Ordoro Below are the steps recommended by recharge to make this function: Shopify Checkout integration Add an item to the cart from outside of the product page with Ajax by specifying the variant_id, quantity, and selling_plan. Step 1 - Add a listener 1. Add a listener to the Add to cart link button. 2. Within the listener, call the addItemToCart function, and specify parameters for: • variant_id • quantity • selling_plan Note: It...
Keyword: PHP
Delivery Time: 6 days left days
Price: $444.0
HTML JavaScript PHP Shopify Website Design