Plugin Support
Rafik
(@rafikwp)
Hello,
You can only select up-sells products and leave as it is in cross-sells.
“And remove the ability to display related products?”
>>I am not getting this point can you please elaborate more.
Thanks
In your plugin, on the page of each product, related products and up-sells are shown by default. I need to show only up-sells that I manually add on the product editing page.
Thanks!
Plugin Support
Rafik
(@rafikwp)
Hello,
Sorry for the inconvenience because this functionality not available as you need.
but you can customize the plugin, follow this
Go to /woo-slick-related-product-slider/includes/wpwrps-functions.php
Edit this file and go to line no 75 and add this line $link_product = $upsells; exact above this line
// Category Tax Query Parameter
Now find this code and remove it or comment this code
`if(!empty($woo_cat_id) && empty($link_product)) {
$args[‘tax_query’] = array(
array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘id’,
‘terms’ => $woo_cat_id,
));
} `
-
This reply was modified 7 years ago by
Rafik.
-
This reply was modified 7 years ago by
Rafik.
Did as you said. Nothing has changed. Up-sells products are shown, but all related products are also shown, even if I didn’t add them manually.
Here’s the file itself: https://drive.google.com/file/d/153tOKPDOMtEO3GUlp-9-rHdvekYS0jR/view
Plugin Support
Rafik
(@rafikwp)
Hello,
Please find our site and join live chat our technical team will help you.
Thanks
Your chat is not responding. Tell me, did I edit the file correctly?