When an order is complete, and a new entry has been created within the ‘Purchased Items’ channel, does the entry_submission_end EE hook fire? I need to process some data as orders are completed with the data held within this channel.

2 Answers 2


You should use the cartthrob_on_authorize hook. From there you can find the entry ID's of the saved purchased items entries:

$entry_ids = $this->EE->cartthrob->cart->order('purchased_items');

foreach ($entry_ids as $entry_id)
    //do some more processing here

CartThrob doesn't use the Channel Entries API, so the entry_submission_end hook is never triggered. You will need to use one of the hooks they provide instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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