Posted on: 4/14/2015 5:04:41 PM | Views : 754

Hello! Need some advice regarding adding items to a cart for the online store.
Currently using this option. ajax+ webservice.
Because on the website there is no authorization of users, while adding products, as a unique identifier used session ID. That is, in the table appended session ID and the information about the product (price, discount....) Sometimes the goods are not added to cart, when  click on the button nothing happens
My code
$(document).ready(function () { $('#add').click(function () { $(this).prop('value', '?????????'); $(this).attr('disabled', 'disabled'); var articul = $('#art').val(); var count = $('#countbox').val(); $.ajax({ type: "POST", url: "../../webservice.asmx/add", data: "{'articul':'" & ...

Go to the complete details ...