I am trying to work on a product subscriptions page which is very different in function from a standard product page. I have created my new Magento_Theme/page_layout/subscription.xml
I set Magento 2 to use my custom layout for the product I want.
My question is, how do I create a custom set of layout instructions Magento_Catalog/layout/catalog_product_view.xml
to be used only with Magento_Theme/page_layout/subscription.xml
?
I still need most catalog_product_view
pages to use the standard layout instructions. The main reason for this, is that subscription pages are going to be so different I need entirely different XML for the page layout.
Essentially, I would like to have a specific paired page_layout
and layout
for the subscription products.
Thanks!