Woocommerce Products Slider Compatibility with Quick View Plugins

0
Woocommerce Products Slider Compatibility with Quick View Plugins 1
Jade Taylor
Jun 15, 2017 12:53 PM 1 Answers General
Member Since Jun 2017
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

Just wondering if the Woocommerce Products Slider is Compatible with Quick View Plugins or more so YITH woocommerce quick view plugin?

Regards

Jade

2 Subscribers
Woocommerce Products Slider Compatibility with Quick View Plugins 1
Woocommerce Products Slider Compatibility with Quick View Plugins 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Woocommerce Products Slider Compatibility with Quick View Plugins 4
PickPlugins
Jun 15, 2017
Flag(0)

Welcome to our forum.

Sorry there is not integratin with YITH woocommerce quick view plugin, but you can solve with filter hook provided by our plugin, please see the filter hook here

https://pickplugins.com/documentation/woocommerce-products-slider/action-hooks/wcps_layout_element_id/

and here is the code you need to add your theme functions.php file , this will display quick view link just under product title, if you want to display other items please see other filter hook.

 

function wcps_grid_items_YITH_quick_view($html){

  $product_id = get_the_id();

  return $html.do_shortcode('[yith_quick_view product_id="'.$product_id.'"]');

}

add_filter('wcps_filter_title','wcps_grid_items_YITH_quick_view');

 

Regards

 

Sign in to Reply
Replying as Submit