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;








2















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


























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

    – Ankit Shah
    Oct 25 '16 at 8:18

















2















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


























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

    – Ankit Shah
    Oct 25 '16 at 8:18













2












2








2








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

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

















  • 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

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

















  • 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

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림