Viewing file: item_footer.blade.php (1.95 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{-- @if(Auth::user()) --}} {{-- <button type="button" id="add_to_cart" data-p-item-type="" class="add-to-cart-modal-close p-attr-type-add common-btn p-3"> ADD TO CART</button> --}} {{-- <button type="button" id="add_to_cart" data-p-item-type="" class="close-product-des close-product-des-modal p-attr-type-add common-btn p-3"> ADD TO CART</button> --}} {{-- @else <a href="{{route('user.login')}}"> ADD TO CART</a> @endif --}} @if ($sitem->item_type != 'affiliate') @if ($sitem->is_stock()) @if(Auth::user()) <a class="product-button add_to_single_cart" href="{{ route('front.product.solo', $sitem->slug) }}" title="{{__('To Cart')}}"><i class="icon-shopping-cart"></i> </a> @else <a class="product-button" href="{{route('user.login')}}" title="{{__('To Cart')}}"><i class="icon-shopping-cart"></i> </a> @endif {{-- <a class="product-button add_to_single_cart" data-target="{{ $sitem->id }}" href="javascript:;" title="{{__('To Cart')}}"><i class="icon-shopping-cart"></i> </a> --}} @else <a class="product-button" href="{{route('front.product',$sitem->slug)}}" title="{{__('Details')}}"><i class="icon-arrow-right"></i></a> @endif @else <a class="product-button" href="{{$sitem->affiliate_link}}" target="_blank" title="{{__('Buy Now')}}"><i class="icon-arrow-right"></i></a> @endif
{{-- @if (Auth::user()) <a href="{{ route('front.product.solo', $item->id) }}" class="btn-link-shop-hover2 mr-auto add_to_single_cart btn-for-lg" title="{{ __('To Cart') }}">Add To Cart</a> <a href="{{ route('front.product.solo', $item->id) }}" class="btn-link-shop-hover2 mr-auto add_to_single_cart btn-eye" title="{{ __('To Cart') }}"><i class="fa fa-shopping-bag"></i></a> @else <a href="{{ route('user.login') }}" class="btn-link-shop-hover2 mr-auto btn-for-lg">Add To Cart</a> <a href="{{ route('user.login') }}" class="btn-link-shop-hover2 mr-auto btn-eye"> <i class="fa fa-shopping-bag"></i> </a> @endif --}}
|