Fix tooltip in shopify infinite options

In theme.liquid add the following after the </head> tag:

<!-- Infinite Options by ShopPad -->
     // Create "window.Shoppad.apps.infiniteoptions" object if it doesn't already exist
     "Shoppad.apps.infiniteoptions".split(".").reduce(function(o, x) { if (!o[x]) {o[x] ={};} return o[x] }, window);
     // Define beforeReady callback
     window.Shoppad.apps.infiniteoptions.beforeReady = function(subscribe) {
          subscribe('appLoad', function(event) {
               // Remove title attribute from spb-tooltip
               Shoppad.$( '.spb-tooltip' ).each(function() {
                    Shoppad.$( this ).removeAttr('title');
Posted in Uncategorized.

Leave a Reply

Your email address will not be published. Required fields are marked *