Notify by email the order details on status complete

Phoca Cart - complex e-commerce extension
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Notify by email the order details on status complete

Post by landed »

Hi
I am trying to send details of the order which come in the form of the title of the product, variants and quantity. And also attributes.
There are variables for most things except some of these. Or am I missing vital documentation.

I need to email suppliers when an order gets confirmed.

Is there any other way like allowing certain user group to get access to order details. So they can login and see the orders. Prefer to limit what they can see as I only want them to see the orders of their products not others. In the past just emails have worked.

Thank you.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Notify by email the order details on status complete

Post by Nidzo »

I need to email suppliers when an order gets confirmed.
Set email content of Confirmed status in Order statuses. When you want to confirm order, find that order in Orders then Edit. Select Notify Customer and select Confirmed status. Check does other parameters suits your needs and click on Edit status.
Email to customer will be sent.
.So they can login and see the orders.
If you allow registering and login then create menu item Phoca Cart > Orders layout. Set it to registered access, and customer can see all orders he created when he login to your store.
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Notify by email the order details on status complete

Post by landed »

Thanks, I already have an email setup and it does send when I click confirm just that I wanted this to happen automatic when paypal sends the confirmation. I don't think the standard paypal plugin can do this though. Perhaps I will default to Stripe if it does this.

I want the vendor only to see his own orders.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Notify by email the order details on status complete

Post by Jan »

When PayPal sends the confirmation to the server and the status is changed, then it depends on status if email will be sent. So e.g. if confirmed status includes sending of email and PayPal sends the request to server and status will be changed from Pending to Confirmed, then the email is sent from your server:
viewtopic.php?p=177700#p177700

Jan
If you find Phoca extensions useful, please support the project
Post Reply