Archived topic
is is possible to add a block element to the woocommerce shop page?
5 replies · Started by Pauline on June 22, 2021
Hi
I am experimenting with block elements - it is so versatile, and it's great that there is now a way to add design content to woocommerce product pages using just Generatepress tools.
I have looked hard, but can't find how to add an element to the woocommerce shop page (I would like to add a small page hero to this, like on the individual product pages). Is this possible?
Thanks.
Hi there,
yes, in the Block Elements Display Rules - set the Location to Product Archive.
Thanks David - that did the trick. I did not know what "Product Archive" was, but now I know :-)
Glad to be of help!
This drove me nuts for a couple of hours.
The problem was that for some reason, when the Shop page is also the Home page, the Display Rules won't stick as expected. "Product Archive" or selecting the actual page entry with the "Page" rule won't work. I tried numerous other rules as well.
After I switched to using "Home Page" as the rule, everything worked.
- JP
Yeah - any page or archive that is set to display on the Home Page becomes the front page of the site, and can be set as the Front Page in the Element Display Rules.
Glad to hear you found the solution