Post by Alexisander » Mon Feb 18, 2013 8:03 pm

Hello all. i have a little problem.

In my country we have UNIT TYPE for products, it is the way we sell it:

piece, meter, weight etc...

For this, every product will have in product form, under model, an extra field called UM

For every product, that field weill be with: piece, meteu, weight etc.

Lets say that i create a new order from admin. I go to insert, and i go add my products in the order. I did everything... everything i know to create that extra field... It memorises the information from product form... but when i wanna add the produc to the order... under the UM column it writes: undefined. Look at the screen shots
scr.png

scr.png (46.32 KiB) Viewed 883 times


BUT if i go in my database, and i change undefined word with anything else, it shows me in the order, what i have inserted, lets say: bunny :))

Any help why it auto-inserts the word undefined? and why not my product UM?


THX!!!

Active Member

Posts

Joined
Mon Jul 18, 2011 10:11 pm

Post by Alexisander » Mon Feb 18, 2013 8:04 pm

In other words... i need to multiply the MODEL / product code... same idea... thanks

I have modified: admin/model/sale/order.php
controller/model/sale/order.php
order_form.tpl

all from admin.
i have also added the column in the database, is there soemthing else where i must add the UM?

Active Member

Posts

Joined
Mon Jul 18, 2011 10:11 pm

Post by Alexisander » Tue Feb 19, 2013 1:51 am

tryed more files to modify still cannot make it work ok...

any ideas please?

Active Member

Posts

Joined
Mon Jul 18, 2011 10:11 pm
Who is online

Users browsing this forum: No registered users and 6 guests