Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    which theme are you using? Can you provide me a link so I can check it?

    For +/- quantity button we have planned this integration in the next update.

    Regards ??

    Thread Starter Riner Hast

    (@riner-hast)

    “Mystile” theme.

    I can only give you a link to the single product
    https://telegashop.ru/?p=4853

    In modal window it looks like this:
    https://i.gyazo.com/cabe2d8ee0a409a9aff29c3a3fe2846f.png

    But nothing happens when I press “Open me”.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,
    you need to write and modify some code to lets toggle shortcode function.
    First add this code to your functions.php file

    function custom_enqueue_shortcode_js (){
    		wp_enqueue_script('woo-shortcodes');
    }
    add_action( 'wp_footer', 'custom_enqueue_shortcode_js' );

    Then open shortcodes.js in mystile/functions/js and modify toggle shortcode js. You need to move original code into function custom_toggle, then call this on qv_loader_stop event. Something like this

    var custom_toggle= function() {
    		...js of toggle shortocde
    	};
    
    	custom_toggle();
    	$(document).on('qv_loader_stop', custom_toggle);

    Let me know, best regards ??

    AmandaEve

    (@amandaeve)

    I think I am having the same problem. But I don’t know how to implement what you are saying. Can you talk me through step-by-step?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce shortcode "Toggle content" doesn't work in modal window.’ is closed to new replies.