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;
I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
magento-1.9 attributes catalog custom-attributes
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.
add a comment |
I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
magento-1.9 attributes catalog custom-attributes
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
add a comment |
I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
magento-1.9 attributes catalog custom-attributes
I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
magento-1.9 attributes catalog custom-attributes
magento-1.9 attributes catalog custom-attributes
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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.phtml
under 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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Aug 1 '17 at 18:21
Web WeaveWeb Weave
386
386
add a comment |
add a comment |
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.phtml
under 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.
add a comment |
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.phtml
under 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.
add a comment |
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.phtml
under 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.
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.phtml
under 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.
answered Aug 1 '17 at 22:48
PЯINCƏPЯINCƏ
8,45431147
8,45431147
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
What is your attribute code and type of attribute ?
– Pawan
Aug 1 '17 at 17:12