Assign a separate theme to product pages and categoriesGet Categories and Its Sub CategoriesShow only parent categories and sub-categories in left navMagento - How to update product position under a category according to their sub-categories?How to show product categories on a pageMagento sub-categories listing on category pages cache issueHow to change product pages structure , layout for multiple categories in magento 2?Assign all products in a category to all it's ancestor categories programmatically, in Magento 2Two categories are loading every available product in categoryMagento 2 display all sub-categories above the product list on the category pagemagento 2 seperated parent and sub categories dropdowns
Subtle ways to render a planet uninhabitable
Meaning of ギャップ in the following sentence
Is an "are" omitted in this sentence
Why adjustbox needs a tweak of raise=-0.3ex with enumitem?
How to call made-up data?
Skipping same old introductions
HackerRank Implement Queue using two stacks Solution
Different answers of calculations in LuaLaTeX on local computer, lua compiler and on overleaf
Can't split a feature as invalid geometry - but "Check Validity" says its valid
What is Modern Vipassana?
Confused over role of 「自分が」in this particular passage
Unlocked Package Dependencies
Subverting the essence of fictional and/or religious entities; is it acceptable?
coding the arrow's path in flowchart
How to understand "...to hide the evidence of mishandled magic, or else hidden by castle-proud house-elves" in this sentence
Can't understand an ACT practice problem: Triangle appears to be isosceles, why isn't the answer 7.3~ here?
How to handle many times series?
How does shared_ptr<void> know which destructor to use?
Gold Battle KoTH
Is law enforcement responsible for damages made by a search warrant?
Export economy of Mars
Detect lightning:recordForm change in mode attribute
Is it uncompelling to continue the story with lower stakes?
Reasons for using monsters as bioweapons
Assign a separate theme to product pages and categories
Get Categories and Its Sub CategoriesShow only parent categories and sub-categories in left navMagento - How to update product position under a category according to their sub-categories?How to show product categories on a pageMagento sub-categories listing on category pages cache issueHow to change product pages structure , layout for multiple categories in magento 2?Assign all products in a category to all it's ancestor categories programmatically, in Magento 2Two categories are loading every available product in categoryMagento 2 display all sub-categories above the product list on the category pagemagento 2 seperated parent and sub categories dropdowns
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store.
So just to be clear:
- I have a category page which shows a list of subcategories
- I have a sub category page which shows a list of products
and a product page
each one of the above has a different functionality then other categories/products of my site.
So, I have a theme that I created that I assigned to the category and the subcategories that I need. It works great. But, I did not find a way to assign a theme to a product page. I had to assign the theme to the entire site for the theme to be applied to product pages. This defeats what I need to do
Am I missing something? What is the right approach?
magento2 product category theme configuration
add a comment |
I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store.
So just to be clear:
- I have a category page which shows a list of subcategories
- I have a sub category page which shows a list of products
and a product page
each one of the above has a different functionality then other categories/products of my site.
So, I have a theme that I created that I assigned to the category and the subcategories that I need. It works great. But, I did not find a way to assign a theme to a product page. I had to assign the theme to the entire site for the theme to be applied to product pages. This defeats what I need to do
Am I missing something? What is the right approach?
magento2 product category theme configuration
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18
add a comment |
I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store.
So just to be clear:
- I have a category page which shows a list of subcategories
- I have a sub category page which shows a list of products
and a product page
each one of the above has a different functionality then other categories/products of my site.
So, I have a theme that I created that I assigned to the category and the subcategories that I need. It works great. But, I did not find a way to assign a theme to a product page. I had to assign the theme to the entire site for the theme to be applied to product pages. This defeats what I need to do
Am I missing something? What is the right approach?
magento2 product category theme configuration
I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store.
So just to be clear:
- I have a category page which shows a list of subcategories
- I have a sub category page which shows a list of products
and a product page
each one of the above has a different functionality then other categories/products of my site.
So, I have a theme that I created that I assigned to the category and the subcategories that I need. It works great. But, I did not find a way to assign a theme to a product page. I had to assign the theme to the entire site for the theme to be applied to product pages. This defeats what I need to do
Am I missing something? What is the right approach?
magento2 product category theme configuration
magento2 product category theme configuration
edited Oct 25 '16 at 8:20
Raphael at Digital Pianism
56.2k22 gold badges133 silver badges296 bronze badges
56.2k22 gold badges133 silver badges296 bronze badges
asked Oct 25 '16 at 8:09
Oved YavineOved Yavine
111 bronze badge
111 bronze badge
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18
add a comment |
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18
add a comment |
1 Answer
1
active
oldest
votes
So here the general idea I would follow:
- create a global theme for all your pages EXCEPT the product page
- create a specific theme ONLY for your product page
- assign your global theme to your entire site
- in your product configuration, enable your product specific theme (under Schedule Design Update)

your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f142499%2fassign-a-separate-theme-to-product-pages-and-categories%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
So here the general idea I would follow:
- create a global theme for all your pages EXCEPT the product page
- create a specific theme ONLY for your product page
- assign your global theme to your entire site
- in your product configuration, enable your product specific theme (under Schedule Design Update)

your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
add a comment |
So here the general idea I would follow:
- create a global theme for all your pages EXCEPT the product page
- create a specific theme ONLY for your product page
- assign your global theme to your entire site
- in your product configuration, enable your product specific theme (under Schedule Design Update)

your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
add a comment |
So here the general idea I would follow:
- create a global theme for all your pages EXCEPT the product page
- create a specific theme ONLY for your product page
- assign your global theme to your entire site
- in your product configuration, enable your product specific theme (under Schedule Design Update)

So here the general idea I would follow:
- create a global theme for all your pages EXCEPT the product page
- create a specific theme ONLY for your product page
- assign your global theme to your entire site
- in your product configuration, enable your product specific theme (under Schedule Design Update)

answered Oct 25 '16 at 8:19
Raphael at Digital PianismRaphael at Digital Pianism
56.2k22 gold badges133 silver badges296 bronze badges
56.2k22 gold badges133 silver badges296 bronze badges
your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
add a comment |
your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
your approach will work, but takes a lot of effort. I have to assign a theme to each product and if i change a theme, i must do it on every single product
– Oved Yavine
Oct 25 '16 at 11:00
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
actually this is what i wanted. I wish it could inherit the theme from the category. would make my life easier
– Oved Yavine
Oct 25 '16 at 11:01
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
@OvedYavine you can totally inherit the product specific theme from your global theme: devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/…
– Raphael at Digital Pianism
Oct 25 '16 at 11:18
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f142499%2fassign-a-separate-theme-to-product-pages-and-categories%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
docs.magento.com/m2/ce/user_guide/design/schedule.html
– Ankit Shah
Oct 25 '16 at 8:18