Template issue for Single Product

Hey,


So wondering if I'm doing something wrong if the feature is buggy.

I want to use custom template for single product page. So under the menu "theme options - shop - single product" template is set to default then the site should NOT use any template, correct? If I select the created template, then the site should replace the single product page with the custom template?

I'm asking because I noticed the following:

1.) If I have a published custom template for single product pages, the site uses it if the value in settings is set to default or the template is chosen there. It only switches back to the default woocommerce page once I move the custom template page to TRASH.

2.) If you have two templates created for single product page, doesnt matter which one is selected in theme settings, the site always uses the newest. Say I have Single Product 1 and Single product 2(newly created), I set the template in settings to "Single Product 1", the site still keeps using Single product 2 for all products until I move it to TRASH, then it switches to Single product 1.


Am I doing something wrong or is it a bug?

Thanks.

Comments

  • Hello,

    1) If you create a template and assign conditions to display it for all products, then no matter what style you choose in theme options, it will overwrite it.

    Custom templates can be left without any conditions, and then pre-defined styles from theme options will display unless you choose a template from the dropdown menu below.

    2) If you assign the same conditions to both templates then of course the newer one will be the one that displays.


    Best regards

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.