Created
February 2, 2026 11:47
-
-
Save xlplugins/d6430e43a29af4e92ab72ac30609f221 to your computer and use it in GitHub Desktop.
Elesse theme conflict with fkcart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'wp_footer', function () { | |
| ?> | |
| <script> | |
| (function($) { | |
| $(document.body).on('fkcart_cart_quick_view_open', function() { | |
| setTimeout(function() { | |
| var $form = $('.fkcart-drawer-content .variations_form'); | |
| if ($form.length && typeof $.fn.nasa_attr_ux_variation_form === 'function') { | |
| $form.removeClass('nasa-attr-ux-form').addClass('nasa-attr-ux-form'); | |
| $form.nasa_attr_ux_variation_form(); | |
| if (typeof nasa_refresh_attrs === 'function') { | |
| nasa_refresh_attrs($, $form); | |
| } | |
| } | |
| }, 300); | |
| }); | |
| })(jQuery); | |
| </script> | |
| <?php | |
| }, 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment