Bug in Checkout button on Cart side drawer, Impluse theme

Can a senior dev guide me regarding a bug I am facing on my shopify store.

Issue - After Adding a product in the cart, clicking checkout button on the Cart drawer is not redirecting to the Checkout page.
Diagnosis - I have Impulse theme installed on my store. When the page is refreshed or the quantity is changed, then checkout button is functional. We have only 2 products - regular and a discounted one with the option of one time purchase and subscription on both the products. I tried to check if the issue is limited to any specific product type or buy option or mobile/desktop. But it is random at the moment. I checked by disabling the apps in the theme settings to check if this is being done by some script from any app. But even by disabling all the apps , the issue was still there.
Current active apps -

  1. Prive - We currently have an app called Prive for managing subscriptions.
  2. Judge Me - App for managing reviews.
  3. Klaviyo - For tracking and email marketing.
  4. SEOAnt Core - Not sure what it does.
    Dynamic checkout Payment is being done by ShopPay. I commented the code which displays the dynamic checkout button on product page as we didn’t want to display that option there. There is also different tracking scripts in the theme.liquid file. I saw some CORS errors occurring due to these in the console. I tried commenting it but it didn’t resolve the issue.
    Previously installed apps -
  5. Bundler - We previously installed and removed a bundler app which managed product bundles( For example- buy 2 or 3 at discounted price). We removed it as it was not solving any purpose.

Currently I cant figure out which script is blocking the checkout button click. Is there some missing form validation / or missing product info which is causing this. I tried checking the unminified version of cart/checkout functionality in the theme.js file but its a big file and there is no error logging.
Could someone provide a way to solve this issue.

@Pranay_Mangal

Welcome. This community is dedicated to Shopify Partners that provide apps, not for end support for themes/apps themselves.

That said, I advise you open your browser’s Console before clicking the Checkout button in your store.

There might be a clue to the origin of the issue, if there’s an error happening when you click checkout, it might appear in the console and you may be able to track it to a specific app or theme customization.

Here’s more specifics about opening the console in Chrome: Console overview  |  Chrome DevTools  |  Chrome for Developers

1 Like