How to assign Template for Main Shop Page

Hi beTeam,

Can You tell me how I can make Template for Main shop page?

I made one for Archives watching Your video for nested categories. Made one for single product pagem too. They are shown on screenshots.

Product categories template is assigned to - Shop Archives

Single product template is assigned to - Post type Product

But can not find option to asign template to Main shop page!? It looks diferent from Arcives!? See 03 and 04 attached imades.

Testing site is local, so screenshots are the only way to show You settings and frontend.


Thank You in advice!

Comments

  • Hi,

    To assign a template to the main shop page, use the All archives condition:

    Best regards

  • edited 10:49AM

    Ideal for the case of 2 templates.

    But what if I only have 1 template with Conditional Logic and nested categories, and I want to have different content on the main page of the store.

    For example, if I have a section that lists all brands, but I want this section to be visible only on the main page of the store, and not on all parent or child categories?

    Is this the only solution - 2 templates, or is there a special Conditional Logic that I can use to show the section only on the Main page of the store?

    And one more important thing:

    If I want to see products in addition to nested categories, is there a possibility in the Parent categories to see only products that have been added to them, and not the products from all subcategories? Ie. to display - All Products from the Current category?

  • You can try with the following conditional logic assigned to that section with brands:

    Best regards

  • This is not working.

    I have 3 sections:

    • Product categories with Conditional logic:


    • Brans with Conditional logic:


    • Products with Conditional logic:


    Template is assigned to - All Archives, as You mention in previus replay. No second template for Main page.

    The result is:

    • Main shop page - empty


    • Parent category - Fine


    • Last level subcategory - fine


    But us You see Section with Brands is not visable anywhere, also with 1 template for Shop main page is empty.

  • Your conditional logic for the brands section looks different from what I showed you in my previous message.

    Please double-check it and correct your conditional login.


    Thanks

  • Sorry, my mistake.

    And thank You. Now it works

    Main Shop page looks like this

    Now I will try to fix Section with categories to be visable on main page too.

    Do You know how to fix prolem with products list - To meake it to show Current category products only, not products fromr all subcategories?

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.