         
   

   
   
 <div class="modal fade" id="chat_modal" tabindex="-1" aria-hidden="true" >
    <div class="modal-dialog modal-dialog-centered modal-xl">
        <div class="modal-content">
       
            <div class="row">
            <div class="col-lg-1 col-2">
    <div class="thumb-list"></div>
</div>

<div class="col-lg-5 col-10">
    <div class="main-image border rounded">
        <img id="modal_product_image" src="" class="img-fluid">
    </div>
</div>
                
                <div class="col-lg-6">
                    <h2 class="modal-titlemb-2 fs-20 fw-600" id="modal_product_title">Product Title</h2>
                    <form id="addToCartForm" method="POST">
                        <?php echo csrf_field(); ?>

                        <div class="modal-body">
                            <div class="row mb-2">
                                <div class="col-sm-4 opacity-50">Price:</div>
                                <div class="col-sm-8">
                                    <span id="original_price" class="original-price"></span>
                                </div>
                            </div>

                            <div class="row mb-2">
                                <div class="col-sm-4 opacity-50">Discount Price:</div>
                                <div class="col-sm-8">
                                <strong class="h2 fw-600 text-primary"><span id="selling_price"></span></strong>
                                </div>
                            </div>
                            <hr>
                            <div id="modal_choices"></div>
                            <div id="modal_colors"></div>
                            
                            <div class="row mb-2">
                                <div class="col-sm-4 opacity-50">Quantity:</div>
                                <div class="col-sm-8">
                                    <div class="input-group" style="max-width:150px;">
                                        <button type="button" class="btn btn-outline-secondary btn-sm" id="minus">-</button>
                                        <input type="text" id="quantity" name="quantity"
                                               class="form-control text-center form-control-sm" value="1">
                                        <button type="button" class="btn btn-outline-secondary btn-sm" id="plus">+</button>
                                    </div>
                                </div>
                            </div>
                            <hr>
                            <div class="row mb-2">
                                <div class="col-sm-4 opacity-50">Total Price:</div>
                                <div class="col-sm-8">
                                <strong class="h2 fw-600 text-primary"><span id="Total_price"></span></strong>
                                </div>
                            </div>


                            <input type="hidden" name="product_id" id="modal_product_id">
                            <input type="hidden" id="modal_product_unitprice">
                            <input type="hidden" id="modal_product_discount">
                            <input type="hidden" id="modal_product_unit">
                        </div>
                         
                        
                            
                            <button type="submit" class="btn btn-primary">
                                ADD to Cart
                            </button>
                        
                    </form>
                </div>
            </div>

        </div>
    </div>
</div> <?php /**PATH C:\wamp64\www\ecommerce\resources\views/frontend/modal/addtocartmodal.blade.php ENDPATH**/ ?>