This is the code that I wrote for the update cart tpl page and I want to update the cart with my ajax code.
I've tried to use "cm-ajax-force" to my code and it doesn't seem to work for the second time.
I am trying to update the cart when I change the number of products. I m using native responsive theme that comes with cs cart.
I've managed to make the update cart with cm-ajax class for the “Recalculate” button. Now it works fine with the code that I wrote above only for the first time.
After I get the ajax response, the script doesn't seem to work.!
I am trying to update the cart when I change the number of products. I m using native responsive theme that comes with cs cart.
I've managed to make the update cart with cm-ajax class for the “Recalculate” button. Now it works fine with the code that I wrote above only for the first time.
After I get the ajax response, the script doesn't seem to work.!
Any suggestions ?
[/quote]
This code should be located in the block which is updated by the ajax
This code should be located in the block which is updated by the ajax
```php
```
[/quote]
I've written the script code with cm-ajax-force just after the “recalculate” button that is used to calculate the cart total item values. Still its not working.!
Awesome..!! That worked perfectly.. Earlier I had put the code just after "recalculate" button. Then I changed it to cart_items.tpl file and its working fine,
I was working on scroll option instead of pagination for categories page.
The code/script that I wrote in view.tpl file works fine at the first time and then I change it to a different layout and then get back to the grid layout, it shows some “Unexpected end of input” and the error points out on the script code that I wrote for the scroll products.