This commit is contained in:
Jonathan Chevalier
2022-10-06 17:07:12 +02:00
parent 206f766c69
commit 0767e5e7f0
2 changed files with 4 additions and 2 deletions

View File

@@ -38,9 +38,11 @@ export default {
const urlApi = '/php/api/v3/mmcm.php?EXEC=addToCart&ID_PRODUCT=' + this.store.idProduct const urlApi = '/php/api/v3/mmcm.php?EXEC=addToCart&ID_PRODUCT=' + this.store.idProduct
+ '&with_prescription=' + this.store.withPrescription + '&with_prescription=' + this.store.withPrescription
+ '&date_delivery=' + this.store.dateDelivery + '&date_delivery=' + this.store.dateDelivery
//+ '&ID_SESSION=0CuKKzvR' // + '&ID_SESSION=bCyP0dgW'
; ;
// console.log(urlApi)
const result = await fetch(urlApi) const result = await fetch(urlApi)
.then(response => { .then(response => {
if (response.ok) { if (response.ok) {

View File

@@ -2,7 +2,7 @@
<div class="text-center"> <div class="text-center">
<h2 class="mb-4">Votre ordonnance livré à domicile a été ajoutée au panier</h2> <h2 class="mb-4">Votre ordonnance livré à domicile a été ajoutée au panier</h2>
<button class="btn btn-secondary me-4" @click="exitVueApp('/')">Continuer mes achats</button> <button class="btn btn-secondary me-4" @click="exitVueApp('/')">Continuer mes achats</button>
<button class="btn btn-primary" @click="exitVueApp('/cart/p/AFF_COMM/0/0/')">Finaliser ma commande</button> <a class="btn btn-primary" href="https://para-php7-dev.parapharmacie-et-medicament.com/cart/p/AFF_COMM/0/0/" target="_blank">Finaliser ma commande</a>
</div> </div>
</template> </template>