Archived topic
Do not show selectable free gift on shop page
3 replies · Started by Ree on June 14, 2022
Is it possible to use hooks to achieve this scenario?
Do not show selectable free gift on shop page (it will only show in cart).
Hi Ree,
Can you kindly share a link to where this “free gift” can be seen?
You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon. :)
there you go:
The product loop is handled by WooCommerce so it's not something GP can control.
You can try this CSS:
.woocommerce.post-type-archive-product .post-11422 {
display: none !important;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
You would need to check with WooCommerce' support team if you want to actually remove that specific product from the loop.
Hope this helps :)