Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • nijas 8 posts 89 karma points
    Feb 25, 2019 @ 09:08
    nijas
    1

    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?

  • Matt Brailsford 2114 posts 10380 karma points MVP 5x c-trib
    Feb 25, 2019 @ 09:36
    Matt Brailsford
    0

    I guess you could URL rewrite it to another URL but why would you need to do that?

  • nijas 8 posts 89 karma points
    Feb 25, 2019 @ 09:41
    nijas
    0

    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.

  • Matt Brailsford 2114 posts 10380 karma points MVP 5x c-trib
    Feb 25, 2019 @ 09:51
    Matt Brailsford
    100

    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.

  • nijas 8 posts 89 karma points
    Feb 25, 2019 @ 09:55
    nijas
    0

    Thanks matt, that's really helpful

Please Sign in or register to post replies

Write your reply to:

Draft