LogoLogo
Back to PageFly.ioVideo Tutorials
English 🇺🇸
English 🇺🇸
  • PageFly Help Center
  • Getting Started
    • Overview
    • Quick start
      • How to Install PageFly
      • How To Use PageFly | Get started in 5 mins
      • How to Create a New Page from PageFly Templates
      • How can I access the PageFly LiveChat?
      • How PageFly work with your Shopify theme?
    • Pricing and billing
      • PageFly pricing plan
      • How PageFly billing work?
      • What happens if I uninstall PageFly?
      • PageFly refund policy
  • Pages & Sections Creation
    • Overview
    • General
      • Setting up PageFly Pages
      • What type of pages that PageFly support?
      • How to use PageFly pages and sections?
      • How to export and import PageFly pages and sections
    • Pages
      • How to create a Homepage with PageFly?
      • How to create a Product page with PageFly
      • How to create a Collection page with PageFly
      • How to create a Blog post page with PageFly
      • How to create a Password page with PageFly
      • How to create a FAQs page with PageFly?
      • How to create a Coming soon page with PageFly
      • How to create an About us page with PageFly
      • How to create a Contact Us page with PageFly
      • How to create a Landing Page with PageFly?
      • How to create A/B testing page with PageFly
    • Sections
      • How to use premade section and saved section to build page?
      • How to create a basic section with image and text
      • How to use parallax effect in a PageFly section?
      • How to create a full-width section in PageFly
      • How to make a sticky section without code in PageFly
  • Page Structure & Elements
    • Overview
    • Editor
      • User interface
        • How to work with PageFly editor?
        • How to work with PageFly on mobile?
        • Page Editor – Element Inspector
        • Page Editor - General Tab
        • Page Editor - Styling Tab
        • How to use Page outline to organize page layout?
        • How to make impressive mobile responsive page?
        • How to use autosave and version history ?
      • Extra Functions
        • How to manage custom option swatches for product variants?
        • How to use Global Styles to customize styles to use for all PageFly pages
        • How to use trash to manage deleted pages, sections, and media files?
        • How to Add Custom Font in PageFly
        • How to manage image and video in PageFly?
    • PageFly Elements
      • Universal Elements
      • Containers
        • Layout
        • Slideshow
        • Tabs
        • Accordion
        • Content List
      • Basic
        • Heading
        • Paragraph
        • Button
        • List
        • Icon
        • Divider
        • HTML/Liquid
      • Media
        • Image
        • Youtube video
        • Vimeo video
        • HTML video
        • Soundcloud
      • Social
        • Instagram feed
        • Facebook like & share
        • Facebook feed
        • Twitter feed
      • Advanced
        • QR code
        • Table
        • Countdown
        • Google map
        • Progress
        • Mailchimp form
    • Shopify elements
      • Custom Content
        • App blocks
      • Product
        • Product Variant Metafield
        • Product list
        • Product details
        • Product media
        • Product title
        • Product vendor
        • Product price
        • Product description
        • Product variant
        • Product quantity
        • Product Add to cart
        • Product view details
        • Product Metafield
        • Dynamic checkout button
      • Collection
        • Collection title
        • Collection image
        • Collection list
        • Collection view details
        • Collection details
        • Collection description
      • Form
        • Customer form
        • Customer form field
        • Customer form button
        • Contact form
        • Contact form field
        • Contact form button
        • Search form
      • Blog posts
        • Blog post list
        • Blog post details
        • Blog post image
        • Blog post title
        • Blog post content
        • Blog post meta
    • Optimization
      • How to use custom code editor to customize your page?
      • Page Analytics
      • How to speed up your Shopify store?
      • How to set up Facebook Pixel to understand the actions people take on website?
      • How to publish PageFly page to Shopify menu navigation?
      • How to use the Zakeke Product Customizer on PageFly pages?
      • How to use Langify to translate my page?
      • How to use Weglot to translate my pages?
      • How to use T Lab to translate PageFly’s page?
      • JSON Template with PageFly
      • How to Optimize Images with TinyIMG in the PageFly editor?
      • How to use Shoplift A/B Testing with PageFly?
      • How to use SEOAnt:AI SEO & Image Optimizer with PageFly?
      • Black Friday Sale Ideas
      • Optimize Pages for CRO with PageFly Elements
      • Optimize Sale On Valentines Day
      • How to set up Christmas Sale Page with PageFly | Best Guide in 2023
      • How to create a Flash sale section - Back to School
      • Optimize Your Store for Mother's Day: Create a Gift Guide with PageFly
    • Main Use Case
      • Align Elements on a Page
      • Direct to Links, Sections, Pop-ups
      • Edit Spacing, Margin and Padding
      • Flex Feature
      • Upload Files to Page
  • Integrations
    • Third-party Elements
      • How to activate integrated third party Shopify apps to use on your pages
      • What apps does PageFly integrate with?
      • Review & Rating
      • Upsell & Cross-sell
      • Badge & Seal
      • Appointment Booking
      • Delivery & Pickup
      • Subscriptions
      • Order Tracking
      • Upload Fields
      • Email Marketing
      • Product Information
      • Push Notifications
      • Referral & Affiliate Marketing
      • Image & Media
      • Loyalty & Rewards
      • Sustainability
      • Gifts
      • Internationalization
      • Advertising
      • Support
      • SMS Marketing
  • FAQ & Troubleshooting
    • Overview
    • FAQs
      • Issues with Shopify themes when using PageFly
      • How we comply with GDPR
      • The URL address of my page
      • PageFly Page editor - FAQs
      • Elements - FAQs
    • Troubleshooting
      • Live site issue
        • Cart Drawer does not Automatically Update
        • Responsive mobile horizontal scroll issue
        • YouTube, HTML Videos do not autoplay issue
        • Page not fully displayed in theme preview mode
        • Can't create locales file
        • Can't create theme.pagefly.liquid
        • How to hide Shopify's Default Product Details
        • PageFly Page List Won't Stop Loading
        • Remove the blank space on top of the page
        • Blog page not updated successfully
        • The page's style is broken
      • Error messages
        • PageFly Page List Won't Stop Loading
        • Page Size Limit
        • Limit elements on a page
        • Unable to import your data
        • Limit image size
        • Unknown error
  • Latest Update
    • PageFly is now compatible with Online Store 2.0
    • PageFly Referral Program
    • PageFly old pricing plan
  • PageFly Affiliate Program
    • Affiliate Success: Understanding what PageFly can do for Merchants
    • Affiliate Success: Dos & Don'ts - Everything to Know about Becoming a Successful PageFly Affiliate
    • Affiliate Success: Frequently Asked Questions
Powered by GitBook
LogoLogo

Product

  • Templates
  • Pricing
  • Happy Customer

Resource

  • Blog
  • Academy
  • Video Tutorials
  • Community
  • Feedback

Partners

  • Our Partners
  • Affiliate Program

Company

  • About Us
  • Careers
  • Privacy Policy
  • Terms of Service

Copyright © 2025 PageFly. All rights reserved.

On this page
  • Overview
  • How To Fix
  • How to Fix When The PageFly Theme Helper Doesn't Work
  • Tips And Best Practice

Was this helpful?

Edit on GitHub
  1. FAQ & Troubleshooting
  2. Troubleshooting
  3. Live site issue

Cart Drawer does not Automatically Update

Last updated 2 days ago

Was this helpful?

Overview

In this article, you will learn about a PageFly page’s issue that the 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.

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

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.

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 the video tutorial below:

How to Fix When The PageFly Theme Helper Doesn't Work

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.

Narrative Theme

Venue Theme

Turbo Theme

  1. Go to app.js.liquid file and search refreshCart

Dawn - Origin - Taste - Craft - Refresh - Sense With Theme Popup Notification

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 Drawer

Blockshop Theme

Boundless Theme

  1. Go to javascript files of theme and find ajaxCart

  2. Add window.ajaxCart after ajaxCart like var ajaxCart = window.ajaxCart

Porto Theme

Cospora Theme

Flex Theme

Grid Theme

Galleria Theme

Debutify & Palo Alto Theme

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 you follow the guide above but it is not working and the cart drawer show blank

Avone Theme

Showtime Theme

Rebranding Theme

Envy Theme

Basel Theme

Ella Theme

Lusion Theme

Atlantic Theme

Motion Theme

Maker Theme

Debut Theme

Note: 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

Express Theme

Impulse Theme

Wokiee Theme

ABZ - Icon

Streamline Theme

Bold-Movivatior

Brooklyn Theme

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

Lorenza Theme

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

Kalles Theme

Prestige - Warehouse Theme

EcomSolid

Focal

Focal 8.10

Retina

  • Step 1: Update code on retina.js

Slate Theme

Expanse Theme

Custom Theme (minimog)

MeroxIO Custom Theme

Showcase Theme

Lorenza Theme

MODULAR Theme

Electro - Zeexo Theme

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

Boost Theme

Reach

District Theme

Vela Theme

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

Pipeline, Testament Theme

  • Step 1: Move cartUpdateCallback to window first.

Shella Theme

Shella Theme Version 5.0.1

Prestige Theme - Warehouse

Lammer Theme 4.0.0

Warehouse 2.5.2 Theme

Turboant Theme

Broadcast Theme

Be Yours 4.1.0 Theme

Solodrop-2.4.0 Theme

Pop version 3.0.4 Theme

Flow version 16.3.1 Theme

Tips And Best Practice

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.

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

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

Add window.refreshCart like this

Search add.js in app.js.liquid file and copy the code below that like this

Add the above copied code inside window.__pagefly_helper_store code in theme.liquid file to make add to cart work like this

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

With the Dawn - cart drawer, please add to theme.liquid file

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

Add in theme.liquid

With Porto theme, please check this link for the solution

With Cospora theme, please check this link for the solution

With Flex theme, please check this link for the solution

With Grid theme, please check this link for the solution

With Galleria theme, please check this link for the solution

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

Here is the tutorial link

Please add

With Avone theme, please check this link for the solution

With Showtime Theme, please check this link for the solution

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

With Envy Theme, please check this link for the solution

With Basel Theme, please check this link for the solution

With Ella Theme, please check this link for the solution

With Lusion Theme, please check this link for the solution

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

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

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

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

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

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

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

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

With ABZ - Icon, please add to the theme.liquid file

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

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

With Brooklyn theme, please check out this for solution

Please add

Please check this for solution

With Kalles theme please add to theme.liquid file

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

If the code above not work, please code instead

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

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

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

Step 2: Use on theme.liquid

Follow instruction for solution

Follow instruction for solution

Please add to the theme.liquid file.

Please follow for solution.

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

Please follow for solution.

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

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

Step 3: please add to the theme.liquid file

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

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

Please follow for solution.

Step 2: Add to the theme.liquid file

Step 2: Add to the theme.liquid file

Step 1: Please follow for solution.

Step 2: Add to theme.liquid file

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

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

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

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

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

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

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

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

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

You can watch this for more information.

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

You can watch this for more information.

For all themes, it’s required to have.

the required code
the required code
video
video
video
this code
this code
the required code
this code
here
here
here
here
here
this code
here
this code
here
here
this code
here
here
here
here
this code
this code
this code
this code
this code
this code
this code
this code
this code
this code
this code
video
this code
video
this code
this code
add this
this code
this code
this code
this code
this video
this video
this code
this video
this code
this video
this code
link
this code
this code
this code
this video
this code
this code
this video
this code
this code
this code
this code
this code
this code
this code
this code
this code
this code
video guide
this code
video guide
this same code
cart drawer (cart icon) does not automatically update