![]() |
Re: Display product extra field data on Invoice
Thanks man!
|
Re: Display product extra field data on Invoice
1 Attachment(s)
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:
{foreach from=$products item=product name=prod} {*this gets the product array*} It seems as if the product extra field array is not working, since it is not printing anything. |
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? |
Re: Display product extra field data on Invoice
Quote:
Any one can help me please ? |
Re: Display product extra field data on Invoice
Quote:
|
Re: Display product extra field data on Invoice
Quote:
|
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 |
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:
|
Re: Display product extra field data on Invoice
Yes, it probably will work.
|
Re: Display product extra field data on Invoice
Hi cherie,
Thanks a lot. Your suggestion did work :D/ 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:
|
All times are GMT -8. The time now is 04:54 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.