Thanks Gary. It does need refining now that its working correctly, and the date time is the next step forward.
Is there a simple way to add it into the order history?
Checkout_confirmation hook working but visually different
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Checkout_confirmation hook working but visually different
I haven't thought about it in-depth, but the general idea would be to have a new column in the order table, then write the date to it if they click that waiver.
Very similar process is done in the MATC thing, where agreement is stored -> but do note that this is stored in a table of its own (as it stores other data, not just date/time). But that should give you an idea of the way forward.
Very similar process is done in the MATC thing, where agreement is stored -> but do note that this is stored in a table of its own (as it stores other data, not just date/time). But that should give you an idea of the way forward.
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: Checkout_confirmation hook working but visually different
Thanks for your help. All sorted now with a little code change and getting rid of the tep_ bits.