-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
it@coursestore.com
committed
Oct 30, 2023
1 parent
52a7efc
commit f7966f5
Showing
30 changed files
with
2,528 additions
and
1,857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.DS_Store | ||
.github | ||
.github | ||
*.DS_Store | ||
**.DS_Store |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
jQuery(document).ready(function () { | ||
jQuery(".alnazer_knet_pay_fast").click(function (event) { | ||
event.preventDefault(); | ||
let id = jQuery(this).val(); | ||
let quantity = jQuery(this).closest("form").find("input[name=quantity]").val(); | ||
if (quantity <= 0 || quantity == undefined) { | ||
quantity = 1; | ||
} | ||
jQuery.post(ajax_object.ajax_url, { | ||
'action': 'alnazer_knet_fast_pay_action', | ||
'id': id, | ||
'quantity': quantity | ||
}, function (response) { | ||
alert('Got this from the server: ' + response); | ||
}); | ||
//console.log(id,quantity,ajax_object.ajax_url); | ||
}); | ||
|
||
|
||
|
||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.