Re: Ship Complete vs Partial Ship option?
Yeah...crap. That's all kinds of wrong. I'm embarrassed to even have that posting there. I still haven't figured out how to do it yet, but I'm workin' on it.
Re: Ship Complete vs Partial Ship option?
You are trying to insert a new field into the orders table ...
But, you are trying to do this at the wrong point ...
Gather the information to a $_SESSION variable such as $_SESSION['ship_complete'] where the value is 0 or 1 ...
Then in the order.php if you were to follow everywhere the ip_address is managed ... that is where you need to add your ship_complete ...
Now so that the data is managed in all the other files of the checkout right ... look how the comment is handled ... and you would use your ship_complete in the same manner so that it carries from page to page ...
So "collecting" the information for the new field ship_complete follows the comment ... and "adding" the new field ship_complete follows the ip_address ...
Easy smeazy ... eh?! :lamo:
Re: Ship Complete vs Partial Ship option?
Screw it. I give up. I went to /includes/languages/english/checkout_shipping.php and added
PHP Code:
define('TABLE_HEADING_COMMENTS', 'Special Instructions or Comments About Your Order:<br/><br/>All orders will ship complete unless otherwise noted here:');
How about that for a simple solution, eh?
Re: Ship Complete vs Partial Ship option?
Crap. Sorry Ajeh...I didn't see your post before I wrote my last one! My bad! I'll totally give it another whirl now that I've gotten a little guidance! Thank you so much!
Re: Ship Complete vs Partial Ship option?
Ok...so...the files I need to edit are:
/includes/classes/order.php
/includes/modules/pages/checkout_shipping/header_php.php
/includes/modules/pages/checkout_process/header_php.php
/includes/includes/modules/pages/checkout_payment/header_php.php
/includes/modules/pages/checkout_confirmation/header_php.php
The header.php files are the ones that carry the $_SESSION data from one page to the other...right?
Re: Ship Complete vs Partial Ship option?
That is correct ... look in the header_php files for how the $_SESSION['comments'] is managed and used so not to lose the comments from page to page between the variable $comments and $_SESSION['comments'] ...
Then do a search in the order.php class for how the ip_address is put into the orders table ...
Just follow the bouncing balls ... :cool: