Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

How do we setup the woocommerce catalog mode instead of cart and checkout?

  • Hello – What settings do we use to run woocommerce as a catalog instead of having a cart and checkout, so visitors can’t buy anything. Thanks

  • Hi there,

    I’m not sure if Woocommerce has the option, but you should check with them.

  • Thanks for the reply Ying, I thought the generatepress pro might have that option to turn off the ecommerce section to use woocommerce just as a catalogue.

  • Hi there,

    Woocommrce sells extensions for doing most things including Catalog mode:

    https://woocommerce.com/posts/how-to-use-woocommerce-as-a-product-catalog/

    There are also some free plugins in the WordPress repository that do the same thing.

    For GP Premium only options you can disable a lot of the add to cart functionality from the Woocommerce module:

    https://docs.generatepress.com/article/woocommerce-overview/

    To remove the single product add to cart form you can use this PHP Snippet:

    
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
    

    Aside from that you would just need to remove checkout and cart pages from the site, to give you a basic catalog

  • Brilliant!
    Where do I put it?
    Thank you David 🙂

  • The PHP Snippet to to remove the add to cart:

    
    
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
    

    That can go in a child theme functions.php file or if you’re not using a child theme, use the Code Snippets plugin to add it.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.