- This topic has 7 replies, 4 voices, and was last updated 1 year, 6 months ago by
Leo.
-
AuthorPosts
-
June 28, 2019 at 6:54 am #943914
Karen
Hi everyone,
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!
Karen
June 28, 2019 at 7:33 am #943941David
StaffCustomer SupportHi there,
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 );
https://docs.generatepress.com/article/adding-php/
If not then might be worth asking on our FB group.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/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 #944210Tom
Lead DeveloperLead DeveloperTry this:
add_filter( 'woocommerce_get_price_html', '__return_empty_string' );
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 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 #948223Leo
StaffCustomer SupportYou should be able to hide that in the customizer:
https://docs.generatepress.com/article/woocommerce-overview/#generalLet me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 3, 2019 at 11:43 am #948255Karen
Yes, thank you!
July 3, 2019 at 1:52 pm #948330Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.