Bottle and Can Deposit/CRV: Auto-Add Product to Cart (Matching QTY)

Use this Discount Rule for Bottle and Can Deposits (CRV). The auto-add product will match the quantity of the main product added to the cart.

Step 1: Create a Virtual product for your Deposit or CRV.

The auto-add Deposit or CRV should be a virtual product so that it is not subject to shipping. It does not need to be visible in your store (1. Not Visible Individually), nor does it need to be assigned a category or have inventory tracked.

Step 2: Create Product Attributes

In Products > Attributes, you will need to set up two custom attributes used for this auto-add product rule. These attributes will be added to any product that needs an automatically-added sku, when added to the cart.

Attribute 1: Create a Text type attribute called Auto Add Deposit SKUor a similar name. Check the box next to **Can Be Used for Building Promotions > Discount Rules and Sales**.

Attribute 2: Create a Yes/No type attribute called Add Can Depositor a similar name. Check the box next to **Can Be Used for Building Promotions > Discount Rules and Sales**.

Step 3: Add Custom Attributes to Products

In Products > Product Edit > Custom Attributes > Add Attribute

  1. Select the Auto Add Deposit SKU attribute and enter the SKU of the Deposit/CRV product as the value. *SKU is case sensitive.
  2. Add another attribute, select the Add Can Deposit attribute, and set it to Yes as the value.

Optional Step: Add a Customization to Products

Create a Customization, Text Type, to add details on the Order. It is used to add a message to the automatically added item which can indicate which product triggered it to be added.

Title can be something like "Deposit Details", Type = Text, and How to Charge = Per Item.



Step 4: Create the Auto-Add Product Rule

In Promotions > Discount Rules > Create a Discount Rule, enter the Coupon Name (CRV or Can Deposit for example), set Status to Active, and Select All Customer Groups.

Go to the Actions tab

  1. Apply, select Automatically Add Product To cart (Matching Qty).
  2. Matching Attribute for SKU, select the attribute you created to Auto Add Deposit SKU.
  3. Customization Title (OPTIONAL): If you created a Customization on your products, enter the Customization Title here: Deposit Details.
  4. Customization Message(OPTIONAL): If you created a Customization on your products, enter the message to print on the line of the Automatically added products. `This deposit is linked to the QTY for SKU: {{sku}} || Name: {{name}}
  5. Apply the rule only to cart items matching the following conditions (leave blank for all items) > If ALL of these conditions are TRUE : Add Can Deposit is (singular) Yes