Show brand attribute in product listing Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraHow to create a Child Theme in Magento 2Magento 2: How to display brand name above product nameConfigurable Swatches on Listing Page: Show Multiple Color AttributesBrand/Categorie listing on a custome cms pageAdd Custom Attribute to show on Checkout pageHow to show multiple attribute swatches on product listing page?How to show promotional Label using custom attribute in backendCustom attribute - Product pageMagento 2: Display Custom attribute value under the product name on category pageCustom attribute product listing pageHow to show product custom attribute in items ordered section in magento2.2.0?Manage Brands / Manufacturers in admin. Show brand logo and story in Product Page

"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?

Mistake in years of experience in resume?

Why is an operator the quantum mechanical analogue of an observable?

A Paper Record is What I Hamper

How long after the last departure shall the airport stay open for an emergency return?

Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?

What is the best way to deal with NPC-NPC combat?

Book with legacy programming code on a space ship that the main character hacks to escape

Function to calculate red-edgeNDVI in Google Earth Engine

The art of proof summarizing. Are there known rules, or is it a purely common sense matter?

How to use @AuraEnabled base class method in Lightning Component?

c++ diamond problem - How to call base method only once

How would I use different systems of magic when they are capable of the same effects?

Error: Syntax error. Missing ')' for CASE Statement

Can I criticise the more senior developers around me for not writing clean code?

What to do with someone that cheated their way through university and a PhD program?

Multiple fireplaces in an apartment building?

How to count in linear time worst-case?

Could moose/elk survive in the Amazon forest?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Does Mathematica have an implementation of the Poisson Binomial Distribution?

How to not starve gigantic beasts

Why is this method for solving linear equations systems using determinants works?

Can you stand up from being prone using Skirmisher outside of your turn?



Show brand attribute in product listing



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to create a Child Theme in Magento 2Magento 2: How to display brand name above product nameConfigurable Swatches on Listing Page: Show Multiple Color AttributesBrand/Categorie listing on a custome cms pageAdd Custom Attribute to show on Checkout pageHow to show multiple attribute swatches on product listing page?How to show promotional Label using custom attribute in backendCustom attribute - Product pageMagento 2: Display Custom attribute value under the product name on category pageCustom attribute product listing pageHow to show product custom attribute in items ordered section in magento2.2.0?Manage Brands / Manufacturers in admin. Show brand logo and story in Product Page



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference. Reference










share|improve this question
















bumped to the homepage by Community 2 days ago


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















  • What is your attribute code and type of attribute ?

    – Pawan
    Aug 1 '17 at 17:12


















0















I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference. Reference










share|improve this question
















bumped to the homepage by Community 2 days ago


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















  • What is your attribute code and type of attribute ?

    – Pawan
    Aug 1 '17 at 17:12














0












0








0








I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference. Reference










share|improve this question
















I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference. Reference







magento-1.9 attributes catalog custom-attributes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 1 '17 at 22:55









PЯINCƏ

8,45431147




8,45431147










asked Aug 1 '17 at 16:14









Huzan Forbes SpentaHuzan Forbes Spenta

11




11





bumped to the homepage by Community 2 days 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 2 days ago


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














  • What is your attribute code and type of attribute ?

    – Pawan
    Aug 1 '17 at 17:12


















  • What is your attribute code and type of attribute ?

    – Pawan
    Aug 1 '17 at 17:12

















What is your attribute code and type of attribute ?

– Pawan
Aug 1 '17 at 17:12






What is your attribute code and type of attribute ?

– Pawan
Aug 1 '17 at 17:12











2 Answers
2






active

oldest

votes


















0














You would need to override the template file to a subtheme.



Info on how to do that here: How to create a Child Theme in Magento 2



Then you can change the text, by replacing it with



<?php echo $_product->getAttributeText('attribute_code'); ?>


Don't forget to set "used in product listing" to yes in the backend






share|improve this answer






























    0














    1) First to display your attribute as you want in listing products, check first this config admin, Catalog > Attributes > Manage Attributes. select your attribute brand then check if Used in Product Listing is set to 'yes' if no, change it to 'Yes' then save.



    2) You need to reindexall



    3) Go to app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtmlunder this class class="product-name" you add this one for the attribute <h4><?php echo $_product->getBrand(); ?></h4>.



    4) Clear your cache and you get what you need.






    share|improve this answer























      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%2f187401%2fshow-brand-attribute-in-product-listing%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      You would need to override the template file to a subtheme.



      Info on how to do that here: How to create a Child Theme in Magento 2



      Then you can change the text, by replacing it with



      <?php echo $_product->getAttributeText('attribute_code'); ?>


      Don't forget to set "used in product listing" to yes in the backend






      share|improve this answer



























        0














        You would need to override the template file to a subtheme.



        Info on how to do that here: How to create a Child Theme in Magento 2



        Then you can change the text, by replacing it with



        <?php echo $_product->getAttributeText('attribute_code'); ?>


        Don't forget to set "used in product listing" to yes in the backend






        share|improve this answer

























          0












          0








          0







          You would need to override the template file to a subtheme.



          Info on how to do that here: How to create a Child Theme in Magento 2



          Then you can change the text, by replacing it with



          <?php echo $_product->getAttributeText('attribute_code'); ?>


          Don't forget to set "used in product listing" to yes in the backend






          share|improve this answer













          You would need to override the template file to a subtheme.



          Info on how to do that here: How to create a Child Theme in Magento 2



          Then you can change the text, by replacing it with



          <?php echo $_product->getAttributeText('attribute_code'); ?>


          Don't forget to set "used in product listing" to yes in the backend







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 1 '17 at 18:21









          Web WeaveWeb Weave

          386




          386























              0














              1) First to display your attribute as you want in listing products, check first this config admin, Catalog > Attributes > Manage Attributes. select your attribute brand then check if Used in Product Listing is set to 'yes' if no, change it to 'Yes' then save.



              2) You need to reindexall



              3) Go to app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtmlunder this class class="product-name" you add this one for the attribute <h4><?php echo $_product->getBrand(); ?></h4>.



              4) Clear your cache and you get what you need.






              share|improve this answer



























                0














                1) First to display your attribute as you want in listing products, check first this config admin, Catalog > Attributes > Manage Attributes. select your attribute brand then check if Used in Product Listing is set to 'yes' if no, change it to 'Yes' then save.



                2) You need to reindexall



                3) Go to app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtmlunder this class class="product-name" you add this one for the attribute <h4><?php echo $_product->getBrand(); ?></h4>.



                4) Clear your cache and you get what you need.






                share|improve this answer

























                  0












                  0








                  0







                  1) First to display your attribute as you want in listing products, check first this config admin, Catalog > Attributes > Manage Attributes. select your attribute brand then check if Used in Product Listing is set to 'yes' if no, change it to 'Yes' then save.



                  2) You need to reindexall



                  3) Go to app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtmlunder this class class="product-name" you add this one for the attribute <h4><?php echo $_product->getBrand(); ?></h4>.



                  4) Clear your cache and you get what you need.






                  share|improve this answer













                  1) First to display your attribute as you want in listing products, check first this config admin, Catalog > Attributes > Manage Attributes. select your attribute brand then check if Used in Product Listing is set to 'yes' if no, change it to 'Yes' then save.



                  2) You need to reindexall



                  3) Go to app/design/frontend/yourpackage/yourtheme/template/catalog/product/list.phtmlunder this class class="product-name" you add this one for the attribute <h4><?php echo $_product->getBrand(); ?></h4>.



                  4) Clear your cache and you get what you need.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 1 '17 at 22:48









                  PЯINCƏPЯINCƏ

                  8,45431147




                  8,45431147



























                      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%2f187401%2fshow-brand-attribute-in-product-listing%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

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form