Skip Navigation

[Resolved] Product template not assigned according to conditions

This support ticket is created 2 years, 2 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by tommyJ-3 2 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#2497391
Instrument_template_not_assigned_automatically.PNG
Automatically_assigned_template.PNG
manually-chosen-template.PNG

I have three product templates on my site: Givare, Tillbehör and Instrument.
The first 2 templates are automatically assigned to the correct template according to the condition given (product category: Givare and Tillbehör, respectively).

The third template "Instrument" however is not assigned correct automatically according to the set condition. It's possible to set it manually by editing the product though.

Example of product that is not assigned the correct template automatically:
hidden link

Example of product that is assigned the correct template automatically according to conditions:
hidden link

The site stage.nordtec.dev is a copy of our development site. I will uninstall it after this issue is solved.

This is a bug maybe?

#2497987

Hello,

I have checked it in your website:
1) The content template "Instrument" is using below condition:
Produktkategorier: Mätinstrument

2) The product post you mentioned above does not use "Mätinstrument" term, so it won't to be assigned with content template "Instrument"

3) I have tried to create a new product post:
hidden link
in section "Produktkategorier" choose term: Mätinstrument
Save it, I can see it works fine, it is using content template "Instrument"

#2498029

You are absolutely right. I was 100% sure that all these "instruments" used the "Mätinstrument" product category, so I didn't even check. Sorry about that!

But now I have an other problem. Do you want me to start another ticket for that?

Short description:
If you look at the product image in this page, using the stage site, when hovering the default image is still visible behind the zoomed image:
hidden link

When looking at this same page in our development site the default image does not show behind the zoomed image, when hovering:
hidden link

The same Toolset product image block is used in both cases. I do not want the default image to still be visible behind the zoomed image. How do I accomplish that?

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/i-have-an-other-problem/

#2498041

According to our support policy, we prefer to one ticket one question, for other new issues, please check the new thread here:
https://toolset.com/forums/topic/i-have-an-other-problem/

#2498053

My issue is resolved now. Thank you!