I'm using the Shopp Plugin, and basically, I need to send an email to a unique email address field that I've created on the front end. The transaction has to complete fully before sending it. I mean, money has to have been transferred successfully, etc. I've attached the fields to a particular set of products, and I can move the data between pages (via $_POST of course), ie; Product -> Cart -> Checkout... It's after this that's the problem. Landing on the Thank you page or whatever, I don't have access to the finalized list of items that were bought, via the $_POST method. Could someone point me in the right direction? Thanks

1 Answer 1


Seems like an awkward way to go about this. Can't you use the shopp_order_notifications filter?

Take a look at https://shopplugin.net/api/shopp_order_notifications/ for the docs.

  • Right, that's true. Definitely part of what I'm doing. But my problem is on that page, how do I call the products that were successfully ordered? I need that data (the IDs, etc.) so that I can know what information to process in my function.
    – willbeeler
    Nov 12, 2012 at 18:56
  • I'm sorry, I meant to say *in that function...
    – willbeeler
    Nov 12, 2012 at 18:57
  • 1
    You need to take a look at shopp_order_line_data ( $order, $line, $name ) which returns information about the line items for a given order no. That way you can process each line item.
    – Steve
    Nov 12, 2012 at 19:02
  • Ah, ok. That helps out a lot!
    – willbeeler
    Nov 12, 2012 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.