1

Is it possible to display a shoping cart price rule name in a product page, if I know an ID of that rule?

Is there an easy way? I can access atributes, but i am first time dealling with cart rules in product page.

I am using Magento 1.9.2.

Thank you very much.

1 Answer 1

0
$rule = Mage::getModel('salesrule/rule')->load(<Rule_Id>);
$rule_name=$rule->getName();
0

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.