How to display the custom attribute on product page in Magento 1.9.2How to display custom attribute to admin...
Can making a creature unable to attack after it has been assigned as an attacker remove it from combat?
How can my powered armor quickly replace its ceramic plates?
Would a National Army of mercenaries be a feasible idea?
Pronunciation of umlaut vowels in the history of German
Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?
Can I become debt free or should I file bankruptcy ? How to manage my debt and finances?
Incorporating research and background: How much is too much?
Why exactly do action photographers need high fps burst cameras?
What is 6÷2×(1+2) =?
Could a phylactery of a lich be a mirror or does it have to be a box?
Why do neural networks need so many training examples to perform?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Citing paywalled articles accessed via illegal web sharing
How to deal with an incendiary email that was recalled
How to limit sight distance to 1 km
Why avoid shared user accounts?
Difference between `vector<int> v;` and `vector<int> v = vector<int>();`
If I deleted a game I lost the disc for, can I reinstall it digitally?
Is a debit card dangerous in my situation?
Can I string the D&D Starter Set campaign into another module, keeping the same characters?
How do you funnel food off a cutting board?
What is the wife of a henpecked husband called?
How should I handle players who ignore the session zero agreement?
Find some digits of factorial 17
How to display the custom attribute on product page in Magento 1.9.2
How to display custom attribute to admin product edit pageAdd Custom Product Tab in MAGENTO 1.9 CEIssue Accessing Model in Custom Head BlockMagento 1.9 Product page customizationHow to display Yes/No Attribute on Catalog PageMagento 2 : How to get the product attributes based on attribute set id on listing pageHow to change dynamic attributes when simple product is selectedGetting value from product attributes in Magento 2Dislpay custom attribute in Product view page - in Product description templateHow to get custom product attribute
I am working rwd theme customization> I am trying to add a new custom tab under the product info parent tab-
My layout.xml block code is :
<block type="catalog/product_view_description" name="product.faq" as="faq" template="catalog/product/view/faq.phtml">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>FAQ</value></action>
</block>
I created a custom attribute and visible on frontend - YES - uesd in product listing - Yes
my attribute code is 'faq'
my faq.phtml is as follow -
<?php
$_product = $this->getProduct();
if($_product->getFAQ()){ ?>
<?php echo $_product->getResource()->getAttribute('faq')->getFrontend()->getValue($_product);?>
<?php }
?>
after doing a long exercise i am unable to display the attribute value on frontend. As I checked the data tables my attribute value are properly inserting in the attribute table.
If anyone knows please help me.
magento-1.9 product-attribute custom-attributes rwd-theme
bumped to the homepage by Community♦ 40 mins 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 am working rwd theme customization> I am trying to add a new custom tab under the product info parent tab-
My layout.xml block code is :
<block type="catalog/product_view_description" name="product.faq" as="faq" template="catalog/product/view/faq.phtml">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>FAQ</value></action>
</block>
I created a custom attribute and visible on frontend - YES - uesd in product listing - Yes
my attribute code is 'faq'
my faq.phtml is as follow -
<?php
$_product = $this->getProduct();
if($_product->getFAQ()){ ?>
<?php echo $_product->getResource()->getAttribute('faq')->getFrontend()->getValue($_product);?>
<?php }
?>
after doing a long exercise i am unable to display the attribute value on frontend. As I checked the data tables my attribute value are properly inserting in the attribute table.
If anyone knows please help me.
magento-1.9 product-attribute custom-attributes rwd-theme
bumped to the homepage by Community♦ 40 mins 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 am working rwd theme customization> I am trying to add a new custom tab under the product info parent tab-
My layout.xml block code is :
<block type="catalog/product_view_description" name="product.faq" as="faq" template="catalog/product/view/faq.phtml">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>FAQ</value></action>
</block>
I created a custom attribute and visible on frontend - YES - uesd in product listing - Yes
my attribute code is 'faq'
my faq.phtml is as follow -
<?php
$_product = $this->getProduct();
if($_product->getFAQ()){ ?>
<?php echo $_product->getResource()->getAttribute('faq')->getFrontend()->getValue($_product);?>
<?php }
?>
after doing a long exercise i am unable to display the attribute value on frontend. As I checked the data tables my attribute value are properly inserting in the attribute table.
If anyone knows please help me.
magento-1.9 product-attribute custom-attributes rwd-theme
I am working rwd theme customization> I am trying to add a new custom tab under the product info parent tab-
My layout.xml block code is :
<block type="catalog/product_view_description" name="product.faq" as="faq" template="catalog/product/view/faq.phtml">
<action method="addToParentGroup"><group>detailed_info</group></action>
<action method="setTitle" translate="value"><value>FAQ</value></action>
</block>
I created a custom attribute and visible on frontend - YES - uesd in product listing - Yes
my attribute code is 'faq'
my faq.phtml is as follow -
<?php
$_product = $this->getProduct();
if($_product->getFAQ()){ ?>
<?php echo $_product->getResource()->getAttribute('faq')->getFrontend()->getValue($_product);?>
<?php }
?>
after doing a long exercise i am unable to display the attribute value on frontend. As I checked the data tables my attribute value are properly inserting in the attribute table.
If anyone knows please help me.
magento-1.9 product-attribute custom-attributes rwd-theme
magento-1.9 product-attribute custom-attributes rwd-theme
edited Nov 8 '17 at 12:58
Kishan Patadia
3,7711924
3,7711924
asked Nov 8 '17 at 11:23
R K ShrivastawR K Shrivastaw
214
214
bumped to the homepage by Community♦ 40 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♦ 40 mins 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 |
add a comment |
1 Answer
1
active
oldest
votes
Try below code
<?php if($_product->getFaq()){ ?>
<?php echo $_product->getFaq();?>
<?php } ?>
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
useprint_r($_product->getData()
and check are you getting faq value in that
– Piyush
Nov 8 '17 at 12:21
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%2f200554%2fhow-to-display-the-custom-attribute-on-product-page-in-magento-1-9-2%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
Try below code
<?php if($_product->getFaq()){ ?>
<?php echo $_product->getFaq();?>
<?php } ?>
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
useprint_r($_product->getData()
and check are you getting faq value in that
– Piyush
Nov 8 '17 at 12:21
add a comment |
Try below code
<?php if($_product->getFaq()){ ?>
<?php echo $_product->getFaq();?>
<?php } ?>
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
useprint_r($_product->getData()
and check are you getting faq value in that
– Piyush
Nov 8 '17 at 12:21
add a comment |
Try below code
<?php if($_product->getFaq()){ ?>
<?php echo $_product->getFaq();?>
<?php } ?>
Try below code
<?php if($_product->getFaq()){ ?>
<?php echo $_product->getFaq();?>
<?php } ?>
answered Nov 8 '17 at 11:28
PiyushPiyush
4,81472053
4,81472053
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
useprint_r($_product->getData()
and check are you getting faq value in that
– Piyush
Nov 8 '17 at 12:21
add a comment |
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
useprint_r($_product->getData()
and check are you getting faq value in that
– Piyush
Nov 8 '17 at 12:21
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
tried with same code previously. but unable to view under the product- info tab. is there any css issue too?
– R K Shrivastaw
Nov 8 '17 at 11:52
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
if you put any static content in the template , is that visible in product-info tab?
– Piyush
Nov 8 '17 at 11:54
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
Yes if am adding static block then it is displying. I had cross-checked with a cms block it is displaying.
– R K Shrivastaw
Nov 8 '17 at 12:19
use
print_r($_product->getData()
and check are you getting faq value in that– Piyush
Nov 8 '17 at 12:21
use
print_r($_product->getData()
and check are you getting faq value in that– Piyush
Nov 8 '17 at 12:21
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%2f200554%2fhow-to-display-the-custom-attribute-on-product-page-in-magento-1-9-2%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