Hi Hardik,

From your original question it looks like that you want an addToCart button in 
your mail template and when user click on that addToCart button then it will 
redirect to your site and related product were add in your shopping cart and 
then it will redirect to site home page. If you want to do this then you have 
to do the following thing:

1- Add an request (of event type) that are similar to "additem" request of 
ecommerce  and for success response  redirect it to main page.
2- For email template addToCart button add
 <ofbizUrl>additem?add_product_id=GZ-1000&quantity=6</ofbizUrl>

eg. 
http://demo-trunk.ofbiz.apache.org/ecommerce/control/additem?add_product_id=GZ-1000&quantity=6



Thanks & Regards
-- 
Deepak Dixit


On Feb 28, 2011, at 2:22 PM, Hardik Handa wrote:

> I am not asking for email options, all i ask is to add to cart using html.
> 
> -----Original Message-----
> From: Pranay Pandey [mailto:[email protected]] 
> Sent: 28 February 2011 PM 02:18
> To: [email protected]
> Cc: Pranay Pandey
> Subject: Re: HTML page with add to cart
> 
> Have you explored ProductStoreEmaiSetting and checked how it works? You need 
> to check the process first and the general templates which are sent to 
> customers from OFBiz like order confirm, order change etc. notifications. 
> Different email notifications are associated with product store from where 
> you can get the idea of setting up email templates in OFBiz.
> 
> Thanks & Regards
> --
> Pranay Pandey
> 
> 
> 
> 
> On Feb 28, 2011, at 12:57 PM, Hardik Handa 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, and then it gets re-directed to the 
>> homepage.
>> 
>> 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.
>> 
>> -----------------------------------------------------------------------------------------------------------------------
> 

Reply via email to