Order received

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Order received

Post by joaoserra69 » 31 Jan 2018, 13:17

Hello,
Would you please let us know how we can show some of the order form fields content on the document that we receive per e-mail.
We have for example added a field "Delivery date" but our customer who receives the orders cannot see when he has to deliver, unless he goes to his website admin.
Thank you very much in advance for your help and best regards,
Joao

Tags:


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40103
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan » 04 Feb 2018, 19:06

Hi, I am now preparing new variables for the emails, for now such are available:

{name}
{email}
{emailothers}
{downloadlink}
{orderlink}
{trackinglink}
{shippingtitle}
{dateshipped}
{trackingdescription}
{customercomment}
{websitename}
{websiteurl}
So if you use the tracking shipping feature, you can try to test:
{orderlink}
{trackinglink}
{shippingtitle}
{dateshipped}
{trackingdescription}

the trackinglink is used so customer can see where the package is and when it will be ready to pickup :idea:

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

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 » 08 Mar 2018, 12:45

Hello Jan,

Thank you for your reply. We would like to know how we can edit the "Order status" e-mail document.

Where and how can we use the variables you mentionned below.

Thank you very much for your help and best regards,
Joao

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 » 13 Mar 2018, 13:34

Hello Jan,
Could you please let us know where we can find the order mail file that is sent to the seller. We need to customize it and add some information, such as e-mail address of the customer and the comments box.
Thank you for your help,
Joao

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40103
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan » 13 Mar 2018, 15:21

Hi, what you mean with "order mail file"? Do you mean the code?

See:
administrator\components\com_phocacart\libraries\phocacart\order\status.php

starting on line cca 396:

Code: Select all

// ------------------------
// BUILD EMAIL for customer or others
// ------------------------
If you find Phoca extensions useful, please support the project

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 » 13 Mar 2018, 21:17

Hi,

Yes exactly!

We need to customize the "others mail". We would add some information, "e-mail address of the customer" and "comments".

How can we add this to the mail?

Thanks

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 » 15 Mar 2018, 17:53

Hi,

We need to customize the mail. We would add "e-mail address of the customer" and "comments".

How can we add this to the mail?

Thanks

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40103
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan » 18 Mar 2018, 14:34

Hi, see my previous posts, you can see the variables there:
{email}

{customercomment}

which you can add to the email template (in order status)

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

joaoserra69
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 » 22 Mar 2018, 17:25

YessSsSsSS!!!

It works fine!!

Thanks!!

:twisted:

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 40103
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan » 26 Mar 2018, 00:39

Ok, great to hear it.

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

Post Reply