[Cerrado] Where do I change The Page Structure for Woo block Product Archive
This support ticket is created hace 3 años, 9 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
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? enlace oculto
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
El debate ‘[Cerrado] Where do I change The Page Structure for Woo block Product Archive’ está cerrado y no admite más respuestas.