{"status":true,"html":"<div class=\"modal-dialog modal-lg modal-dialog-centered\"> \n            <div class=\"modal-content\">\n                <div class=\"modal-header\">\n                    <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;<\/button>\n                <\/div>\n                <div class=\"modal-body\">\n                    <!-- product details inner end -->\n                    <form action=\"https:\/\/www.gadgetecom.softitsecurity.com\/carts\" method=\"post\" id=\"ajax_form\">\n                        <input type=\"hidden\" name=\"_token\" value=\"SXKpJv5r2Wpwadx3SDKuSD88exUJQM5it81JdLeH\">                        <div class=\"product-details-inner\">\n                            <div class=\"row\">\n                                <div class=\"col-lg-5\">\n                                    <div class=\"product-large-slider slick-arrow-style_2 mb-20\">\n                                        <div class=\"pro-large-img\">\n                                            <img src=\"https:\/\/gadgethubparis.com\/poss\/uploads\/img\/1736942717_9aac66459022226dd5f2fbfd90a496c6_bhr8773gl-white-1-1000x1000h.png\" alt=\"\" \/>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                                <div class=\"col-lg-7\">\n                                    <div class=\"product-details-des mt-md-34 mt-sm-34\">\n                                        <h3><a href=\"https:\/\/www.gadgetecom.softitsecurity.com\/product\/\/4269\">Xiaomi Redmi Buds 6 Play White BHR8773GL<\/a><\/h3>\n                                        \n                                        <div class=\"d-flex justify-content-between pricebox mb-3\">\n                                            <b class=\"availability mt-10\">\n                                            <h6>SKU: 6941812791271<\/h6>\n                                            <\/b>\n                                                                                    <\/div>\n                                        <div class=\"pricebox\">\n                                                                                    <\/div>\n                                        <div class=\"quantity-cart-box d-flex align-items-center mt-20\" style=\"flex-wrap: wrap; gap: 10px;\">\n                                            <div class=\"quantity\">\n                                                <div class=\"pro-qty\"><input type=\"text\" value=\"1\" name=\"qty\"><\/div>\n                                            <\/div>\n                                \t\t\t<input type=\"hidden\" class=\"size_value\" value=\"\" name=\"variation_id\">\n                                \t\t\t<input type=\"hidden\" class=\"size_id\" value=\"4267\" name=\"variation_id\">\n                                            <input type=\"hidden\" name=\"product_id\" value=\"4269\">\n                                            <div class=\"action_link\" style=\"flex-wrap: wrap;\">\n                                                                                                <a href=\"https:\/\/www.gadgetecom.softitsecurity.com\/user-login\" class=\"buy-btn\" style=\"height: auto; width: auto; padding: 0px 11px; font-size: 13px;\">\n                                                    Login to see the price <i class=\"fa fa-shopping-cart\"><\/i>\n                                                <\/a>\n                                                                                            <\/div>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/form>\n                    <!-- product details inner end -->\n                <\/div>\n            <\/div>\n        <\/div>\n    <script>\n      $(document).ready(function(){\n          var proQty = $('.pro-qty');\n        \tproQty.prepend('<span class=\"dec qtybtn\">-<\/span>');\n        \tproQty.append('<span class=\"inc qtybtn\">+<\/span>');\n        \tproQty.on('click', '.qtybtn', function () {\n        \t\tvar $button = $(this);\n        \t\tvar oldValue = $button.parent().find('input').val();\n        \t\tif ($button.hasClass('inc')) {\n        \t\t\tvar newVal = parseFloat(oldValue) + 1;\n        \t\t} else {\n        \t\t\t\/\/ Don't allow decrementing below zero\n        \t\t\tif (oldValue > 0) {\n        \t\t\t\tvar newVal = parseFloat(oldValue) - 1;\n        \t\t\t} else {\n        \t\t\t\tnewVal = 0;\n        \t\t\t}\n        \t\t}\n        \t\t$button.parent().find('input').val(newVal);\n        \t});\n          $('.modal_product .sizes .size').click(function(){\n            $('.modal_product .sizes .size').removeClass('active');\n            $(this).addClass('active');\n            let value = $(this).data('val');\n            $('.modal_product .size_value').val(value);\n        })\n        \n        $('.modal_product .quantity .inc').click(function(){\n            let value = $('.modal_product .quantity .value').text();\n            value = parseInt(value);\n            if (value < 10) {\n                value++;\n            } else {\n                alert(\"You can't add more than 10 products\");\n            }\n            $('.modal_product .quantity .value').text(value);\n            $('.modal_product .quantity_value').val(value);\n        });\n        \n        $('.modal_product .quantity .dec').click(function(){\n            let value = $('.modal_product .quantity .value').text();\n            value = parseInt(value);\n            if (value > 1) {\n                value--;\n            } else {\n                alert(\"You can't remove less than 1 Product. At least 1 Product should be ordered.\");\n            }\n            $('.modal_product .quantity .value').text(value); \n            $('.modal_product .quantity_value').val(value);\n        });\n      })\n  <\/script>"}