Important information (question) for all...

I think, that this question is very important for ALL beginners in CS cart.



That's question.



How to Array the $order_info in controllers , which can be help us, to add some information about order's in many pages in admin front.



please, give us an example:







[size=5][color=#ff0000]P.S.[/color][/size]

[size=5][color=#ff0000]This is SMARTY debug information about $order_info in order details page. And now, can we use this array (and how) in order managment page?[/color][/size]



Array (85)

order_id[color=#008000][font=monospace][size=2][left] => “1000230”[/left][/size][/font][/color]

is_parent_order[color=#008000][font=monospace][size=2][left] => “N”[/left][/size][/font][/color]

parent_order_id[color=#008000][font=monospace][size=2][left] => “0”[/left][/size][/font][/color]

company_id[color=#008000][font=monospace][size=2][left] => “0”[/left][/size][/font][/color]

user_id[color=#008000][font=monospace][size=2][left] => “1”[/left][/size][/font][/color]

total[color=#008000][font=monospace][size=2][left] => “46000.00”[/left][/size][/font][/color]

subtotal[color=#008000][font=monospace][size=2][left] => “29000”[/left][/size][/font][/color]

discount[color=#008000][font=monospace][size=2][left] => “0.00”[/left][/size][/font][/color]

subtotal_discount[color=#008000][font=monospace][size=2][left] => “0.00”[/left][/size][/font][/color]

payment_surcharge[color=#008000][font=monospace][size=2][left] => “0.00”[/left][/size][/font][/color]

shipping_ids[color=#008000][font=monospace][size=2][left] => “11”[/left][/size][/font][/color]

shipping_cost[color=#008000][font=monospace][size=2][left] => “17000.00”[/left][/size][/font][/color]

timestamp[color=#008000][font=monospace][size=2][left] => “1327397990”[/left][/size][/font][/color]

status[color=#008000][font=monospace][size=2][left] => “O”[/left][/size][/font][/color]

notes[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

details[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

promotions[color=#008000][font=monospace][size=2][left] => [/left][/size][/font][/color]Array (0)

promotion_ids[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

title[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

firstname[color=#008000][font=monospace][size=2][left] => “Name”[/left][/size][/font][/color]

lastname[color=#008000][font=monospace][size=2][left] => “Surname”[/left][/size][/font][/color]

company[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_title[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_firstname[color=#008000][font=monospace][size=2][left] => “Name”[/left][/size][/font][/color]

b_lastname[color=#008000][font=monospace][size=2][left] => “Lastname”[/left][/size][/font][/color]

b_address[color=#008000][font=monospace][size=2][left] => “Address”[/left][/size][/font][/color]

b_address_2[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_city[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_county[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_state[color=#008000][font=monospace][size=2][left] => “Region”[/left][/size][/font][/color]

b_country[color=#008000][font=monospace][size=2][left] => “RU”[/left][/size][/font][/color]

b_zipcode[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]

b_phone[color=#008000][font=monospace][size=2][left] => “05987456789654”[/left][/size][/font][/color]

s_title[color=#008000][font=monospace][size=2][left] => “”[/left][/size][/font][/color]





[left][size=6][font=“monospace”][color=“#008000”]ETC…[/color][/font][/size][/left]

You raise a very good question, but not many forum users will find the title when they search. A more appropriate Title would help.

Your issue is important. Not only for the orders.manage pages but for mail templates etc. It seems that every time I want to add more order info to a template, I have to get the helpdsk to give me function code to extract it. The stanard cscart functions only extract database data that is used for the standard templates, rather than extract all of it in readiness for modifications.

i have founded the answer of my question:)