Skip Navigation

[Résolu] building a custom WooCommerce site – linking from Product page to Shop Page

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem: I have designed a custom WordPress Archive for the Product Archive (Shop Page), but I would like to use the same design for Product Category and Product Tag Archives.

Solution: Edit the WordPress Archive for the Product Archive (Shop Page). In the Block Editor, select the top-level WordPress Archive Block. Then in the Loop Selection configurations, select the two Product Taxonomy archives as well as the Product Archive (Shop Page) to reuse the Shop Page design on the two Product Taxonomy archives.

Relevant Documentation:
https://toolset.com/course-lesson/creating-a-custom-archive-page/

This support ticket is created Il y a 4 années et 3 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par boW-2 Il y a 4 années et 3 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1732497
Skærmbillede 2020-08-09 kl. 22.05.56.png
Skærmbillede 2020-08-09 kl. 22.05.47.png
Skærmbillede 2020-08-09 kl. 22.05.39.png
Skærmbillede 2020-08-09 kl. 22.00.24.png

Tell us what you are trying to do?
I am building a custom WooCommerce site (shop page + single product page).
I am using the toolset tutorial below

my custom shop page is working fine - and when I select a product I jump to the custom product page (just as expected). But when I click one of my tags (Custom Fields made with Toolset) I jump to another shop page listing all products with the tag (it might be WooCommerce standard shop page).

I expected my own custom shop page to be used ?!?!

Additionel information: I am using the Astra Theme (not pro version). The shop page jumped to seem to be the Astra shop page
(lien caché)

Is there any documentation that you are following?
https://toolset.com/learn/create-an-ecommerce-wordpress-site/designing-woocommerce-product-catalog/

#1732539
block-navigation.png

It sounds like you created a custom WordPress Archive to be displayed on the Shop Page and that is working well. It sounds like you also created some links to the Product Tag archives, and when you click these links you are redirected to a different archive design. If you would like to use the same design from the Shop Page on these Product Tag (and also Product Category) archive pages, you should edit the WordPress Archive assigned to the Shop Page and also assign it to the Product Tag archives and Product Category archives as well in the Loop Selection area. Toolset gives you the ability to use the same or different WordPress Archive designs for the main Shop Page and other product taxonomy archives (Product Tags and Product Categories), but until you specify the desired archive the default design will be applied everywhere. The location of this setting depends on whether you used the Block Editor or the classic editor to create this WordPress Archive.

If you used the Block Editor to design this WordPress Archive, select the top level WordPress Archive Block in the editor, or using the Block Navigation menu at the top of the page (see block-navigation.png for an example). Then you'll find a Loop Selection section in the configurations for this block on the right sidebar. This is where you should currently have selected the Products archive. Scroll down and check Product Tags and Product Categories as well to reuse this WordPress Archive on those archive pages.

If you used the classic Editor to design this WordPress Archive, then edit the Products WordPress Archive and you will check Product Tags and Product Categories in the Loop Selection section at the top of the editor page.

Let me know if you have additional questions about this.

#1733053

My issue is resolved now. Thank you!

Doing what was proposed (using the Block editor) resolved my problem directly.

/Bo