I'm working on a test draft for a simple eCommerce site, and it's important to remove the ability to open single product pages. In other words, we only want customers to see the listings of products at the Category level. From the category level, the customers should only be able to add to cart (with no possibility to open the product details page).
I've been researching this for a few hours, and the need for this is very common among WooCommerce merchants. There even seems to be a universally accepted solution (see here: https://businessbloomer.com/woocommerce-disable-link-to-product-loop/ ) however, it does not seem to work at all for me.
The easiest way i can think is to turn off the links manually using css. See screenshot : http://prntscr.com/nbdf0k .
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Hello great folks at Salient.
I'm working on a test draft for a simple eCommerce site, and it's important to remove the ability to open single product pages. In other words, we only want customers to see the listings of products at the Category level. From the category level, the customers should only be able to add to cart (with no possibility to open the product details page).
I've been researching this for a few hours, and the need for this is very common among WooCommerce merchants. There even seems to be a universally accepted solution (see here: https://businessbloomer.com/woocommerce-disable-link-to-product-loop/ ) however, it does not seem to work at all for me.
I also tried this approach, suggested to a Salient user with the same issue, but it does not seem to work either: https://stackoverflow.com/questions/46875324/unable-to-remove-single-product-pages-from-woocommerce
Are you able to help me disable the function of linking to specific product pages from the Category overview?
Hello there,
Thank you for writing in once again and apologies for the trouble.
Can you please give us a temporary admin access to your site? We'll be in a better place to spot anything suspicious from here.
You can add new users by going to Users > Add New set the user and password for us, set the role to admin and send the info here. You can navigate here for more details; https://make.wordpress.org/support/user-manual/customizing-wordpress/managing-users-on-your-wordpress-site/adding-users-to-your-wordpress-site/
Hope to hear from you soon!
Regards
Themenectar Support Team
Hey Again,
The easiest way i can think is to turn off the links manually using css. See screenshot : http://prntscr.com/nbdf0k .
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Thanks Tahir! It works. Exactly what I needed.
Abbas