Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

xcart place order and flow

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-25-2019, 09:25 AM
 
Amitk Amitk is offline
    
Join Date: Jan 2019
Posts: 1
 

Exclamation xcart place order and flow

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
__________________
Amit Kumar
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:37 PM.

   

 
X-Cart forums © 2001-2020