0

I just create a new attribute on magento 1.9.2, but i have one problem... How can i put this attribute "Product status**" on the top near by short description?

as u can see it inattribute status the picture

0

Open your root directory

app/design/frontend/[Theme package]/default/template/catalog/product/view.phtml

find the $_product->getShortDescription()

add code after short description for show the attribute value:

<?php echo $_helper->productAttribute($_product, $_product->getProductStatus(), 'product_status') ?>

after adding the code it will show.

  • i just tried, but no luck... – Ralfe Nov 20 '16 at 1:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.