I want to integrate a newsletter (Mailchimp API ) along with the Cart information on form submit. I want the same data to be sent for the newsletter subscribe.
You can store custom properties, such as "subscribeToNewsletter" against the order using Order Properties API https://docs.teacommerce.net/3.3.0/api/order-property/, and then listen for the order Finalized event and grab the relevant information from the order and send it to where you need to.
You really shouldn't need to override the FormPost.aspx URL.
How to override Tea commerce form action "/base/TC/FormPost.aspx"?
Is it possible to override Tea commerce form action "/base/TC/FormPost.aspx"? If yes, how is it work?
I guess you could URL rewrite it to another URL but why would you need to do that?
I want to integrate a newsletter (Mailchimp API ) along with the Cart information on form submit. I want the same data to be sent for the newsletter subscribe.
In that case you are probably better off using the Tea Commerce events system documented here https://docs.teacommerce.net/3.3.0/api/events/
You can store custom properties, such as "subscribeToNewsletter" against the order using Order Properties API https://docs.teacommerce.net/3.3.0/api/order-property/, and then listen for the order
Finalized
event and grab the relevant information from the order and send it to where you need to.You really shouldn't need to override the FormPost.aspx URL.
Thanks matt, that's really helpful
is working on a reply...