Subversion Repositories SmartDukaan

Rev

Rev 1372 | Rev 1516 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1372 Rev 1410
Line 215... Line 215...
215
               type: "POST",
215
               type: "POST",
216
                      url: "/cart",
216
                      url: "/cart",
217
                      data: "productid="+seldata,
217
                      data: "productid="+seldata,
218
                      success: function(msg){
218
                      success: function(msg){
219
                           $("#cartItemCount").html(msg*1);
219
                           $("#cartItemCount").html(msg*1);
-
 
220
                           window.location="/cart";
220
                           //alert( "Data Saved: " + msg );
221
                           //alert( "Data Saved: " + msg );
221
                      }
222
                      }
222
          });
223
          });
223
     }else{
224
     }else{
224
          alert("Please select atleast one product");
225
          alert("Please select atleast one product");