Every new template overrides the rules of the previous one

Hello,

At the beginning I had "Product List" and "Category page" templates.

Now I want to vary my templates a bit more per category or per category levels.

I noticed, that each time I create a template, that takes advantage and override the previous ones.

What I want it's pretty simple, to have different template per category. For all the rest categories that don't belong to a specific category a generic one to be applied.


And the root cause of that most likely causes also the conditional logic on the level of an element to not applied.

What I tried to implement here is at the same template, to display a widget based on the conditional logic.

So, if we are the category A to display widget A

if we are the category B to display widget B,

if we are the category C to display widget C and so forth and so on...

However, it doesn't work!


I will reset the configuration, bu I can replicate it in a Staging environment.

Comments

  • Hello,

    1) If you create a new template and assign to it a condition that another template already has then the newer one will display for this condition.

    If you want to assign one template to all shop use this condition:

    Then when you create a template for a particular category the new template will work for an assigned category, but the rest of the categories will have the main template.

    2) Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

Sign In or Register to comment.