Add to cart and checkout behaviour

Sign Customiser has three unique behaviours that can occur after a product has been added to the cart. 

Option 1: Straight to cart

Redirects user to the cart page

Option 2: Straight to checkout

Redirects customer to the checkout page

Option 3: Cart Window or custom integration

Use this when you want your mini-cart, slide out cart to open after the product has been added to cart. Most themes mini-carts and slide-out carts will work when this option is enabled.

If the mini-cart or slide-out cart does not show then you can create a javascript event listener for our custom event.

How to create a javascript event listener for our custom event

a custom javascript event called triggerUpdateCart will fire right after the product has successfully been added to the customers cart.

To provide your own integration with this custom event here is an example of how you might create your function.

document.addEventListener('DOMContentLoaded',function(){
  document.addEventListener('triggerUpdateCart', function(evt) {
     console.log(evt.detail)

    document.dispatchEvent(new CustomEvent('added:ajaxProduct', {
      detail: evt.detail
    }));
  });
});

How to change behavior after adding to cart

  1. Navigate to the Sign Customiser admin for your store.
  2. Click on "Customisers" in the home navigation
  3. Click on the customiser you wish to edit
  4. Click on "General Settings" in the left-hand side navigation
  5. Scroll down untill you see "Action after product is added to cart" and change to the option that you desire

  6. At the bottom of the form click Save.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.