resolved issue #5208

This commit is contained in:
Shubham Mehrotra 2021-10-10 04:04:22 +05:30
parent 25afa856be
commit f64409ec1a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!}
@php
$width = (core()->getConfigData('catalog.products.storefront.buy_now_button_display') == 1) ? '49' : '95';
$width = (core()->getConfigData('catalog.products.storefront.buy_now_button_display') == 1) ? '49' : '100';
@endphp
<button type="submit" class="btn btn-lg btn-primary addtocart" {{ ! $product->isSaleable() ? 'disabled' : '' }}