About Displaying a product in a page sidebar, but not the shop page
-
Hello,
So just as a disclaimer, I didn’t add the requested info to this question because I’m just looking for general support, not reporting a bug or issue. Everything is working as advertised, just need to know if something is possible.
Ok, so I have a WooCommerce store setup on my website. In addition to having tangible products, I have one product created for donations, using the name your price and subscriptions extensions.
I don’t want the donation product to show up on the shop page, so I checked the “hidden” option in the catalog visibility section. However, I need to display the donation product in a sidebar on a few pages. I tried using the shortcode
[product id="1234"]
, but obviously not showing up because is set to hidden.So does anyone know of an attribute for the shortcode that will display a hidden product? Maybe something like
[product id="1234" show_hidden="true"]
? I couldn’t find in anything the WooCommerce docs.Or better yet, is there a way I can exclude one specific product from the shop page without setting that product to hidden in the catalog visibility section?
Thanks in advance!
- The topic ‘About Displaying a product in a page sidebar, but not the shop page’ is closed to new replies.