开发者

How to add custom uploaded images to cart in magento 1.4.1.1?

How to add custom fields as well as custom images to cart in magento 1.4.1.1 ?

Any one 开发者_StackOverflowhave any idea about this???


If you need add you custom product attribute to shopping cart, just add the following lines of code into your module configuration:

<config>
     <global>
          <sales>
               <quote>
                    <item>
                        <product_attributes>
                             <[your_custom_attribute_code] />
                        </product_attributes>
                    </item>
               </quote>
          </sales>
     </global>
</config>

Just replace [your_custom_attribute_code] with the code of your attribute. You may also add as many attributes as you wish, just add one more attribute into configuration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜