| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display product extra field data on Invoice | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Display product extra field data on Invoice
Thanks man!
__________________
X-Cart version 4.5.5 |
|||||||||
#12
|
|||||||||
|
|||||||||
Re: Display product extra field data on Invoice
We're trying to get our extra fields values to show in the admin product list so we can quickly edit the value (like you can with price and inventory). We created a new extra field for cost since we are a dealer of products.
I've added the following code to a new TPL file: Code:
It seems as if the product extra field array is not working, since it is not printing anything.
__________________
Marcello Canitano New Site: X-Cart v4.5.5 GOLD X-Cart Mobile v1.4.3 X-Payments v1.0.6 CDSEO Pro v2 Total Server Solutions xCDN www.silverhorseracing.com |
|||||||||
#13
|
|||||||
|
|||||||
Re: Display product extra field data on Invoice
Quote:
Will it work on 4.6.1 Platinum? How to call this in cart and checkout page?
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#14
|
|||||||
|
|||||||
Re: Display product extra field data on Invoice
Quote:
Any one can help me please ?
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#15
|
|||||||||
|
|||||||||
Re: Display product extra field data on Invoice
Quote:
|
|||||||||
#16
|
|||||||
|
|||||||
Re: Display product extra field data on Invoice
Quote:
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#17
|
|||||||||
|
|||||||||
Re: Display product extra field data on Invoice
In that file look for "function func_order_data(..." and you'll see in older versions there is code for Extra_Fields that does not appear to be present in 4.7.7.
Most likely this was during the Extra_Field purge in 4.7.4: https://forum.x-cart.com/showthread.php?t=73783 |
|||||||||
#18
|
|||||||
|
|||||||
Re: Display product extra field data on Invoice
Quote:
in function func_order_data sectio in 4.7.7 following code is missing PHP Code:
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#19
|
|||||||||
|
|||||||||
Re: Display product extra field data on Invoice
Yes, it probably will work.
|
|||||||||
#20
|
|||||||
|
|||||||
Re: Display product extra field data on Invoice
Hi cherie,
Thanks a lot. Your suggestion did work If any one want to get it work for 4.7.7 then just open /include/func/func.order.php and before PHP Code:
Put the following code PHP Code:
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|