How To Display Product Brand Name In Left Column In Product Page?How to call a product attributes in magento left column of product page?display longer product name in 2 lines in magentoHeader in left column layouthow to put filtration in first order in left column magentoI want to put category name in product page left column top, what to do?How to call a product attributes in magento left column of product page?How to add Recently visited product in product page left column?Display Product Id & Name of Order in custom pageMagneto2 : How to show brand name in product pageBrand activation feature on Product pageMagento 2: Display Custom attribute value under the product name on category page
Evaluated vs. unevaluated Association
Redacting URLs as an email-phishing preventative?
Where can/should I, as a high schooler, publish a paper regarding the derivation of a formula?
Why did Khan ask Admiral James T. Kirk about Project Genesis?
Could this kind of inaccurate sacrifice be countered?
Do Bayesian credible intervals treat the estimated parameter as a random variable?
Can $! cause race conditions when used in scripts running in parallel?
Who was the most successful German spy against Great Britain in WWII, from the contemporary German perspective?
Where does learning new skills fit into Agile?
When, exactly, does the Rogue Scout get to use their Skirmisher ability?
Why isn't "I've" a proper response?
Photoshop: How can I change the layer type?
Ghidra: Prepend memory segment in assembly listing view
How is linear momentum conserved in case of a freely falling body?
When calculating a force, why do I get different result when I try to calculate via torque vs via sum of forces at an axis?
How many birds in the bush?
The Wires Underground
Ordering a list of integers
Why is the UK so keen to remove the "backstop" when their leadership seems to think that no border will be needed in Northern Ireland?
Billiard balls collision
Prevent use of CNAME record for untrusted domain
How can I download a file through 2 SSH connections?
What is the difference between "Grippe" and "Männergrippe"?
Cooking Scrambled Eggs
How To Display Product Brand Name In Left Column In Product Page?
How to call a product attributes in magento left column of product page?display longer product name in 2 lines in magentoHeader in left column layouthow to put filtration in first order in left column magentoI want to put category name in product page left column top, what to do?How to call a product attributes in magento left column of product page?How to add Recently visited product in product page left column?Display Product Id & Name of Order in custom pageMagneto2 : How to show brand name in product pageBrand activation feature on Product pageMagento 2: Display Custom attribute value under the product name on category page
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to display a product brand name in left column of product page. Can you help me to solve this ?
Thanks advance!!!
magento-1.9 product product-attribute column
add a comment |
I want to display a product brand name in left column of product page. Can you help me to solve this ?
Thanks advance!!!
magento-1.9 product product-attribute column
add a comment |
I want to display a product brand name in left column of product page. Can you help me to solve this ?
Thanks advance!!!
magento-1.9 product product-attribute column
I want to display a product brand name in left column of product page. Can you help me to solve this ?
Thanks advance!!!
magento-1.9 product product-attribute column
magento-1.9 product product-attribute column
asked May 21 '16 at 5:57
VijayakumarVijayakumar
691 silver badge13 bronze badges
691 silver badge13 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Go to local.xml and put this code:
<catalog_product_view>
<reference name="left">
<block type="catalog/product_view" name="product.brandname" as="product_brandname" template="catalog/product/brandname.phtml"/>
</reference>
</catalog_product_view>
Now create new template file brandname.phtml at
appdesignfrontendYOUR_PACKAGEYOUR_THEMEtemplatecatalogproductbrandname.phtml
Add this code in brandname.phtml
<?php $_product = $this->getProduct(); ?>
<?php
/* YOU CAN GET ANY PRODUCT ATTRIBUTE HERE. */
echo $_product->getBrand();
?>
Note: Change echo $_product->getBrand(); as per your BRAND attribute code
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed toecho $_product->getManufacturer();?
– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
add a comment |
<?php echo $_product->getAttributeText('brand');?>
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%2f116344%2fhow-to-display-product-brand-name-in-left-column-in-product-page%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
Go to local.xml and put this code:
<catalog_product_view>
<reference name="left">
<block type="catalog/product_view" name="product.brandname" as="product_brandname" template="catalog/product/brandname.phtml"/>
</reference>
</catalog_product_view>
Now create new template file brandname.phtml at
appdesignfrontendYOUR_PACKAGEYOUR_THEMEtemplatecatalogproductbrandname.phtml
Add this code in brandname.phtml
<?php $_product = $this->getProduct(); ?>
<?php
/* YOU CAN GET ANY PRODUCT ATTRIBUTE HERE. */
echo $_product->getBrand();
?>
Note: Change echo $_product->getBrand(); as per your BRAND attribute code
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed toecho $_product->getManufacturer();?
– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
add a comment |
Go to local.xml and put this code:
<catalog_product_view>
<reference name="left">
<block type="catalog/product_view" name="product.brandname" as="product_brandname" template="catalog/product/brandname.phtml"/>
</reference>
</catalog_product_view>
Now create new template file brandname.phtml at
appdesignfrontendYOUR_PACKAGEYOUR_THEMEtemplatecatalogproductbrandname.phtml
Add this code in brandname.phtml
<?php $_product = $this->getProduct(); ?>
<?php
/* YOU CAN GET ANY PRODUCT ATTRIBUTE HERE. */
echo $_product->getBrand();
?>
Note: Change echo $_product->getBrand(); as per your BRAND attribute code
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed toecho $_product->getManufacturer();?
– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
add a comment |
Go to local.xml and put this code:
<catalog_product_view>
<reference name="left">
<block type="catalog/product_view" name="product.brandname" as="product_brandname" template="catalog/product/brandname.phtml"/>
</reference>
</catalog_product_view>
Now create new template file brandname.phtml at
appdesignfrontendYOUR_PACKAGEYOUR_THEMEtemplatecatalogproductbrandname.phtml
Add this code in brandname.phtml
<?php $_product = $this->getProduct(); ?>
<?php
/* YOU CAN GET ANY PRODUCT ATTRIBUTE HERE. */
echo $_product->getBrand();
?>
Note: Change echo $_product->getBrand(); as per your BRAND attribute code
Go to local.xml and put this code:
<catalog_product_view>
<reference name="left">
<block type="catalog/product_view" name="product.brandname" as="product_brandname" template="catalog/product/brandname.phtml"/>
</reference>
</catalog_product_view>
Now create new template file brandname.phtml at
appdesignfrontendYOUR_PACKAGEYOUR_THEMEtemplatecatalogproductbrandname.phtml
Add this code in brandname.phtml
<?php $_product = $this->getProduct(); ?>
<?php
/* YOU CAN GET ANY PRODUCT ATTRIBUTE HERE. */
echo $_product->getBrand();
?>
Note: Change echo $_product->getBrand(); as per your BRAND attribute code
answered May 21 '16 at 6:20
Anil SutharAnil Suthar
4,0481 gold badge7 silver badges18 bronze badges
4,0481 gold badge7 silver badges18 bronze badges
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed toecho $_product->getManufacturer();?
– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
add a comment |
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed toecho $_product->getManufacturer();?
– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
My attribute code is [manufacturer]. Then i want to call echo $_product->getmanufacturer(); ?
– Vijayakumar
May 21 '16 at 6:33
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
i followed that code it will return nothing.
– Vijayakumar
May 21 '16 at 6:42
I'm sure , you missed some steps. Have you changed to
echo $_product->getManufacturer(); ?– Anil Suthar
May 21 '16 at 6:45
I'm sure , you missed some steps. Have you changed to
echo $_product->getManufacturer(); ?– Anil Suthar
May 21 '16 at 6:45
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
i tried this echo $_product->getAttributeText('manufacturer'); it will working. Now i want to add a link to that brand name, What to do? this link goes to all the product related to that brand name
– Vijayakumar
May 21 '16 at 7:00
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
It's hard to show here coz it's a different question, please raise a new one, I'll show solution there, thanks
– Anil Suthar
May 21 '16 at 7:02
add a comment |
<?php echo $_product->getAttributeText('brand');?>
add a comment |
<?php echo $_product->getAttributeText('brand');?>
add a comment |
<?php echo $_product->getAttributeText('brand');?>
<?php echo $_product->getAttributeText('brand');?>
answered Aug 13 at 17:16
Muzammil RafiqMuzammil Rafiq
111 bronze badge
111 bronze badge
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%2f116344%2fhow-to-display-product-brand-name-in-left-column-in-product-page%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