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

Different outputs for `w`, `who`, `whoami` and `id`

Custom alignment for GeoMarkers

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

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

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

What is the relationship between relativity and the Doppler effect?

What did “the good wine” (τὸν καλὸν οἶνον) mean in John 2:10?

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

How could an airship be repaired midflight?

Are ETF trackers fundamentally better than individual stocks?

Examples of transfinite towers

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

Why do passenger jet manufacturers design their planes with stall prevention systems?

About the actual radiative impact of greenhouse gas emission over time

Is "upgrade" the right word to use in this context?

Are Roman Catholic priests ever addressed as pastor

Bacteria contamination inside a thermos bottle

What is the adequate fee for a reveal operation?

When to use a slotted vs. solid turner?

How to terminate ping <dest> &

Adventure Game (text based) in C++

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

Is there a place to find the pricing for things not mentioned in the PHB? (non-magical)

Print a physical multiplication table



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

Magento 2 - Add success message with knockout 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?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

Fil:Tokke komm.svg

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?