I my a ZenNiewbie and I need to add the Manufactures Name of each item ordered in the Order Confirmation eMail. Can someone tell me where to find out to do this?
I my a ZenNiewbie and I need to add the Manufactures Name of each item ordered in the Order Confirmation eMail. Can someone tell me where to find out to do this?
Beau
The order.php class builds the line-item output during the create-add-products() method. You'll have to lookup the manufacturer for each product and then add it as part of that output. Then the send-order-email() method will include that info when it sends the actual emails. You'll definitely need to put on your programmer's hat to do it.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Any chance you know the names of the methods or the file names they're in?
Beau
Yes, I included them in my previous post.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Found what I need to change but as a newbie to all this how do I get the products Manufactures name? I'm attempting to change the method create_add_products at the "// build output for email notification" section.
Can anyone help?
Beau
You could use the zen_get_products_manufacturers_name($product_id) function to look it up.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks for the help, that was just what I needed. For those who come later here is what I had to add
zen_get_products_manufacturers_name($this->products[$i]['id'])
![]()
Beau
Could you tell me exactly where you are putting this and everything you put in to make this work. I have several customers who would like this in their store, but for some reason I can't get it to work.
Thank you very much for your help
I'd like to do this too...any chance of some kind soul giving a step-by-step? My programmer's hat is missing a few top levels LOL![]()
HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe
hello.. hope somebody can help me with this..
see attached file..
thanks!!