You need to call the 'additem' as follows; http://www.mysite.com/mysite/control/additem where you need to pass the add_product_id and quantity in parameters after this you should be able to do this.
pre-requested, your application should be capable of adding items to the cart on additem request. Reference: /SpecialPurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl Check for the form name 'addform' and values pass into it and action. Rishi Solanki Manager, Enterprise Software Development HotWax Media Pvt. Ltd. Direct: +91-9893287847 http://www.hotwaxmedia.com On Sat, Feb 26, 2011 at 4:55 PM, Hardik Handa <[email protected]> wrote: > I have to create a HTML page which has to be mailed to the customers, which > has the add to cart button and when it is clicked item automatically gets > added to the cart in my ofbiz website > > Regards, > Hardik Handa > Software Engineer - CMHP-RETAIL-COE-eCommerce > HCL Technologies Ltd. > C-22A, Sector 57, NOIDA. 201301, UP. (India) > Tel: +91-120-2586417-19 > Mob: +91-9811671898 > www.hcltech.com<http://www.hcltech.com> > www.hcl.com<http://www.hcl.in/> > > > > ________________________________ > ::DISCLAIMER:: > > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > > ----------------------------------------------------------------------------------------------------------------------- >
