diff --git a/packages/Webkul/Shop/src/Resources/views/products/add-buttons.blade.php b/packages/Webkul/Shop/src/Resources/views/products/add-buttons.blade.php index 7bb923696..ce1af212b 100644 --- a/packages/Webkul/Shop/src/Resources/views/products/add-buttons.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/products/add-buttons.blade.php @@ -14,6 +14,7 @@ + diff --git a/packages/Webkul/Shop/src/Resources/views/products/add-to-cart.blade.php b/packages/Webkul/Shop/src/Resources/views/products/add-to-cart.blade.php index d9265d2b4..b5b4b4e16 100755 --- a/packages/Webkul/Shop/src/Resources/views/products/add-to-cart.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/products/add-to-cart.blade.php @@ -2,10 +2,10 @@ @php $status = core()->getConfigData('ShowPriceAfterLogin.settings.settings.enableordisable'); - $function = $status = core()->getConfigData('ShowPriceAfterLogin.settings.settings.selectfunction'); + $function = core()->getConfigData('ShowPriceAfterLogin.settings.settings.selectfunction'); @endphp -@if ($status && ($function == 'hide-buy-cart-guest' || $function == 'hide-price-buy-cart-guest') && ! auth()->guard('customer')->check()) +@if (($status && ! auth()->guard('customer')->check()) && ($function == 'hide-buy-cart-guest' || $function == 'hide-price-buy-cart-guest'))
{{ __('ShowPriceAfterLogin::app.products.login-to-view-price') }} diff --git a/packages/Webkul/Shop/src/Resources/views/products/buy-now.blade.php b/packages/Webkul/Shop/src/Resources/views/products/buy-now.blade.php index 60184a582..0f7dcf1b8 100755 --- a/packages/Webkul/Shop/src/Resources/views/products/buy-now.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/products/buy-now.blade.php @@ -3,10 +3,10 @@ @php $status = core()->getConfigData('ShowPriceAfterLogin.settings.settings.enableordisable'); - $function = $status = core()->getConfigData('ShowPriceAfterLogin.settings.settings.selectfunction'); + $function = core()->getConfigData('ShowPriceAfterLogin.settings.settings.selectfunction'); @endphp -@if ($status && ($function == 'hide-buy-cart-guest' || $function == 'hide-price-buy-cart-guest') && ! auth()->guard('customer')->check()) +@if (($status && ! auth()->guard('customer')->check()) && ($function == 'hide-buy-cart-guest' || $function == 'hide-price-buy-cart-guest')) @else