Discounts

Using EG Auto Add to Cart with Pre-Discount Product Prices

Updated 6 days ago

Introduction

EG Auto Add to Cart is a valuable tool for automating product additions to your customer's cart when the triggers of a rule are met. However, it's important to note that this feature operates based on pre-discount product prices. This document explains why EG Auto Add to Cart functions this way and provides a solution to make it work effectively with post-discount prices.

Understanding EG Auto Add to Cart

EG works by fetching the Shopify product details (JSON object) before the product is added to the cart. This means that it can only access and consider the original, pre-discounted price of a product. This limitation exists because automatic discounts are applied after a product is added to the cart, making it impossible for EG to predict the final, post-discount price.

Solution

Adjusting the Cart value Trigger to ensure that EG Auto Add to Cart works effectively with post-discount prices, you can adjust the value trigger.

Here's how you can do it:

  1. Determine the Pre-Discount Cart Value: Let's say you want to trigger the auto-add rule when the cart value reaches $100.

  2. Account for the Discount Percentage: If you are running a storewide discount of 50%, you need to account for this discount in your trigger value.

  3. Calculate the Adjusted Trigger Value: To calculate the adjusted trigger value, simply increase the original trigger value by 100% (or double it). In this case, set the trigger value to $200.

Explanation

When you set the trigger value to $200, EG Auto Add to Cart will activate and add the specified product to the cart when the pre-discount cart value reaches this amount. Because the 50% storewide discount is applied after the product is added, the post-discount cart value will be $100, which is what you initially wanted the rule to trigger at.

By using this approach, you can ensure that EG Auto Add to Cart functions effectively even when automatic discounts are applied to the cart.

In summary, EG Auto Add to Cart operates based on pre-discount product prices, and you can work around this limitation by adjusting the trigger value to account for the percentage off discount.

Previous

How To manually set up Buy X Get Y Automatic Discounts on Shopify

Next