cart import via link messages
parent
b473887e89
commit
fb13d307da
|
@ -2,7 +2,8 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="">
|
<list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/lists.json" beforeDir="false" afterPath="$PROJECT_DIR$/lists.json" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/content/master.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/master.blade.php" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
|
|
@ -122,33 +122,74 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal fade bd-example-modal-sm" id="modal-confirm-addition-of-products" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
<div class="modal fade bd-example-modal-sm" id="modal-confirm-addition-of-products" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog modal-sm">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header" style="background-color: #546c8a; color: white;">
|
||||||
|
<h5>Vorgefertigten Warenkorb ansehen?</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Você gostaria de colocar os produtos do link no carrinho?</p>
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
|
||||||
|
<lottie-player src="https://assets6.lottiefiles.com/packages/lf20_Ch6lCf.json" background="transparent" speed="0.6" style="width: 180px; height: 180px; margin-left:30%;" loop autoplay></lottie-player>
|
||||||
|
<br>
|
||||||
|
Der angeklickte Link erhält einen vorgefertigten Warenkorb.<br> Sie können diesen importieren und dann die Produkte ansehen.
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary btn-confirm-product-link" data-bs-dismiss="modal">Ja</button>
|
<button type="button" class="btn btn-link" data-bs-dismiss="modal">Abbrechen</button>
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Nein</button>
|
<button type="button" class="btn btn-primary btn-confirm-product-link" data-bs-dismiss="modal">Warenkorb ansehen</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal fade bd-example-modal-sm" id="modal-confirm-product-replacement" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
<div class="modal fade bd-example-modal-sm" id="modal-confirm-product-replacement" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog modal-sm">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header" style="background-color: #546c8a; color: white;">
|
||||||
|
<h5>Bestehenden Warenkorb verwerfen?</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>Você possui produtos no carrinho, deseja descartar e colocar os produtos do link no carrinho?</p>
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<lottie-player src="https://lottie.host/72251293-3f2d-45fe-859c-b967787a424b/XWNIgGYQEy.json" background="transparent" speed="0.2" style="width: 180px; height: 180px; margin-left: 28%;" loop autoplay></lottie-player>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
Es befinden sich bereits Waren in Ihrem Warenkorb. Durch den Import der neuen Einkaufsliste wird die bestehnde Liste ersetzt.
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary btn-confirm-product-link" data-bs-dismiss="modal">Ja</button>
|
<div class="row">
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Nein</button>
|
|
||||||
|
<div class="col-4 text-start">
|
||||||
|
<button type="button" class="btn btn-link" data-bs-dismiss="modal">Abbrechen</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-8">
|
||||||
|
<button type="button" class="btn btn-primary btn-confirm-product-link" data-bs-dismiss="modal">Warenkorb ersetzen</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -310,7 +351,7 @@
|
||||||
url: url,
|
url: url,
|
||||||
};
|
};
|
||||||
$(".btn-share").click(async function() {
|
$(".btn-share").click(async function() {
|
||||||
if(navigator.share) { try { await navigator.share(shareData); } catch(err) { console.warn(err); } }
|
if(navigator.share) { try { await navigator.share(shareData); } catch(err) { console.warn(err); } }
|
||||||
else { console.warn('Native Web Sharing not supported'); }
|
else { console.warn('Native Web Sharing not supported'); }
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue