Cart Drawer does not Automatically Update

In this article, you will learn about a PageFly page’s issue that the cart drawer (cart icon) does not automatically update when you add product(s) to your cart. It means that when customers click on the Add to Cart button, the cart drawer of your store’s theme stays static instead of automatically updating the products.

The reason for the issueClick to copy

Basically, PageFly works well with Shopify themes. However, with some themes, especially the cart mechanism working makes conflict with PageFly, therefore there is the cart drawer not updating automatically.

How to fix the problemClick to copy

To fix this problem, please follow these steps:

  • Go to Shopify Admin > Online Store > Themes.
  • In the Current theme > click Customize.
  • On the left sidebar, click App embeds.
  • Check the box next to PageFly Theme Helper.
  • Click Save.

cart drawer not update

This will fix the issue for 60% of Shopify themes. If the issue persists, please check the solutions below for your specific theme. If you do not find your theme listed, please contact our support team.

Please note that you need to know the original theme name in case you have changed it.

For more details, you can check this video tutorial below:

How to Fix the Problem When the PageFly Theme Helper Doesn’t WorkClick to copy

First of all, you need to access the theme files of Shopify Admin

Go to your Shopify Admin > Online Store > Themes > Edit code

Note that for each theme, the code to fix this issue is different. You can find the code for your theme in the list below.

cart drawer not update

Narrative themeClick to copy

With the Narrative theme, you just need to add the required code inside the theme.liquid file

Venue themeClick to copy

With the Venue theme, you just need to add the required code inside the theme.liquid file

Turbo themeClick to copy

  1. Go to app.js.liquid file and search refreshCart
  2. Add window.refreshCart like this video
  3. Search add.js in app.js.liquid file and copy the code below that like this video
  4. Add the above copied code inside window.__pagefly_helper_store code in theme.liquid file to make add to cart work like this video

Dawn – Origin – Taste – Craft – Refresh – Sense with theme popup notificationClick to copy

With Dawn Theme, please add this code to the theme.liquid file

Note: You have to change the “View my cart” text in the code accordingly to your store language.

Dawn – Origin – Taste – Craft – Refresh – Sense theme new version with cart drawerClick to copy

With the Dawn – cart drawer, please add this code to theme.liquid file

Blockshop themeClick to copy

With the Blockshop theme, you just need to add the required code inside the theme.liquid file

Boundless themeClick to copy

  1. Go to javascript files of theme and find ajaxCart
  2. Add window.ajaxCart after ajaxCart like var ajaxCart = window.ajaxCart
  3. Add this code in theme.liquid

Porto themeClick to copy

With Porto theme, please check this link  here for the solution

Cospora themeClick to copy

With Cospora theme, please check this link here for the solution

Flex themeClick to copy

With Flex  theme, please check this link here for the solution

Grid theme:Click to copy

With Grid theme, please check this link here for the solution

Galleria themeClick to copy

With Galleria theme, please check this link  here for the solution

Debutify theme and Palo Alto themeClick to copy

With Debutify theme, please follow these steps 

  1. Go to theme.js.liquid file and then search theme.ajaxCart, ajaxify, ajaxCart
  2. Check in live view with this keyword to see there is an load function or update function or not

Example: theme.ajaxCart.update() or ajaxCart.load()

If there is one of keywords above, add this code into theme.liquid file

Here is the tutorial link here

If you follow the guide above but it is not working and the cart drawer show blank

Please add this code 

Avone themeClick to copy

With Avone theme, please check this link here for the solution

Showtime themeClick to copy

With Showtime Theme, please check this link  here for the solution

Rebranding themeClick to copy

With Rebranding Theme, please add this code to the theme.liquid file

Envy themeClick to copy

With Envy Theme, please check this link here for the solution

Basel themeClick to copy

With Basel Theme, please check this link here for the solution

Ella themeClick to copy

With Ella  Theme, please check this link here for the solution

Lusion themeClick to copy

With Lusion Theme, please check this link here for the solution

Atlantic themeClick to copy

With Atlantic Theme, please add this code to the theme.liquid file

Motion themeClick to copy

With Motion Theme, please add this code to the theme.liquid file

Maker themeClick to copy

With Maker Theme, please add this code to the theme.liquid file

Debut themeClick to copy

With Debut Theme, please add this code to the theme.liquid file

NOTICE: When you added this code into theme and this does not work. You can open console.log() in live view and see there is any error for this. If you see this error “$ is not define…”

You should copy and paste this line into theme.liquid file

<script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js”></script>

Express themeClick to copy

With Express Theme, please add this code to the theme.liquid file

Impulse themeClick to copy

With Impulse Theme, please add this code to the theme.liquid file

If the code above not work, you can try add this code instead

Wokiee themeClick to copy

With Wokiee Theme, please add this code to the theme.liquid file

ABZ – IconClick to copy

With ABZ – Icon, please add this code to the theme.liquid file

Streamline themeClick to copy

With Streamline Theme, please add this code to the theme.liquid file

Bold-MovivatiorClick to copy

With Bold-Movivatior Theme, please add this code to the theme.liquid file

Brooklyn themeClick to copy

With Brooklyn theme, please check out this video for solution

If you follow the guide above but it is not working and the cart drawer show blank

Please add this code 

Lorenza themeClick to copy

With Lorenza theme – you need to make sure that the theme shouldn’t be minified 

Please check this video for solution

Kalles themeClick to copy

With Kalles theme please add this code to theme.liquid file

Prestige – Warehouse themeClick to copy

With Prestige or Warehouse theme, please add this code to the theme.liquid file 

If the code above not work, please add this code instead

EcomSolidClick to copy

With EcomSolid Theme, please add this code to the theme.liquid file

FocalClick to copy

With Focal Theme, please add this code to the theme.liquid file

Focal 8.10Click to copy

With Focal 8.10 Theme, please add this code to the theme.liquid file

RetinaClick to copy

Step 1: Update code on retina.js

Step 2: Use this code on theme.liquid

Slate themeClick to copy

Follow this video instruction for solution

Expanse themeClick to copy

Follow this video instruction for solution

Custom theme (minimog)Click to copy

Please add this code to the theme.liquid file.

MeroxIO custom themeClick to copy

Please follow this video for solution.

Showcase themeClick to copy

With Showcase Theme, please add this code to the theme.liquid file

Lorenza themeClick to copy

Please follow this video for solution.

MODULAR themeClick to copy

With MODULAR Theme, please add this code to the theme.liquid file

Electro – Zeexo themeClick to copy

Step 1: search and open bc.script.js.liquid in theme code

Step 2: search AT_AddCart and move it to window like this video : link

Step 3: please add this code to the theme.liquid file

Boost ThemeClick to copy

With Boost Theme, please add this code to the theme.liquid file

ReachClick to copy

With Reach Theme, please add this code to the theme.liquid file

District themeClick to copy

Please follow this video for  solution.

Vela themeClick to copy

Step 1: Move this function to window in ‘vela.js’ and added the code helper.

Step 2: Add this code to the theme.liquid file

Pipeline, Testament themeClick to copy

Step 1: Move cartUpdateCallback to window first.

Step 2: Add this code to the theme.liquid file

Shella themeClick to copy

Step 1: Please follow this video for solution.

Step 2: Add this code to theme.liquid file

Shella theme version 5.0.1Click to copy

With Shella Theme 5.0.1, please add this code to the theme.liquid file

Prestige theme – WarehouseClick to copy

With Prestige theme – Warehouse (for some version only), please add this code to the theme.liquid file

Lammer theme 4.0.0Click to copy

With Lammer theme 4.0.0, please add this code to the theme.liquid file

Warehouse 2.5.2 themeClick to copy

With Warehouse 2.5.2 theme, please add this code to the theme.liquid file

Turboant themeClick to copy

With Turboant theme, please add this code to the theme.liquid file

Broadcast themeClick to copy

With Broadcast theme, please add this code to the theme.liquid file

Be Yours 4.1.0 themeClick to copy

With Be Yours 4.1.0 theme, please add this code to the theme.liquid file

Solodrop-2.4.0 themeClick to copy

With Solodrop-2.4.0 theme, please add this code to the theme.liquid file

Pop version 3.0.4 themeClick to copy

With Pop version 3.0.4 theme, please add this code to the theme.liquid file

You can watch this video guide for more information.

Flow version 16.3.1 themeClick to copy

With Flow version 16.3.1 theme, please add this code to the theme.liquid file

You can watch this video guide for more information.

Required code in all themesClick to copy

For all themes, it’s required to have this same code.

If your theme is not listed above, please ask your Theme Provider to have their own theme code so they can update their code in the red box as the demonstration below:

This code also needs to be added to the theme.liquid file.

Navigate this category

Thank you for your feedback!

Could not find the answer
to your question?

Chat with us