Skip Navigation

[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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Shane hace 3 años, 9 meses.

Asistido por: Shane.

Autor
Mensajes
#1962457

Tell us what you are trying to do?

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">

<div class="mg-top-s">

<div class="row" style="background-color:white;padding:20px;border-radius:20px;">
<div class="col-md-12">

<?php woocommerce_content(); ?>
</div>

</div>

</div>

</section>
<?php
get_footer();
?>

```

What is the link to your site?

enlace oculto

Its a test server if it times out its not the site its latency issues

#1962863

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi David,

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.