Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
891 stars 355 forks source link

[Bug]: Yuga Theme-Custom FSE templates ignored on designated WooCommerce shop page #7037

Open synora opened 1 year ago

synora commented 1 year ago

Quick summary

I've only tested this on the Yuga theme per a user's report.

They want to apply their custom FSE template to their "Product" page, which is also their designated WooCommerce shop page. When this shop designation is applied, the custom FSE template gets ignored. With the Woo shop page designation off, the custom template appears as expected.

They're wanting both the Woo shop designation for their page as well as the custom template to appear. I am able to replicate this on my test site.

Steps to reproduce

  1. Create a custom FSE template
  2. Apply this template to a page that displays WooCommerce products
  3. In WooCommerce > Settings > Products, make sure you have a designated shop page.
  4. View the page and you'll notice your custom template isn't applied.
  5. In WooCommerce > Settings > Products, remove the page as the designated shop page(leave the shop page drop down blank) and save your changes.
  6. View the page and you'll see your custom template now appears as expected.

What you expected to happen

For the custom FSE template to appear even with the page assigned at the WooCommerce shop page.

What actually happened

The custom FSE template doesn't appear as long as the Woo shop page designation is assigned to the page.

Browser

Google Chrome/Chromium

Context

No response

Platform (Simple, Atomic, or both?)

Atomic

Other notes

Report 6236732-zen

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

None

Workaround details

No response

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.