On the site. I have created a shop. This requires that when the user orders, the email of the 'CartOrderRecipient' would be dynamic. So, when I use AJAX to replace the 'CartOrderRecipient' field, I can see in 'IE developer' that the email address has been changed, but the email is not sent to the 'CartOrderRecipient' that I changed. It seems the form posts back to the same page and the 'CartOrderRecipient' that I changed is replaced again by the one set in the shopping cart module of the adminstration. That doesnt make any sense, since its a form field and I was hoping we can programmaticaly change it. Is the something am doing wrong |
|
Consequence: | |
The 'CartOrderRecipient' address that we replace with AJAX is not used, rather it it uses that of the shop cart module again. | |
Steps to reproduce: | |
Go to the above page 1. put a number in one of the items and click 'læg i kurv' 2. cliick gå til bestilling At the bestilling: 1. enter your name 2. Address 3: TYPE '9900' at the postnr 4. type your email 5. Phone number 6. from the 6 list of installators return select "Dafolo-marketing:Test, Frederikshavn". This is where we AJAX and replace the email address. |