Articles on: Issues

My "sticky" add-to-cart button doesn't appear with WideBundle!

Wide Hello!


In this article we'll see why your sticky add-to-cart button doesn't appear with WideBundle and how to fix it.


Before you start


Make sure your sticky is working without WideBundle. Because if it doesn't work even without WideBundle then it will be impossible to do anything.


  1. Go to the WideBundle application
  2. Disable WideBundle



  1. Go back to your page where the "sticky" is supposed to appear


If it doesn't appear even without WideBundle then the problem is not WideBundle


Fix the problem


If the sticky works fine without WideBundle but doesn't appear with WideBundle, there is an incompatibility problem with the theme.


And here is how you can normally fix the problem (it will only work if the sticky works fine without WideBundle):


  1. Copy all the following code:


<script>window.addEventListener('load', function () {countCheckEveryCustomVar = 0;var countCheckEveryCustom = setInterval(function() {if(typeof form !== 'undefined' && form != null){widebundle = document. querySelector('#new-form'); if(widebundle != null{showAndReduceForm();clearInterval(countCheckEveryCustom);}}countCheckEveryCustomVar++;if(countCheckEveryCustomVar >= 30){clearInterval(countCheckEveryCustom);},300);})</script>


  1. Go to your theme to "Edit Code"



  1. Open the file "Layout > theme.liquid" !



  1. Scroll to the very bottom and look for the "" tag.



  1. Paste the code right above this tag



  1. Save


Normally this script will fix the incompatibility problem!

Updated on: 16/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!