Skip to main content
deleted 20 characters in body
Source Link
7ochem
  • 7.6k
  • 14
  • 52
  • 80

You remove block <block type="catalog/product_view"> from custom layout.As As per magento system any function value set and child blocks assign of a block class can be managed using any function value set and child blocks assign of a block class can be managed using <reference> tag tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout

tutsplus

smashingmagazine

Magentogarden

You remove block <block type="catalog/product_view"> from custom layout.As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout

tutsplus

smashingmagazine

Magentogarden

You remove block <block type="catalog/product_view"> from custom layout. As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
    <action method="setData">
        <name>in_stock_text</name>
        <value>This product is in stock.</value>
    </action>
</reference>

You can study about layout

tutsplus

smashingmagazine

Magentogarden

added 2 characters in body
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

You remove block <block type="catalog/product_view"> from custom layout.As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout   

tutsplus

smashingmagazine

Magentogarden

You remove block <block type="catalog/product_view"> from custom layout.As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout  tutsplus

smashingmagazine

Magentogarden

You remove block <block type="catalog/product_view"> from custom layout.As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout 

tutsplus

smashingmagazine

Magentogarden

Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

You remove block <block type="catalog/product_view"> from custom layout.As per magento system any function value set and child blocks assign of a block class can be managed using <reference> tag

<reference name="product.info.addtocart">
         <action method="setData">
            <name>in_stock_text</name>
            <value>This product is in stock.</value>
        </action>
 </reference>

You can study about layout tutsplus

smashingmagazine

Magentogarden