Quote:
Originally Posted by aneel13
Thanks. Do you mean to say that each of the widgets are loaded one by one through the server and I shouldn't manipulate the html directly but instead go for making changes to PHP classes and refreshing the widget by calling them through an additional ajax call?
|
Yes, this is how the checkout page works now - PHP is the part that renders the HTML, JavaScript just loads the updated HTML form the server and replaces it in the browser.
Quote:
Originally Posted by aneel13
The screen shot which you had attached is not available.
|
It is not a screenshot

It is a sample link for such a request - how it looks on my local server.
Quote:
Originally Posted by aneel13
Can you also let me know which widget is responsible for refreshing the first part of checkout which is the shipping address fields?
|
The widget that renders the first column with the address is this one:
\XLite\View\Checkout\ShippingAddress
Quote:
Originally Posted by aneel13
One more thing, if I am developing a new shipping module which is expected to perform the actions which I had previously stated. Then which areas of the xcart package can I touch so that when I export my plugin it has all the changes which are made by me.
Obviously I don't want to touch the core files, I believe it would be something like extending the core files in my plugin if I am not wrong.
|
Yes, you should not change core files. But you can use the ability to "decorate" them instead. Please search for "IDecorator" at
http://kb.x-cart.com/ for articles on this matter.