How to make changes to orders

footprintdesign

Avatar: footprintdesign

2008-03-12 12:55

Hi guys,

I would like to make some changes of customer details fields from send order page. As I found out browsing the forum it is quite difficult to put some new fields here, so I decided to change only some field labels to meet my needs. For example I would like to change the label Company to City, Street (as it shows in Ro) to Address and City to County. From where can I make this changes?

And another question. I'm using Q.C. v1.4 and SendOrderToClient for it. When sending order to client, just few fields are included in the sent email. I would like to include ALL the field the customers fills in when sending the order. Can you tell me what is the code what I have to put to the existing code?

---------------------------------------------------
Delivery data
---------------------------------------------------
Name: $_POST[sFirstName] $_POST[sLastName]
Address: $_POST[sStreet]
Zip: $_POST[sZipCode]
City: $_POST[sCity]
Phone: $_POST[sTelephone]
Company: $_POST[.....................]
Email: $_POST[......................]
Comments: $_POST[....................]
..................................

Thanks in advance.

» Quick.Cart v1.x

Attila

merci

No avatar

2008-03-13 09:09

footprintdesign - changes of labels is much more easy, it is enough to modify file lang/en.php and change names of selected lang variables, for example if you want to chage company to city, find line:

$lang['Company'] =        'Company';

and change it for:

$lang['Company'] =        'City';


You should also make field 'company' after changes necessary, now it is optional. You can find similar problem on forum.

If about second your problem, pleas write it in new topic, here is the rule - one problem = one topic.

footprintdesign

Avatar: footprintdesign

2008-03-13 21:43

merci, thanks for your help.
Regarding my second question I'm sorry, I didn't knew about that rule. But now I know it, and I have already post my question in a new topic. :)

Attila

footprintdesign

Avatar: footprintdesign

2008-03-16 20:42

Merci - I tried what you suggested to me:

"
footprintdesign - changes of labels is much more easy, it is enough to modify file lang/en.php and change names of selected lang variables, for example if you want to chage company to city, find line:
$lang['Company'] = 'Company';
and change it for:
$lang['Company'] = 'City';

"

but there is a problem, because after makeing the modifications of file lang/ro.php if I try to add a product to cart all it appears is:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/alexelec/public_html/lang/ro.php:535) in /home/alexelec/public_html/actions_client/orders.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/alexelec/public_html/lang/ro.php:535) in /home/alexelec/public_html/actions_client/orders.php on line 29


What this means? What is wrong??????????

Attila

merci

No avatar

2008-03-17 10:12

footprintdesign - probably you have in line 535 some 'empty char' maybe space or enter.

footprintdesign

Avatar: footprintdesign

2008-03-19 21:17

Merci - thank you again! In deed, there was 2 enter I had to delete. And now it's working. Guys, you are doing a wonderful job here!

Attila

Back to top
about us | contact