import 'ie-array-find-polyfill'
import 'es7-object-polyfill'
import VueSlider from 'vue-slider-component' // See vue-slider.styl for CSS
+ import CartAdd from "./CartAdd";
+
export default {
components: {
- VueSlider
+ VueSlider,
+ CartAdd
},
props: {
<h3><a class="text-navy" href="{{ $product->getEntity()->URL }}">{{ $product->get('reference') }}</a>
</h3>
<div class="product-highlights text-sm">
- <cart-add :product-id="{{ $id }}" class="align-middle">
- {{ __('Ajouter à ma sélection') }}
- <template v-slot:success-message>
- @svg('tick', 'w-4 mr-3') {{ __('Produit ajouté') }}
- </template>
- </cart-add>
+ @if(config('features.quote'))
+ <cart-add :product-id="{{ $product->id }}" class="align-middle">
+ {{ __('Ajouter à ma sélection') }}
+ <template v-slot:success-message>
+ @svg('tick', 'w-4 mr-3') {{ __('Produit ajouté') }}
+ </template>
+ </cart-add>
+ @endif
</div>
<div class="links mt-4">
<div class="link">
@endif
</div>
</div>
-
- @include('partials.product-schema')
-
</div>