Quote:
Originally Posted by DanUK
Another question....X-cart have already modified my checkout sequence to include extra details but they only print out on the order email i.e. the values are not stored in any table. I was thinking of using the code that's been provided to store these fields in the orders_extra table but I notice that the fields I want to use look like this when I view HTML:
Code:
extra[FREE CATALOGUE1]
extra[FREE CATALOGUE2]
not sure how this affects the coding required or how I would add that field to func_place_order. I'm assuming that:
Code:
$extras['extra[FREE CATALOGUE1]'] = $catalogue1
isn't going to work?
|
That might work:
Code:
$extras['extra["FREE CATALOGUE1"]'] = $catalogue1;
(Note the extra set of quotes) I'm never quite sure how to deal with those variables. They seem odd to me. Search for "posted_data" in /include to see how another similar variable is used. Hopefully someone who knows can help us out.