I want to add the following custom attribute to my upsell block:

enter image description here

So I tried

        <?php $_link->getBasePriceAmount(); ?>


        <?php $_link->getAttributeText('base_price_amount'); ?>

but both don't work.

2 Answers 2


My bad I forgot "echo" :/ ... the first variety works for text fields

  • if you solved the problem, please mark the answer as accepted (as soon as you are allowed to).
    – Marius
    Commented Feb 4, 2015 at 12:20

it is not work then you need to enable this attribute

used in product listing value to **Yes**

and try to get data by <?php $_link->getBasePriceAmount(); ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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