View Single Post
  #2  
Old 01-28-2019, 02:49 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: xcart place order and flow

Hi @Amitk,

You should decorate \XLite\Controller\Customer\Checkout class and define your own version of the doActionCheckout() method.

Let me know if this is something you are looking for.

Tony

Quote:
Originally Posted by Amitk
I am new to xcart and i have no idea how this workflow works.
I have seen some of the examples and code for Xcart.
I want to use a middleware [a function or some validation] to work while user will click "Place Order" Button.

I have gone through Xcart code in multiple files but dont know how the workflow goes.

Anyone please help me out here...

Thanks
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote