GOAL
I wanted to add an additional dropdown to my checkout_shipping, Not a problem it is added to the tpl_checkout_shipping_default.php as a "CUSTOM" edit and it appears on my form fine.
Goal was to add a dropdown box to page #1 of #3 Cart Checkout screens and create a $_SESSION value after Submit ($_POST value) to hold until the ORDER was ready to write to DB and Add the NEW data also.
I am LOST and wading in the swamp of: Classes, Pages, etc....
Seemed the next step after the "tpl" change was Custom 'Page' for (.../header_php.php)!?
It is my understanding ZC loops back on Page#1 to be sure nothing is missing and then does a REDIRECT to Page#2, Naturally dropping the $_Post values. arrrrrrg!
I would be happy! to see the $_Session or $_Post, not sure where to put a break.
<?php Print_r ($_SESSION); die("blahblahblah")?>
Thought I would set in header_php.php and display On #1 or #2
If I can learn/trace the $_POST process better, I should be able to just set $_SESSION values as I move from page 1,2, to 3 using the $_SESSION['NEWFIELD'] = $_POST['NEWFIELD'];
Then a forum message suggested an OBSERVER vs. header_php.php, which would be able to see the $_POST from Page #1 at the correct time??
But I am not sure of the EventID to watch for??
$this->notify('????????????????');
# NOTIFY_HEADER_START_CHECKOUT_SHIPPING
# NOTIFY_HEADER_END_CHECKOUT_SHIPPING
# NOTIFY_HEADER_START_CHECKOUT_SHIPPING_ADDRESS
# NOTIFY_HEADER_END_CHECKOUT_SHIPPING_ADDRESS
So
Which way is NORTH??
I am not even sure any more where or when to do a var_dump??
Reading Links or Examples would be great direction!
THanks in advance for the push in correct direction.
PC
If it matters I have Zen 1.3.8a Vanilla install.
I assume the logic would be same for 1.3.9 etc etc.






