{"id":89,"date":"2023-05-24T12:28:22","date_gmt":"2023-05-24T12:28:22","guid":{"rendered":"http:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/?page_id=89"},"modified":"2023-05-26T06:10:10","modified_gmt":"2023-05-26T06:10:10","slug":"buy-2-get-1-free-of-the-same-product-demo","status":"publish","type":"page","link":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/buy-2-get-1-free-of-the-same-product-demo\/","title":{"rendered":"Buy X and Get X &#8211; Demo"},"content":{"rendered":"<p class=\"fgw-notice\">A specific quantity of the purchasing product will be added automatically as free when the purchase quantity in the rule is added in the cart. The added gift product(s) will not be removed by the customer.<\/p>\n<p class=\"fgw-notice\">Here the 1 quantity of this purchasing product will be automatically added when the customer adds 2 quantities from below product<\/p>\n<div class=\"woocommerce\">\t\t\t<div class=\"single-product\" data-product-page-preselected-id=\"0\">\n\t\t\t\t<div class=\"woocommerce-notices-wrapper\"><\/div><div id=\"product-39\" class=\"product type-product post-39 status-publish first instock product_cat-freegifts has-post-thumbnail shipping-taxable purchasable product-type-simple\">\n\n\t<div class=\"woocommerce-product-gallery woocommerce-product-gallery--with-images woocommerce-product-gallery--columns-5 images\" data-columns=\"5\" style=\"opacity: 0; transition: opacity .25s ease-in-out;\">\n\t<div class=\"woocommerce-product-gallery__wrapper\">\n\t\t<div data-thumb=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-100x100.jpg\" data-thumb-alt=\"Tshirt\" data-thumb-srcset=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-100x100.jpg 100w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-150x150.jpg 150w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-324x324.jpg 324w\"  data-thumb-sizes=\"(max-width: 100px) 100vw, 100px\" class=\"woocommerce-product-gallery__image\"><a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"416\" height=\"438\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-416x438.jpg\" class=\"wp-post-image\" alt=\"Tshirt\" data-caption=\"\" data-src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1.jpg\" data-large_image=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1.jpg\" data-large_image_width=\"500\" data-large_image_height=\"526\" srcset=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-416x438.jpg 416w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1-285x300.jpg 285w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/tshirt-500x526-1.jpg 500w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/a><\/div>\t<\/div>\n<\/div>\n\n\t<div class=\"summary entry-summary\">\n\t\t<h1 class=\"product_title entry-title\">Tshirt<\/h1><p class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#36;<\/span>18.00<\/bdi><\/span><\/p>\n\n\t\n\t<form class=\"cart\" action=\"\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a6c12a1d354a\">Tshirt quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a6c12a1d354a\"\n\t\tclass=\"input-text qty text\"\n\t\tname=\"quantity\"\n\t\tvalue=\"1\"\n\t\taria-label=\"Product quantity\"\n\t\t\t\tmin=\"1\"\n\t\t\t\t\t\t\tstep=\"1\"\n\t\t\tplaceholder=\"\"\n\t\t\tinputmode=\"numeric\"\n\t\t\tautocomplete=\"off\"\n\t\t\t\/>\n\t<\/div>\n\n\t\t<button type=\"submit\" name=\"add-to-cart\" value=\"39\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n<div class=\"product_meta\">\n\n\t\n\t\n\t<span class=\"posted_in\">Category: <a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product-category\/freegifts\/\" rel=\"tag\">Free Gifts<\/a><\/span>\n\t\n\t\n<\/div>\n\t<\/div>\n\n\t\n\t<div class=\"woocommerce-tabs wc-tabs-wrapper\">\n\t\t<ul class=\"tabs wc-tabs\" role=\"tablist\">\n\t\t\t\t\t\t\t<li role=\"presentation\" class=\"description_tab\" id=\"tab-title-description\">\n\t\t\t\t\t<a href=\"#tab-description\" role=\"tab\" aria-controls=\"tab-description\">\n\t\t\t\t\t\tDescription\t\t\t\t\t<\/a>\n\t\t\t\t<\/li>\n\t\t\t\t\t\t\t<li role=\"presentation\" class=\"reviews_tab\" id=\"tab-title-reviews\">\n\t\t\t\t\t<a href=\"#tab-reviews\" role=\"tab\" aria-controls=\"tab-reviews\">\n\t\t\t\t\t\tReviews (0)\t\t\t\t\t<\/a>\n\t\t\t\t<\/li>\n\t\t\t\t\t<\/ul>\n\t\t\t\t\t<div class=\"woocommerce-Tabs-panel woocommerce-Tabs-panel--description panel entry-content wc-tab\" id=\"tab-description\" role=\"tabpanel\" aria-labelledby=\"tab-title-description\">\n\t\t\t\t\n\t<h2>Description<\/h2>\n\n<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.<\/p>\n\t\t\t<\/div>\n\t\t\t\t\t<div class=\"woocommerce-Tabs-panel woocommerce-Tabs-panel--reviews panel entry-content wc-tab\" id=\"tab-reviews\" role=\"tabpanel\" aria-labelledby=\"tab-title-reviews\">\n\t\t\t\t<div id=\"reviews\" class=\"woocommerce-Reviews\">\n\t<div id=\"comments\">\n\t\t<h2 class=\"woocommerce-Reviews-title\">\n\t\t\tReviews\t\t<\/h2>\n\n\t\t\t\t\t<p class=\"woocommerce-noreviews\">There are no reviews yet.<\/p>\n\t\t\t<\/div>\n\n\t\t\t<div id=\"review_form_wrapper\">\n\t\t\t<div id=\"review_form\">\n\t\t\t\t\t<div id=\"respond\" class=\"comment-respond\">\n\t\t<span id=\"reply-title\" class=\"comment-reply-title\" role=\"heading\" aria-level=\"3\">Be the first to review &ldquo;Tshirt&rdquo; <small><a rel=\"nofollow\" id=\"cancel-comment-reply-link\" href=\"\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89#respond\" style=\"display:none;\">Cancel reply<\/a><\/small><\/span><form action=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-comments-post.php\" method=\"post\" id=\"commentform\" class=\"comment-form\"><p class=\"comment-notes\"><span id=\"email-notes\">Your email address will not be published.<\/span> <span class=\"required-field-message\">Required fields are marked <span class=\"required\">*<\/span><\/span><\/p><div class=\"comment-form-rating\"><label for=\"rating\" id=\"comment-form-rating-label\">Your rating&nbsp;<span class=\"required\">*<\/span><\/label><select name=\"rating\" id=\"rating\" required>\n\t\t\t\t\t\t<option value=\"\">Rate&hellip;<\/option>\n\t\t\t\t\t\t<option value=\"5\">Perfect<\/option>\n\t\t\t\t\t\t<option value=\"4\">Good<\/option>\n\t\t\t\t\t\t<option value=\"3\">Average<\/option>\n\t\t\t\t\t\t<option value=\"2\">Not that bad<\/option>\n\t\t\t\t\t\t<option value=\"1\">Very poor<\/option>\n\t\t\t\t\t<\/select><\/div><p class=\"comment-form-comment\"><label for=\"comment\">Your review&nbsp;<span class=\"required\">*<\/span><\/label><textarea id=\"comment\" name=\"comment\" cols=\"45\" rows=\"8\" required><\/textarea><\/p><p class=\"comment-form-author\"><label for=\"author\">Name&nbsp;<span class=\"required\">*<\/span><\/label><input id=\"author\" name=\"author\" type=\"text\" autocomplete=\"name\" value=\"\" size=\"30\" required \/><\/p>\n<p class=\"comment-form-email\"><label for=\"email\">Email&nbsp;<span class=\"required\">*<\/span><\/label><input id=\"email\" name=\"email\" type=\"email\" autocomplete=\"email\" value=\"\" size=\"30\" required \/><\/p>\n<p class=\"comment-form-cookies-consent\"><input id=\"wp-comment-cookies-consent\" name=\"wp-comment-cookies-consent\" type=\"checkbox\" value=\"yes\" \/> <label for=\"wp-comment-cookies-consent\">Save my name, email, and website in this browser for the next time I comment.<\/label><\/p>\n<p class=\"form-submit\"><input name=\"submit\" type=\"submit\" id=\"submit\" class=\"submit\" value=\"Submit\" \/> <input type='hidden' name='comment_post_ID' value='39' id='comment_post_ID' \/>\n<input type='hidden' name='comment_parent' id='comment_parent' value='0' \/>\n<\/p><\/form>\t<\/div><!-- #respond -->\n\t\t\t\t<\/div>\n\t\t<\/div>\n\t\n\t<div class=\"clear\"><\/div>\n<\/div>\n\t\t\t<\/div>\n\t\t\n\t\t\t<\/div>\n\n\n\t<section class=\"related products\">\n\n\t\t\t\t\t<h2>Related products<\/h2>\n\t\t\t\t<ul class=\"products columns-3\">\n\n\t\t\t\n\t\t\t\t\t<li class=\"product type-product post-130 status-publish first instock product_cat-freegifts has-post-thumbnail shipping-taxable purchasable product-type-simple\">\n\t<a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product\/sports-hand-band\/\" class=\"woocommerce-LoopProduct-link woocommerce-loop-product__link\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Sports Hand Band\" srcset=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-324x324.jpg 324w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-300x300.jpg 300w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-150x150.jpg 150w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-416x416.jpg 416w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-100x100.jpg 100w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band.jpg 500w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><h2 class=\"woocommerce-loop-product__title\">Sports Hand Band<\/h2>\n\t<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#36;<\/span>17.00<\/bdi><\/span><\/span>\n<\/a><a href=\"\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89?add-to-cart=130\" aria-describedby=\"woocommerce_loop_add_to_cart_link_describedby_130\" data-quantity=\"1\" class=\"button product_type_simple add_to_cart_button ajax_add_to_cart\" data-product_id=\"130\" data-product_sku=\"\" aria-label=\"Add to cart: &ldquo;Sports Hand Band&rdquo;\" rel=\"nofollow\" data-success_message=\"&ldquo;Sports Hand Band&rdquo; has been added to your cart\" role=\"button\">Add to cart<\/a>\t<span id=\"woocommerce_loop_add_to_cart_link_describedby_130\" class=\"screen-reader-text\">\n\t\t\t<\/span>\n<\/li>\n\n\t\t\t\n\t\t\t\t\t<li class=\"product type-product post-55 status-publish instock product_cat-freegifts has-post-thumbnail shipping-taxable purchasable product-type-simple\">\n\t<a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product\/uv-protector\/\" class=\"woocommerce-LoopProduct-link woocommerce-loop-product__link\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"156\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/uv-416x200.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"UV Protector\" srcset=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/uv-416x200.jpg 416w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/uv-300x144.jpg 300w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/uv.jpg 679w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><h2 class=\"woocommerce-loop-product__title\">UV Protector<\/h2>\n\t<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#36;<\/span>15.00<\/bdi><\/span><\/span>\n<\/a><a href=\"\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89?add-to-cart=55\" aria-describedby=\"woocommerce_loop_add_to_cart_link_describedby_55\" data-quantity=\"1\" class=\"button product_type_simple add_to_cart_button ajax_add_to_cart\" data-product_id=\"55\" data-product_sku=\"\" aria-label=\"Add to cart: &ldquo;UV Protector&rdquo;\" rel=\"nofollow\" data-success_message=\"&ldquo;UV Protector&rdquo; has been added to your cart\" role=\"button\">Add to cart<\/a>\t<span id=\"woocommerce_loop_add_to_cart_link_describedby_55\" class=\"screen-reader-text\">\n\t\t\t<\/span>\n<\/li>\n\n\t\t\t\n\t\t\t\t\t<li class=\"product type-product post-54 status-publish last instock product_cat-freegifts has-post-thumbnail shipping-taxable purchasable product-type-simple\">\n\t<a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product\/red-cap\/\" class=\"woocommerce-LoopProduct-link woocommerce-loop-product__link\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-324x324.png\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Red Cap\" srcset=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-324x324.png 324w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-300x300.png 300w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-150x150.png 150w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-416x416.png 416w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-100x100.png 100w, https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat.png 500w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><h2 class=\"woocommerce-loop-product__title\">Red Cap<\/h2>\n\t<span class=\"price\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\">&#36;<\/span>13.00<\/bdi><\/span><\/span>\n<\/a><a href=\"\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89?add-to-cart=54\" aria-describedby=\"woocommerce_loop_add_to_cart_link_describedby_54\" data-quantity=\"1\" class=\"button product_type_simple add_to_cart_button ajax_add_to_cart\" data-product_id=\"54\" data-product_sku=\"\" aria-label=\"Add to cart: &ldquo;Red Cap&rdquo;\" rel=\"nofollow\" data-success_message=\"&ldquo;Red Cap&rdquo; has been added to your cart\" role=\"button\">Add to cart<\/a>\t<span id=\"woocommerce_loop_add_to_cart_link_describedby_54\" class=\"screen-reader-text\">\n\t\t\t<\/span>\n<\/li>\n\n\t\t\t\n\t\t<\/ul>\n\n\t<\/section>\n\t\t\t<nav class=\"storefront-product-pagination\" aria-label=\"More products\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product\/sports-hand-band\/\" rel=\"prev\">\n\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/band-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Sports Hand Band\" \/>\t\t\t\t\t<span class=\"storefront-product-pagination__title\">Sports Hand Band<\/span>\n\t\t\t\t<\/a>\n\t\t\t\n\t\t\t\t\t\t\t<a href=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/product\/red-cap\/\" rel=\"next\">\n\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-content\/uploads\/sites\/19\/2023\/05\/hat-324x324.png\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Red Cap\" \/>\t\t\t\t\t<span class=\"storefront-product-pagination__title\">Red Cap<\/span>\n\t\t\t\t<\/a>\n\t\t\t\t\t<\/nav><!-- .storefront-product-pagination -->\n\t\t<\/div>\n\n\t\t\t<\/div>\n\t\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A specific quantity of the purchasing product will be added automatically as free when the purchase quantity in the rule is added in the cart. The added gift product(s) will not be removed by the customer. Here the 1 quantity of this purchasing product will be automatically added when the customer adds 2 quantities from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-89","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":7,"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89\/revisions"}],"predecessor-version":[{"id":140,"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/pages\/89\/revisions\/140"}],"wp:attachment":[{"href":"https:\/\/demo.flintop.com\/free-gifts-for-woocommerce\/wp-json\/wp\/v2\/media?parent=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}