Order received

Phoca Cart - complex e-commerce extension
joaoserra69
Phoca Member
Phoca Member
Posts: 18
Joined: 08 Jul 2016, 00:05

Order received

Post by joaoserra69 »

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: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan »

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: 18
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 »

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: 18
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 »

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: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan »

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: 18
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 »

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: 18
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 »

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: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Order received

Post by Jan »

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: 18
Joined: 08 Jul 2016, 00:05

Re: Order received

Post by joaoserra69 »

YessSsSsSS!!!

It works fine!!

Thanks!!

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

Re: Order received

Post by Jan »

Ok, great to hear it.

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