$optDetails = [];
$explodeRef = explode("|", $refs);
-
if (sizeof($explodeRef) > 1) {
$options = json_decode($productsInfosBase[$id][0]['json'], true);
+ if(!$options) {
+ return false;
+ }
+
foreach ($explodeRef as $key => $ref) {
$key -= 1;
if ($key > -1) {
<link-button class="block text-center" :href="$nav->getHrefByName('cart')">
{{ __('Obtenir un devis') }}
</link-button>
+ @if(Auth::guard('web-clients')->check())
+ <div class="text-center">
+ <a href="" class="animated-underline mt-5 inline-block" @click.prevent="storeCart()">{{ __('Enregistrer ce panier') }}</a>
+ </div>
+ @endif
</div>
<div class="cart-header-popout-footer" v-cloak v-else-if="cartItemCount > 0 && cartItemCount === cartItemHasPriceCount">
<div class="cart-total text-navy text-center mb-5 text-2xl">