1

i have this code

 $result->setMessage(
                                Mage::helper('cataloginventory')->__('This item is not available and will be placed in a backorder queue. Please refer to the <a href="#">Backorder info page</a> for details on how this order will be processed.', ($backorderQty * 1))
                            );

but result this code:

how correctly add HTML tags?

1 Answer 1

1

You need to use double quotes:

__("You must confirm your account. Please check your email for the confirmation link or <a href=""%1"">click here</a> for a new link.")

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.