Forums / General Questions / show manufacturer in confirmation email

show manufacturer in confirmation email

Locked

Views: 2,275

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
20 Jul 2009, 10:50 AM
#1
lucafrangi71 avatar

lucafrangi71

New Zenner

Join Date:
Jul 2009
Posts:
2
Plugin Contributions:
0

show manufacturer in confirmation email

Hi everyone,
I have a few products (wines) with the same product name (pinot blanc for example) and will love to avoid shipping the wrong wine...
is there a way to show the product manufacturer in the confirmation email?
thanks for any help or any thread I overlooked
luca

21 Jul 2009, 4:04 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: show manufacturer in confirmation email

You can customize the order.php class where the email is built to add the additional information that you need ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Aug 2009, 3:43 PM
#3
corys8646 avatar

corys8646

New Zenner

Join Date:
Oct 2005
Posts:
6
Plugin Contributions:
0

Re: show manufacturer in confirmation email

Has anyone actually done this? would also love to have this but am getting lost in the orders.php file

9 Aug 2009, 4:36 PM
#4
lucafrangi71 avatar

lucafrangi71

New Zenner

Join Date:
Jul 2009
Posts:
2
Plugin Contributions:
0

Re: show manufacturer in confirmation email

I tried to insert in the "build output for email notification" section the following string:
($this->products[$i]['manufacturer'])
but it does not seem to be working... any hint?
tx
luca

9 Aug 2009, 8:22 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: show manufacturer in confirmation email

What do you think:
$this->products[$i]['manufacturer']

will give you? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

27 Aug 2009, 9:54 PM
#6
nudd avatar

nudd

New Zenner

Join Date:
Aug 2009
Posts:
4
Plugin Contributions:
0

Re: show manufacturer in confirmation email

Ajeh:

What do you think:
$this->products[$i]['manufacturer']

will give you? :unsure:

Nothing at all, as I've been experiencing.

Has anyone come up with a solution to this perplexing problem?

Thanks

27 Aug 2009, 10:58 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: show manufacturer in confirmation email

The orders_products table has no information about the manufacturer ... :eek:

However ... you can obtain the information by using a look-up for this based on the products_id ...

You will see the line:

      $this->products_ordered .=  $this->products[$i]['qty'] . ' x ' . $this->products[$i]['name'] . ($this->products[$i]['model'] != '' ? ' (' . $this->products[$i]['model'] . ') ' : '') . ' = ' .

On that line, or near there you will want the manufacturers_name which you can get with the function zen_get_products_manufacturers_name ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Aug 2009, 5:12 PM
#8
nudd avatar

nudd

New Zenner

Join Date:
Aug 2009
Posts:
4
Plugin Contributions:
0

Re: show manufacturer in confirmation email

Thank you for that information it certainly beats my masochistic database querying quasi-solution, I've finally got this functioning.

28 Aug 2009, 8:53 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: show manufacturer in confirmation email

What solution did you end up using for this ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!