View Single Post
  #5  
Old 08-05-2015, 11:46 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Where to place the common ajax functions for shipping module plugin

It can be any URL pointing to a valid controller class. It's the controller and the view classes that should implement the AJAX logic.

If you need json response, use the WidgetsCollection controller as the example.
If you need html response (I believe so), check how the checkout controller reloads page sections.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions