Trigger yith quick view
-
hi i try to trigger yith quick view button by this code
add_action("wp_footer", "trigger_click_wrapper"); function trigger_click_wrapper() { ?> <script type="text/javascript"> jQuery(document).ready(function() { jQuery(document).on('click', '.product-content' , function(e) { jQuery(this).find('.what to add here?').trigger('click'); }); }); </script> <?php }
I tried many classes without affect.
What class should i add for trigger your plugin?Thanks a lot
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trigger yith quick view’ is closed to new replies.