new array in page editing product

cachousam

Avatar: cachousam

2009-12-21 10:11

Hi,
I want to create a new array with variable in page editing product.
It is ok .You can see this here:

http://img188.imageshack.us/img188/8217/20091221101315.png

But, which file I must edit to save my variable in the database.
Thanks for your help.

» Quick.Cart v3.x

cachousam

Avatar: cachousam

2009-12-21 10:14

Exuse me the good link is:

http://img705.imageshack.us/img705/7578/20091221101642.png

beholder

Avatar: beholder

2009-12-21 14:32

Off the top of my head: try orders.php (add $ at the end of every order line) + orders.def.php (add the new variable to all three lines) + template (add it where it belongs, don't mess it up). Should work automatically. Make backup first.

cachousam

Avatar: cachousam

2010-02-05 15:18

Thanks beholder but you have made a mistake
It is not this page in admin that i want to change but this one:

http://img685.imageshack.us/img685/8303/productediting.png

The array is create in container but which file i must change to save my variable in the database.This variable is only for display in this page.no function needed.
Thanks

beholder

Avatar: beholder

2010-02-07 14:51

I wrote that you also need to modify the "template (add it where it belongs, don't mess it up)". You probably didn't - I don't see it in the pic - you need to modify file templates/admin/products.tpl, in block FORM_MAIN. Add the input field there. Make sure you are using the same variable as the one you created when modifying db structure.

cachousam

Avatar: cachousam

2010-02-10 21:49

Hi marek
I can not get you to understand my need
it is not very simple but when i would have succeeded i post the solution
Cheer

Back to top
about us | contact