Actually it isn’t. I have good feeling how I could use custom template in the Shop page but I can’t figure out how I can make it dynamically. Like I said, in normal WordPress Pages if I echo out get_page_template();
it shows it’s template, page.php
if default and custom if chosen. But if I make same check in WooCommerce page, it shows always only page.php
no matter what.
Your URL’s talking about how to show templates for specific taxonomies.
This is all what I would like to do.
// If user has selected custom template
if( is_page_template( 'mycustomtemplate-for-shop-page.php ) ) {
echo 'Do something';
// If user use default template
} else {
echo 'Default';
}
But the problem is the output what WooCommerce pages give from get_page_template
function, it’s always the same no matter what.