- This topic has 7 replies, 4 voices, and was last updated 1 year, 6 months ago by Leo.
June 28, 2019 at 6:54 am #943914Karen
I’m building a new website for a client that requires a product catalogue without a shopping cart function (as we cannot sell these products online). The product catalogue would be tied to product detail pages that gives consumers information on their products such as SKU, ingredients, product description etc. What would you recommend is the best way to do this? I don’t want to use woocommerce as we don’t need the shopping cart function. Thanks in advance!
KarenJune 28, 2019 at 7:33 am #943941DavidStaffCustomer Support
don’t have a lot of experience of catalog plugins. I would probably still recommend woocommerce and just remove the add to cart function and just leave out creating the woo pages aside from the shop.
The reason for this it will (probably) have all the fields that you need, whereas other plugins may require some legwork to set up the various content and posts.
To remove the add to cart just add these PHP snippets:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
If not then might be worth asking on our FB group.June 28, 2019 at 8:09 am #943980Karen
It also cannot have prices. How would I hide that?June 28, 2019 at 1:59 pm #944210TomLead DeveloperLead DeveloperJuly 3, 2019 at 11:04 am #948217Karen
Can you also provide a snippet to hide the shopping cart icon + link in the primary menu? Thanks!July 3, 2019 at 11:06 am #948223LeoStaffCustomer Support
You should be able to hide that in the customizer:
Let me know 🙂July 3, 2019 at 11:43 am #948255Karen
Yes, thank you!July 3, 2019 at 1:52 pm #948330
- You must be logged in to reply to this topic.