Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Addon For Checkout Steps Rate Topic   - - - - -

 
  • klikk
  • Newbie
  • Members
  • Join Date: 26-Oct 16
  • 1 posts

Posted 26 October 2016 - 04:14 PM #1

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!



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11442 posts

Posted 26 October 2016 - 08:01 PM #2

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.