Assign a separate theme to product pages and categoriesProgrammatically 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

How to get the n-th line after a grepped one?

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

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

I got the following comment from a reputed math journal. What does it mean?

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

Can I use USB data pins as a power source?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?

How do I hide Chekhov's Gun?

Is it normal that my co-workers at a fitness company criticize my food choices?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

Happy pi day, everyone!

Describing a chess game in a novel

Is there a symmetric-key algorithm which we can use for creating a signature?

If I am holding an item before I cast Blink, will it move with me through the Ethereal Plane?

What is the purpose or proof behind chain rule?

Instead of a Universal Basic Income program, why not implement a "Universal Basic Needs" program?

Why do tuner card drivers fail to build after kernel update to 4.4.0-143-generic?

Violin - Can double stops be played when the strings are not next to each other?

About the actual radiative impact of greenhouse gas emission over time

How are passwords stolen from companies if they only store hashes?

Are Roman Catholic priests ever addressed as pastor

What is the significance behind "40 days" that often appears in the Bible?

Simplify an interface for flexibly applying rules to periods of time



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 13 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 13 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 13 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 13 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

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її