Home › Forums › WoodMart support forum › LAYOUT CONDITIONS
LAYOUT CONDITIONS
- This topic has 3 replies, 2 voices, and was last updated 2 years ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 6, 2023 at 6:44 pm #457922
supergapParticipantHi,
I was convinced I was confident with Woodmart Layout …
But then I’m wondering how Condition work.
I try to find some documentation /could you provide a link please) but I just find this post: https://xtemos.com/forums/topic/layouts-conditions-failed/I suppose Conditions enable/disable some dynamic content in the layout page.
But I can’t understand how, and how it works.
Tryng to understand: I can choose INCLUDE if I want the page to show items belonging to some Product categories (but no fields to choose beteween – point 1 in the screenshot), Product tags, Product attribute, Child Product categories. And here the first question: if I choose INCLUDE it means I will get in the page only INCLUDED items? And If I choose EXCLUDE I get alls except for excluded?It’s not also clear to me how I can choose at the same time INCLUDE Categories and EXCLUDE Category (point 2 in the screenshot)
Another Voice I can’t understand is ‘INCLUDE All Product Archives (point 3) ? What is for?
I’m sure these condition feature is great, powerful, and useful, but I really need to learn about How to use
Thanks very much.
Attachments:
You must be logged in to view attached files.April 7, 2023 at 10:31 am #458073
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the inconvenience caused.
The Conditions under the Layout are used to apply Layouts to certain Pages, Categories or Tags.
The INCLUDE in that means that the Layout will be applied to those Pages that you will under the INCLUDE option whereas, EXCLUDE means that the Pages that you will select under that, on those the Layout will not be applied.
Now, All product archives means that the Layout will be applied to all Archive pages, including Shop & all Category and Tags pages too.
If you select Product term there > then you can specifically define a Category, Tag or Attribute on which you specifically want to apply the Layout created.
So, the names of the Pages appearing under the dropdown on the Edit Conditions area are the ones to which you can apply your Layout to because as you know the default Layout of those WooCommerce archive pages aren’t editable which this Custom Layout is used to override their Pages style.
Here is the guide to the Theme’s Layout Builder, please check that:
https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/Hope this helps !
Best Regards.
April 7, 2023 at 6:01 pm #458207
supergapParticipantHi,
it’s almost clear now. Many thanks.
Now I understand that I can use it to define pages for Shop page, Category pages and so on.Now, I’m using a plugin ‘WooCommerce Wholesale Pro’ that is the only one that fits my needs for wholesale section of the site.
As any other wholesale plugin it creates its own Shop Page (named Wholesale store -attached picture green arrow). Since Retailers and Wholesalers are different kind of costumer I decided to have 2 different layouts for the two sop pages (normal and wholesale). So I thought that that new Taxonomy (page Wholesale Store) should appear in include pages, like main Shop. in the layout panel. But I can’t find it in the layout conditions panel to include.So, since I have already created a Layout for ‘normal Shop’ (main Woocommerce shop page), I create another one and I set conditions: include->shop and I tried to include only the Wholesale product category(that is the category all the ‘only’ wholesale products belong to).
But the result is that the layout is only the same (so the one created for standard Woocomnerce shop).If there’s no other setting to try with, is it possible to assign by code Wholesale page to a shop layout?
*What is strange to me is that I can create more Layout and set all as include – > shop. That should mean that I can create more shop pages, perhaps by define which one must appear in order to sub conditions (like category terms and so on)?
Thanks again.
Attachments:
You must be logged in to view attached files.April 8, 2023 at 10:39 am #458299
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the inconvenience caused.
The Layouts of the Theme’s Layout Builder are applicable to the standard WooCommerce Shop & Category pages. The Wholesale one that you are referring to is coming through a premium third party Plugin which is why the Condition might not be applicable to that.
So, it might require Customization to achieve the change for the said Plugin’s page and this is beyond our limitations and support policy scope. Hope you can understand our limitations.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register