Hi everyone,
Which hook should be used to query the POST parameters after the Next buttons (in checkout page). I use calculate_cart_post hook and $_REQUEST['update_step'] command but doesn't work.
Thank you!
Hi everyone,
Which hook should be used to query the POST parameters after the Next buttons (in checkout page). I use calculate_cart_post hook and $_REQUEST['update_step'] command but doesn't work.
Thank you!
If you want to conditionally review posted data and/or get data for each step, then you could simply use a pre/post controller. I.e.
app/addons/my_changes/frontend/checkout.pre.php
You can then see/adjust any data. The calculate_cart_post hook won't be called unless something has changed in one of the steps to affect the cart contents or value.