This commit is contained in:
Jonathan Chevalier
2022-09-26 13:06:48 +02:00
parent ed03b76aaf
commit 079cb602c7
2 changed files with 23 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ export default {
},
checkIdAddressIsEligible: async function () {
const urlApi = '/php/api/v3/mmcm.php?street=' + encodeURI(this.store.street)
const urlApi = '/php/api/v3/mmcm.php?EXEC=getEligibility&street=' + encodeURI(this.store.street)
+ '&zip_code=' + this.store.zipCode
+ '&city=' + this.store.city
@@ -68,6 +68,8 @@ export default {
}
})
console.log(productList);
this.store.setProductList(productList);
this.$router.push({path: '/delivery-option'});
}