Tuesday 15 April 2014

function - Magento: Where is this "$_formatedOptionValue" being created? -


If, in magazines you have a bundle product, and you have some product options for it. On this page, on the shopping cart page, on the checkout page, and at other places, these options will be displayed using this code:

  & lt ;? Php echo $ _formatedOptionValue ['full_view']?   

This code can be found in many places, for example * / app / design / frontend / base / default / template / downloadable / checkout / cart / item / default

Anyone knows where I can get behind of this code "formatedOptionValue"? I want to revise a little the way the product option is being displayed and constructed. Please, if you know, then you can say that in which direction is this function being created?

$ _ formatedOptionValue will be assigned within the same template file, where it is used to.

This code in standard Magento $ this-> GetFormatedOptionValue () , which maps to either of these two ways:

  Mage_Checkout_Block_Cart_Item_Renderer :: getFormatedOptionValue () Mage_Sales_Block_Order_Item_Renderer_Default :: getFormatedOptionValue ()    

No comments:

Post a Comment