Assign a separate theme to product pages and categoriesProgrammatically assign a product's categories _AND_...

Why one should not leave fingerprints on bulbs and plugs?

Happy pi day, everyone!

How to explain that I do not want to visit a country due to personal safety concern?

Python if-else code style for reduced code for rounding floats

Did Ender ever learn that he killed Stilson and/or Bonzo?

How to deal with taxi scam when on vacation?

How do I hide Chekhov's Gun?

Fastest way to pop N items from a large dict

How to write cleanly even if my character uses expletive language?

PTIJ: Who should I vote for? (21st Knesset Edition)

Is it insecure to send a password in a `curl` command?

et qui - how do you really understand that kind of phraseology?

Aluminum electrolytic or ceramic capacitors for linear regulator input and output?

Why does a Star of David appear at a rally with Francisco Franco?

How could a scammer know the apps on my phone / iTunes account?

Why does overlay work only on the first tcolorbox?

Examples of transfinite towers

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible

Recruiter wants very extensive technical details about all of my previous work

Can I use USB data pins as a power source?

Why is a white electrical wire connected to 2 black wires?

Why do newer 737s use two different styles of split winglets?

Official degrees of earth’s rotation per day

What is "focus distance lower/upper" and how is it different from depth of field?



Assign a separate theme to product pages and categories


Programmatically assign a product's categories _AND_ sort order/positionGet 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?in my men's category, other category product is showing i only assign 6 products but i don't knw why 40 product is showingHow to show product categories on a pageMagento sub-categories listing on category pages cache issueAssign 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 page













1















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?










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • docs.magento.com/m2/ce/user_guide/design/schedule.html

    – Ankit Shah
    Oct 25 '16 at 8:18
















1















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?










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • docs.magento.com/m2/ce/user_guide/design/schedule.html

    – Ankit Shah
    Oct 25 '16 at 8:18














1












1








1








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 25 '16 at 8:20









Raphael at Digital Pianism

54.8k22119278




54.8k22119278










asked Oct 25 '16 at 8:09









Oved YavineOved Yavine

61




61





bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • 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





docs.magento.com/m2/ce/user_guide/design/schedule.html

– Ankit Shah
Oct 25 '16 at 8:18










1 Answer
1






active

oldest

votes


















0














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)


enter image description here






share|improve this answer
























  • 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 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
});


}
});














draft saved

draft discarded


















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









0














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)


enter image description here






share|improve this answer
























  • 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
















0














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)


enter image description here






share|improve this answer
























  • 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














0












0








0







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)


enter image description here






share|improve this answer













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)


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 25 '16 at 8:19









Raphael at Digital PianismRaphael at Digital Pianism

54.8k22119278




54.8k22119278













  • 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











  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

“%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

夢乃愛華...