How to add automatic discounts to the Magic Cart

You can set up your Magic Cart links so that a discount is automatically applied at the checkout.


HubSpot Video


How to Setup

To do this, you will need to add the below parameter to the end of Magic Cart link you’d like the discount applied to:

 {{ event.bp_magic_cart_link }}&discount=XXXX



Screenshot 2022-08-04 at 09.37.59


Screenshot 2022-08-04 at 09.37.12



Note: You must set up the discount code in your Shopify store before updating your Magic Cart links.

Customers will receive a notification in Magic Cart letting them know that the discount code will be applied at the checkout:


Screenshot 2022-08-04 at 08.53.46

Note: Unfortunately, due to the way Shopify works, it's not possible to deduct the discount amount from the subtotal shown on the first Magic Cart page - it can only be deducted on the next Checkout page. 

When the customer clicks on ‘Checkout now’ button, the discount will then be applied:


Screenshot 2022-08-04 at 08.54.33

If the discount applied is invalid or expired, it will show the below error on the checkout page:

Screenshot 2022-08-04 at 08.55.05

Customers can manually re-enter a valid discount code on this screen if they have one and this will be applied successfully.