Infostrates_Tnt

by Peter D.
Open skin/frontend/default/default/js/tnt/tnt.js and find the following lines:
        new Ajax.Request(url,{
                 method:'post',
                 parameters:{street:street,description:description,postcode:postcode,city:city,info_comp:info_comp}
                 });
Replace them with:
        new Ajax.Request(url, {
             method: 'post',
             onComplete: function(response) {
                 document.fire('inforstrates:shippingMethodTntCompleted', response);
             },
             parameters:{street:street,description:description,postcode:postcode,city:city,info_comp:info_comp}
         });

Recent articles

Back to top