We are Underground support

Send customers to the cart when clicking Add to Cart

Last Updated: Apr 12, 2017 09:07AM EDT

Looking to access your theme's code or language options with Shopify's new theme editor layout?

In your Shopify admin click on Online store > Themes
Next to the theme that you want to edit click on the Menu button which is a small square with 3 blue dots
This will open a submenu of options which includes: Edit HTMl / CSS and Edit Language

The Testament theme features an Ajax Add to cart but stay on the same page setup.
This is to encourage shoppers to continue shopping within the store without ushering them directly to the cart & checkout where the temptation would be to finish their shopping session on your store.

For some customers that would prefer for the customer to be sent directly to the cart when adding a product this is very simple and requires an easy code alteration.
  1. Click on Themes > Customize theme > Menu > edit code

  2. On the next page choose the Assets folder and click on: theme.js.liquid

  3. On a Mac press CMD + F  on a PC press CTRL + F to run a search within the code.
    Search for: 

      // Add to cart from anywhere
    you will see the following code:

    // Add to cart from anywhere
    $('.add').on('click', addToCart );

  4. Delete this and click Save
    Customers will now go directly to the cart when clicking the Add to Cart button

Get help

Note We can not offer individual theme modifications, however are happy to advise on the best Shopify resources and finding developers to work on your theme.
Want to customize your theme?
Have questions not covered in our docs?
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found