Woocommerce - Archive Page formatting help

Hi there,

I’m building a site, and I would like to create a custom

archive-product and single-product page for it, which looks roughly like this:

So to achieve this, I need to have a table under the archive-product / entry-featured image.

Right now, this is where I am:

What is the easiest way to get something under here? I tried some hooks but so far none of them worked.

I found this: https://stackoverflow.com/questions/46202071/woocommerce-product-thumbnails-hook-now-depreciated-what-would-be-a-work-around

But I think this only works for the single-product page.

Any help is appreciated!

Hi @Pbalazs89,

Thank you for reaching out to us, You probably can achieve this with hooks and filters, for example for the archive product page you can use a hook like woocommerce_archive_description to add your content to the page similarly you can use woocommerce_before_main_content for a single page which also works for archive-product page.

For a complete list of actions and filters please visit https://docs.woocommerce.com/wc-apidocs/hook-docs.html and to use them in WordPress, please see https://codex.wordpress.org/Plugin_API

Hope this helps!

Thanks for the help!

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.