updated again

This commit is contained in:
franknstayn
2021-10-09 20:45:22 +08:00
parent f8b87ea787
commit cb77e3b423
3 changed files with 8 additions and 6 deletions

View File

@@ -1981,7 +1981,7 @@
// console.log(response);
if (response) {
alert("Address is successfully added.");
window.location = "{{ url('user/address-book') }}";
window.location = "{{ url('/cart') }}";
} else {
alert("Something went wrong. Please try again!");
location.reload();
@@ -2013,7 +2013,7 @@
// console.log(response);
if (response) {
alert("Address is successfully updated.");
window.location = "{{ url('user/address-book') }}";
window.location = "{{ url('/cart') }}";
} else {
alert("Something went wrong. Please try again!");
location.reload();