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. ----------------------------------------------------------------------------------------------------------------------- |
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. ----------------------------------------------------------------------------------------------------------------------- |
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. > > ----------------------------------------------------------------------------------------------------------------------- |
I am not asking for email options, all i ask is to add to cart using html.
-----Original Message----- From: Pranay Pandey [mailto:[hidden email]] Sent: 28 February 2011 PM 02:18 To: [hidden email] 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. > > ----------------------------------------------------------------------------------------------------------------------- |
I know that. I just wanted to let you know the path so you know how email html templates are prepared in ofbiz.
Thanks & Regards -- Pranay Pandey 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:[hidden email]] > Sent: 28 February 2011 PM 02:18 > To: [hidden email] > 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. >> >> ----------------------------------------------------------------------------------------------------------------------- > |
In reply to this post by hardik handa
I assume you'r familiar with how a html form works, how we can use it to
submit data to any url. You will need to add the same form in your email template, for which you will need to follow the same path as suggested by Pranay. On Monday 28 February 2011 02: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:[hidden email]] > Sent: 28 February 2011 PM 02:18 > To: [hidden email] > 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. >> >> ----------------------------------------------------------------------------------------------------------------------- >> > -- Thanks& Regards Atul Vani Enterprise Software Developer HotWax Media Pvt. Ltd. http://www.hotwaxmedia.com/ We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself. |
Thanks helped a lot
-----Original Message----- From: Atul Vani [mailto:[hidden email]] Sent: 28 February 2011 PM 02:34 To: [hidden email] Subject: Re: HTML page with add to cart I assume you'r familiar with how a html form works, how we can use it to submit data to any url. You will need to add the same form in your email template, for which you will need to follow the same path as suggested by Pranay. On Monday 28 February 2011 02: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:[hidden email]] > Sent: 28 February 2011 PM 02:18 > To: [hidden email] > 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. >> >> ----------------------------------------------------------------------------------------------------------------------- >> > -- Thanks& Regards Atul Vani Enterprise Software Developer HotWax Media Pvt. Ltd. http://www.hotwaxmedia.com/ We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself. |
In reply to this post by hardik handa
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:[hidden email]] > Sent: 28 February 2011 PM 02:18 > To: [hidden email] > 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. >> >> ----------------------------------------------------------------------------------------------------------------------- > |
Thanks mate it helped a lot :)))
-----Original Message----- From: Deepak Dixit [mailto:[hidden email]] Sent: 28 February 2011 PM 02:55 To: [hidden email] Cc: Deepak Dixit Subject: Re: HTML page with add to cart 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:[hidden email]] > Sent: 28 February 2011 PM 02:18 > To: [hidden email] > 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. >> >> ----------------------------------------------------------------------------------------------------------------------- > |
In reply to this post by hardik handa
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 <[hidden email]> 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. > > > ----------------------------------------------------------------------------------------------------------------------- > |
Sorry I had forgot to close the issue at the mailer list, I had achieved it after few hours. But still thanks for reverting
From: Rishi Solanki [mailto:[hidden email]] Sent: Thursday, March 31, 2011 1:35 PM To: [hidden email] Cc: Hardik Handa Subject: Re: HTML page with add to cart 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 <[hidden email]<mailto:[hidden email]>> 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><http://www.hcltech.com> www.hcl.com<http://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. ----------------------------------------------------------------------------------------------------------------------- |
Free forum by Nabble | Edit this page |