Im just trying to setup a Product archive page for Woo-commerce using The WooCommerce Block addon, And I get the whole You can change anything you want with toolset on the archive editor
But where do you actually edit the page structure on the back end, As I want to add some blocks, Some extra elements and then load the Archive into the middle of that?
E.G In WooCommerce U can create a WooCommerce.php Edit the structure and call the Hook
Is there any documentation that you are following? hidden link
Is there a similar example that we can see?
something like the following:
```
<?php
get_header();
?>
<section class="about container">
When you say edit the page structure are you referring to the PHP template itself ?
I'm not 100% sure why you would want to edit the template manually when you are able to add the same items to the page using our Archive editor. The archive editor essentially replaces the entire area between the header and footer.
However if you are looking to edit the archive template, it can be found in our Woocommerce Blocks plugin, go to Plugins -> Plugin Editor then select Toolset Woocommerce Blocks, from there just navigate to Templates and you should see the Archive-Product.php template file.
This is the one that you need to edit as it is already setup to work with the custom archives made in Woocoomerce Blocks. However you should know that if you update the Woocommerce Blocks plugin any changes made here would be lost.
Perhaps if I know which hooks you are trying to call in the template I can suggest an alternative for you as I do not recommend editing the template file directly.
Thanks,
Shane
The topic ‘[Closed] Where do I change The Page Structure for Woo block Product Archive’ is closed to new replies.