Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/checkout/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
// Remove Items From Cart
$('a.remove').click(function(){
event.preventDefault();
$( this ).parent().parent().hide( 400 );
})
// // SHOPPING CART PLUS OR MINUS
// $('.data').on('click','a.qty-minus', function(e) {
// console.log("hello");
// e.preventDefault();
// var $this = $(this);
// var $input = $this.closest('div').find('#quantity');
// var value = parseInt($input.val());
// if (value > 2) {
// value = value - 1;
// } else {
// value = 1;
// }
// $input.val(value);
// });
// $('.data').on('click','a.qty-plus', function(e) {
// console.log(1);
// e.preventDefault();
// var $this = $(this);
// var $input = $this.closest('div').find('#quantity');
// var value = parseInt($input.val());
// if (value < 100) {
// value = value + 1;
// } else {
// value =100;
// }
// $input.val(value);
// });
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.043 ]-- |