add cart test

This commit is contained in:
Kerim 2023-06-21 03:26:12 +05:00
parent b132dcbb76
commit d29274612d
2 changed files with 7 additions and 2 deletions

View File

@ -76,8 +76,8 @@ function onStart(){
<!-- preloader area end -->
<!-- All JS Plugins -->
<!-- <script src="{{'assets/jquery.js'|theme}}"></script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="{{'assets/jquery.js'|theme}}"></script>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> -->
<script src="{{'assets/js/plugins.js'|theme}}"></script>
<!-- Main JS -->
<script src="{{'assets/js/main.js'|theme}}"></script>

View File

@ -13,9 +13,14 @@
headers: {Authorization: 'Bearer {{token}}'},
success: function (data, textStatus, xhr) {
console.log(data);
console.log(textStatus);
console.log(xhr);
},
error: function (xhr, textStatus, errorThrown) {
console.log('Error in Operation');
console.log(xhr);
console.log(textStatus);
console.log(errorThrown);
}
});