Archived topic
GeneratePress - Custom Woocommerce Category pages
3 replies · Started by Laura on January 21, 2023
Hi,
I've been looking to create a custom Woocommerce archive category for some selected products to improve SEO.
I've got the page hero and hooks working on the archive cat pages, but it's not exactly what I'm after as I'd like to replace the default shop loop.
Is there a way to use the Content Template element block with Woo pages as you can with posts/custom post types?
(Or, alternatively - could you recommend the best approach to add lazy loading of all the products, instead of displaying the woo-pagination?)
Thanks in advance,
Laura
Hi there,
the Content and Loop Templates in Block Elements only work on Theme Templates, as those have the required functions / hooks.
Plugin for Ajax Loading might be the simple option - look for the one called Load More Products for WooCommerce in the WP plugin repository.
But you can't use the GP load more / infinite scroll, as that is reliant on the blog / archive templates.
OK, we can work with that. Thanks for getting back to me.
I would say - if we could suggest an enhancement - being able to use the content / loop templates on Woo archive category page would be amazing.
Getting control of key landing pages that users are coming in on and being able to add featured items/extra SEO would be ideal.
Thanks
Laura
You're welcome = and feedback noted and well received.