<div class="home-add2">
    <div class="cbtn bg-white">
        <?php if($product->quantity <= '0'): ?>
            <a href="<?php echo e(route('product.details', $product->slug)); ?>" class="redirect"
                style="margin-top: 10px;background: red;color: white;border-color: red;">Pre</a>
        <?php else: ?>
            <?php if($product->sheba != 1): ?>
                <button type="submit" id="productInfo_<?php echo e($product->id); ?>" data-url="<?php echo e(route('product.info', $product->slug)); ?>" title="Add To Cart" class="redirect productInfoAddToCart" style="margin-top: 10px;">
                    <?php if(setting('PRODUCT_GRID_ADD_TO_CART_ICON') == 0 || setting('PRODUCT_GRID_ADD_TO_CART_ICON') == ""): ?><i class="fal fa-shopping-cart" aria-hidden="true"></i><?php else: ?><?php echo e('Add Cart'); ?><?php endif; ?>
                </button>
            <?php endif; ?>
        <?php endif; ?>

        <?php if(setting('PRODUCT_GRID_2ND_BTN') == 0 || setting('PRODUCT_GRID_2ND_BTN') == ""): ?>
            <form action="<?php echo e(route('wishlist.add')); ?>" method="post" id="submit_payment_form<?php echo e($typeid); ?>">
                <?php echo csrf_field(); ?>
                <input type="hidden" name="product_id" value="<?php echo e($product->slug); ?>">
                <span id="wish_<?php echo e($typeid); ?>" style="margin-top: 5px;background:<?php echo e($color); ?>" class="redirect"  onclick="submit_payment_form('<?php echo e($typeid); ?>')" title="Wishlist"><i class="fal fa-heart" aria-hidden="true" style="cursor:pointer !important;"></i></span>
            </form>
        <?php else: ?>
            <button style="margin-top: 5px;background:<?php echo e($color); ?>" class="productInfoBuyNow redirect" type="submit" data-url="<?php echo e(route('product.info', $product->slug)); ?>" title="Wishlist">Buy Now</button>
        <?php endif; ?>
    </div>
</div><?php /**PATH /home/apleusbj/shopping.apleefix.com/resources/views/components/parts-product-grid-view/add-order-cart.blade.php ENDPATH**/ ?>