| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show manufacturer on Invoice | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Show manufacturer on Invoice
Does anyone know how to show the manufacturer of the products on the invoice? I searched and found how to do it on the product details page, but I cant figure out what I need to do in order to get the manufacturer displayed on the invoice (after ordering & the email recieved).
__________________
X-Cart Gold 4.0.16 |
|||||||
#2
|
|||||||
|
|||||||
Nobody knows how to do this? I would appreciate it very much
__________________
X-Cart Gold 4.0.16 |
|||||||
#3
|
|||||||
|
|||||||
Here is a TOTALLY DIRTY way to show the Manufacturer Names on Invoices.
Apply this fix to: /mail/html/order_data.tpl You can place it where you want, but in this instance I have placed it just after Code:
so that the manufacturer name appears on the invoice with a comma, followed by the product name. Code:
These are the reasons this fix is BAD: 1. It is hardcoded PHP in a template 2. I have hardcoded the xcart table name (xcart_manufacturers) into the template - this may need to change depending on your table names. 3. There MUST be a more elegant way to do the database call than hardcoded here in the template like this, but necessity has forced me to produce this dirty fix instead. This is the reason this fix is GOOD: 1. It works. Hope this helps somebody. Rob
__________________
Xcart 4.0.17 |
|||||||
#4
|
|||||||
|
|||||||
Re: Show manufacturer on Invoice
Hey sundance - just in the process of moving over all my products to manufacturer based, and this tweak is exactly what I needed.
Thanks for sharing your knowledge - a 'dirty' fix it may be, but very effective indeed!
__________________
www.smartchoicemusic.com Smart Choice Music - Import CD and DVD Specialists 4.6.0 MySQL 5.5.34 PHP 5.4.24 Apache/2.2.26 Multiple homegrown and paid-for mods |
|||||||
#5
|
|||||||
|
|||||||
Re: Show manufacturer on Invoice
does anybody know the xcart table name (xcart_manufacturers) in 4.1.8?
I can't find this in any files.
__________________
X-Cart Gold 4.1.8 AOM 4.1.8 Apache 1.3.37 (Unix) OS Linux PHP 5.2.3 SQL 5.0.45 |
|||||||
#6
|
|||||||
|
|||||||
Re: Show manufacturer on Invoice
This thread is old, I know but I am looking for the exact same fix. I need to include the manufacturer name on the order lines but I don't know how to do that. X-Cart v4.1.8. Anyone have a clue? Thanks!
__________________
www.qualitylamps.eu X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9 www.vervangjelamp.nl X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2 Sorry for the weird user name, I registered it by mistake |
|||||||
#7
|
|||||||
|
|||||||
Re: Show manufacturer on Invoice
Try this skin1/mail/html/order_data.tpl
Around line 14 under Code:
add Code:
Around line 27 under Code:
add Code:
Then around line 74 Above Code:
Add Code:
Greg
__________________
Greg X-CART Gold 4.1.10 |
|||||||
|
|||
X-Cart forums © 2001-2020
|