{"id":440,"date":"2024-09-16T15:26:54","date_gmt":"2024-09-16T15:26:54","guid":{"rendered":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/?page_id=440"},"modified":"2024-09-16T15:29:26","modified_gmt":"2024-09-16T15:29:26","slug":"product-table-ultimate","status":"publish","type":"page","link":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product-table-ultimate\/","title":{"rendered":"Product Table Ultimate"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WooCommerce Fees and Discounts works seamlessly with <a href=\"https:\/\/pluginrepublic.com\/wordpress-plugins\/woocommerce-product-table-ultimate\/\">Product Table Ultimate<\/a> &#8211; display your discounted products in a table format.<\/p>\n\n\n<div class=\"woocommerce\">\n<div id=\"ptuwc-table-ada65ca80677daf58a022b61e7e80677_1_container\" class=\"ptuwc_table_container\">\n\n\t\n\t<table id=\"ptuwc-table-ada65ca80677daf58a022b61e7e80677_1\" class=\"ptuwc-table woocommerce-table shop_table shop_table_responsive show-quantities\" data-index='1' data-source='all' data-callback='__return_empty_array' data-categories='{}' data-taxonomies='{}' data-tags='{}' data-order_by='title' data-order='ASC' data-per_page='15' data-page='1' data-columns='{&quot;0&quot;:&quot;thumbnail&quot;,&quot;1&quot;:&quot;name&quot;,&quot;2&quot;:&quot;price&quot;,&quot;3&quot;:&quot;short-description&quot;,&quot;4&quot;:&quot;add-to-cart&quot;}' data-show_quantities='1' data-variations_display='parent' data-add_selected='1' data-select_all='0' data-thumb_lightbox='no' data-add_all='0' data-fixed_layout='no' data-sortable_columns='{}' data-filterable_columns='{}' data-filter_operator='AND' data-filter_methods='{}' data-select_filters_locations='{}' data-ajax_variations='0' data-ajax_add_to_cart='0' data-addons='1' data-quickview='0' data-date_fields_header=''>\n\t\t\n<thead>\n    <tr>\n                    <th class=\"ptuwc-cb\">\n                        <\/th>\n        \n                    <th class=\"ptuwc-thumbnail\" data-sortable=\"\" data-filterable=\"\">\n                Thumbnail\t                        <\/th>\n                    <th class=\"ptuwc-name\" data-sortable=\"\" data-filterable=\"\">\n                Name\t                        <\/th>\n                    <th class=\"ptuwc-price\" data-sortable=\"\" data-filterable=\"\">\n                Price\t                        <\/th>\n                    <th class=\"ptuwc-short-description\" data-sortable=\"\" data-filterable=\"\">\n                Short Description\t                        <\/th>\n                    <th class=\"ptuwc-add-to-cart\" data-sortable=\"\" data-filterable=\"\">\n                Add to Cart\t                        <\/th>\n            <\/tr>\n<\/thead>\n\t\t\n<tbody>\n                                        \n    <tr id=\"ptuwc-product-row-43-1\" class=\"ptuwc-product-row ptuwc-product-row-43 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-43-1\">\n        Select Beanie (Bulk Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-43-1\" value=\"43\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Beanie (Bulk Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Beanie (Bulk Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>20.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;20.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>14.00<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>20.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;14.00 through &#36;20.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;14.00 &ndash; &#036;20.00Price range: &#036;14.00 through &#036;20.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a simple product showing a bulk discount rule. Increase the quantity to see the price change.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-bulk-discounts\/\">how to create a bulk discount in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/beanie\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n<div class=\"wcfad-pricing-table-wrapper before wcfad-variation-table-43\"><table><thead><tr><th>Quantity<\/th><th>Price<\/th><th>&nbsp;<\/th><\/tr><\/thead><tbody><tr class=\"wcfad-row-min-10 wcfad-row-max-20\">\n\t\t\t\t\t\t\t\t<td>10 - 20<\/td>\n\t\t\t\t\t\t\t\t<td class=\"tier_0\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>18.00<\/bdi><\/span><\/td>\n\t\t\t\t\t\t\t\t<td>10% off!<\/td>\n\t\t\t\t\t\t\t<\/tr><tr class=\"wcfad-row-min-21 wcfad-row-max-30\">\n\t\t\t\t\t\t\t\t<td>21 - 30<\/td>\n\t\t\t\t\t\t\t\t<td class=\"tier_1\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>16.00<\/bdi><\/span><\/td>\n\t\t\t\t\t\t\t\t<td>20% off!<\/td>\n\t\t\t\t\t\t\t<\/tr><tr class=\"wcfad-row-min-31 wcfad-row-max-plus\">\n\t\t\t\t\t\t\t\t<td>31   +<\/td>\n\t\t\t\t\t\t\t\t<td class=\"tier_2\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>14.00<\/bdi><\/span><\/td>\n\t\t\t\t\t\t\t\t<td>30% off!<\/td>\n\t\t\t\t\t\t\t<\/tr><\/tbody><\/table><\/div>\t\t\t\t<input type=\"hidden\" id=\"wcfad_product_id\" value=\"43\">\n\t\t\t\t<script>\n\t\t\t\t\t\t\t\t\tvar wcfad_all_prices = {\"43\":[{\"min\":\"10\",\"max\":\"20\",\"value\":18,\"price\":\"<span class=\\\"woocommerce-Price-amount amount\\\"><bdi><span class=\\\"woocommerce-Price-currencySymbol\\\" translate=\\\"no\\\">&#36;<\\\/span>18.00<\\\/bdi><\\\/span>\"},{\"min\":\"21\",\"max\":\"30\",\"value\":16,\"price\":\"<span class=\\\"woocommerce-Price-amount amount\\\"><bdi><span class=\\\"woocommerce-Price-currencySymbol\\\" translate=\\\"no\\\">&#36;<\\\/span>16.00<\\\/bdi><\\\/span>\"},{\"min\":\"31\",\"max\":\" +\",\"value\":14,\"price\":\"<span class=\\\"woocommerce-Price-amount amount\\\"><bdi><span class=\\\"woocommerce-Price-currencySymbol\\\" translate=\\\"no\\\">&#36;<\\\/span>14.00<\\\/bdi><\\\/span>\"}]};\n\t\t\t\t\t\t\t\t\t\t\t\t\tvar wcfad_all_tiers = {\"43\":{\"applies_to\":\"products\",\"tiers\":[{\"min\":\"10\",\"max\":\"20\",\"type\":\"percentage-discount\",\"amount\":\"10\",\"label\":\"10% off!\"},{\"min\":\"21\",\"max\":\"30\",\"type\":\"percentage-discount\",\"amount\":\"20\",\"label\":\"20% off!\"},{\"min\":\"31\",\"max\":\"\",\"type\":\"percentage-discount\",\"amount\":\"30\",\"label\":\"30% off!\"}]}};\n\t\t\t\t\t\t\t\t<\/script>\n\t\t\t\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223bc4f3\">Beanie (Bulk Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223bc4f3\"\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=\"0\"\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=\"43\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-60-1\" class=\"ptuwc-product-row ptuwc-product-row-60 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-60-1\">\n        Select Beanie with Logo (Buy One Get One Free)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-60-1\" value=\"60\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Beanie with Logo (Buy One Get One Free)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/beanie-with-logo-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Beanie with Logo (Buy One Get One Free)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>25.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is an example of a Buy One Get One Free product. Add 1 to the cart and the other one will get added automatically - and for free.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/buy-one-get-one-free-woocommerce\/\">how to create a Buy One Get One Free Offer here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/beanie-with-logo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223bd392\">Beanie with Logo (Buy One Get One Free) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223bd392\"\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=\"0\"\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=\"60\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-44-1\" class=\"ptuwc-product-row ptuwc-product-row-44 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-44-1\">\n        Select Belt (Buy X to Get Discount on Y)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-44-1\" value=\"44\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Belt (Buy X to Get Discount on Y)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/belt-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Belt (Buy X to Get Discount on Y)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>60.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Buy two belts and get a cap half price. Buy 2 belts and the cap will get added to your cart automatically.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/buy-one-get-one-free-woocommerce\/\">how to create this type of offer here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/belt\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223bdcd9\">Belt (Buy X to Get Discount on Y) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223bdcd9\"\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=\"0\"\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=\"44\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-45-1\" class=\"ptuwc-product-row ptuwc-product-row-45 instock virtual featured purchasable needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-45-1\">\n        Select Cap (Buy X to Get Discount on Y)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-45-1\" value=\"45\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Cap (Buy X to Get Discount on Y)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/cap-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Cap (Buy X to Get Discount on Y)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>20.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Buy <a href=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/belt\/\">two belts<\/a> to get this cap half price. Just add both items to the cart to see the discount applied.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/buy-one-get-one-free-woocommerce\/\">how to create this type of offer here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/cap\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223bea82\">Cap (Buy X to Get Discount on Y) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223bea82\"\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=\"0\"\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=\"45\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-40-1\" class=\"ptuwc-product-row ptuwc-product-row-40 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-variable\" >\n                                        \n<td class=\"col-noop\">\n\t&nbsp;\n<\/td>\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie (Categories Bulk Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie (Categories Bulk Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;45.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>38.25<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;38.25 through &#36;45.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;38.25 &ndash; &#036;45.00Price range: &#036;38.25 through &#036;45.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a variable product. It's part of a bulk discount rule for the 'Hoodies' category. Add multiple hoodies to your cart (at least 50) then see the discount applied in the 'Cart Totals' section of the cart.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-category-discount\/\">how to create bulk discounts by category in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent attributes-count-2\">\n                    <button type=\"submit\" class=\"ptuwc_config_row_trigger single_add_to_cart_button button alt\">\n                Select options            <\/button>\n            <\/td>\n\n                        <\/tr>\n\n\n    <tr id=\"ptuwc-product-config-row-40-1\" class=\"ptuwc-product-config-row ptuwc-product-config-row-40\"  style=\"display: none;\">\n                                    \n    <td class=\"col-config-add-to-cart\" colspan=\"auto\">\n        \n<form class=\"variations_form cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/hoodie\/\" method=\"post\" enctype='multipart\/form-data' data-product_id=\"40\" data-product_variations=\"[{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;red&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-2.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2.jpg&quot;,&quot;alt&quot;:&quot;hoodie-2.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2.jpg 801w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2.jpg&quot;,&quot;full_src_w&quot;:801,&quot;full_src_h&quot;:801,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-2-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:67,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:0,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;del aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/del&gt; &lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Original price was: &amp;#036;45.00.&lt;\\\/span&gt;&lt;ins aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;38.25&lt;\\\/bdi&gt;&lt;\\\/span&gt; &lt;span aria-hidden=\\&quot;true\\&quot;&gt;&amp;ndash;&lt;\\\/span&gt; &lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Price range: &amp;#36;38.25 through &amp;#36;45.00&lt;\\\/span&gt;&lt;\\\/ins&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Current price is: &amp;#036;38.25 &amp;ndash; &amp;#036;45.00Price range: &amp;#036;38.25 through &amp;#036;45.00.&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-red&quot;,&quot;variation_description&quot;:&quot;&lt;div class=\\&quot;woocommerce-info wcfad-message\\&quot;&gt;&lt;span class=\\&quot;notice-40\\&quot;&gt;&lt;\\\/span&gt;Buy more hoodies!&lt;\\\/div&gt;\\n&quot;,&quot;variation_id&quot;:56,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;,&quot;back_in_stock_html&quot;:&quot;&lt;p class=\\&quot;wcbpv-back-in-stock\\&quot;&gt; &lt;\\\/p&gt;&quot;,&quot;_back_in_stock_date&quot;:&quot;&quot;,&quot;default&quot;:1,&quot;step&quot;:1},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;blue&quot;,&quot;attribute_logo&quot;:&quot;Yes&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-with-logo-2.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg&quot;,&quot;alt&quot;:&quot;hoodie-with-logo-2.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg 801w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2.jpg&quot;,&quot;full_src_w&quot;:801,&quot;full_src_h&quot;:801,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-with-logo-2-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:70,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:0,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;del aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/del&gt; &lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Original price was: &amp;#036;45.00.&lt;\\\/span&gt;&lt;ins aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;38.25&lt;\\\/bdi&gt;&lt;\\\/span&gt; &lt;span aria-hidden=\\&quot;true\\&quot;&gt;&amp;ndash;&lt;\\\/span&gt; &lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Price range: &amp;#36;38.25 through &amp;#36;45.00&lt;\\\/span&gt;&lt;\\\/ins&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Current price is: &amp;#036;38.25 &amp;ndash; &amp;#036;45.00Price range: &amp;#036;38.25 through &amp;#036;45.00.&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-blue-logo&quot;,&quot;variation_description&quot;:&quot;&lt;div class=\\&quot;woocommerce-info wcfad-message\\&quot;&gt;&lt;span class=\\&quot;notice-40\\&quot;&gt;&lt;\\\/span&gt;Buy more hoodies!&lt;\\\/div&gt;\\n&quot;,&quot;variation_id&quot;:63,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;,&quot;back_in_stock_html&quot;:&quot;&lt;p class=\\&quot;wcbpv-back-in-stock\\&quot;&gt; &lt;\\\/p&gt;&quot;,&quot;_back_in_stock_date&quot;:&quot;&quot;,&quot;default&quot;:1,&quot;step&quot;:1},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;green&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-green-1.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1.jpg&quot;,&quot;alt&quot;:&quot;hoodie-green-1.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1.jpg 800w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1.jpg&quot;,&quot;full_src_w&quot;:800,&quot;full_src_h&quot;:800,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-green-1-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:69,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:0,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;del aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/del&gt; &lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Original price was: &amp;#036;45.00.&lt;\\\/span&gt;&lt;ins aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;38.25&lt;\\\/bdi&gt;&lt;\\\/span&gt; &lt;span aria-hidden=\\&quot;true\\&quot;&gt;&amp;ndash;&lt;\\\/span&gt; &lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Price range: &amp;#36;38.25 through &amp;#36;45.00&lt;\\\/span&gt;&lt;\\\/ins&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Current price is: &amp;#036;38.25 &amp;ndash; &amp;#036;45.00Price range: &amp;#036;38.25 through &amp;#036;45.00.&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-green&quot;,&quot;variation_description&quot;:&quot;&lt;div class=\\&quot;woocommerce-info wcfad-message\\&quot;&gt;&lt;span class=\\&quot;notice-40\\&quot;&gt;&lt;\\\/span&gt;Buy more hoodies!&lt;\\\/div&gt;\\n&quot;,&quot;variation_id&quot;:57,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;,&quot;back_in_stock_html&quot;:&quot;&lt;p class=\\&quot;wcbpv-back-in-stock\\&quot;&gt; &lt;\\\/p&gt;&quot;,&quot;_back_in_stock_date&quot;:&quot;&quot;,&quot;default&quot;:1,&quot;step&quot;:1},{&quot;attributes&quot;:{&quot;attribute_pa_color&quot;:&quot;blue&quot;,&quot;attribute_logo&quot;:&quot;No&quot;},&quot;availability_html&quot;:&quot;&quot;,&quot;backorders_allowed&quot;:false,&quot;dimensions&quot;:{&quot;length&quot;:&quot;&quot;,&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;},&quot;dimensions_html&quot;:&quot;N\\\/A&quot;,&quot;display_price&quot;:45,&quot;display_regular_price&quot;:45,&quot;gallery_image_ids&quot;:[],&quot;gallery_images_html&quot;:&quot;&quot;,&quot;image&quot;:{&quot;title&quot;:&quot;hoodie-blue-1.jpg&quot;,&quot;caption&quot;:&quot;&quot;,&quot;url&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1.jpg&quot;,&quot;alt&quot;:&quot;hoodie-blue-1.jpg&quot;,&quot;src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-416x416.jpg&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-416x416.jpg 416w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-300x300.jpg 300w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-150x150.jpg 150w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-768x768.jpg 768w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-324x324.jpg 324w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-100x100.jpg 100w, https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1.jpg 800w&quot;,&quot;sizes&quot;:&quot;(max-width: 416px) 100vw, 416px&quot;,&quot;full_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1.jpg&quot;,&quot;full_src_w&quot;:800,&quot;full_src_h&quot;:800,&quot;gallery_thumbnail_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-100x100.jpg&quot;,&quot;gallery_thumbnail_src_w&quot;:100,&quot;gallery_thumbnail_src_h&quot;:100,&quot;thumb_src&quot;:&quot;https:\\\/\\\/pluginrepublic.dev\\\/fees-and-discounts\\\/wp-content\\\/uploads\\\/sites\\\/31\\\/2019\\\/01\\\/hoodie-blue-1-324x324.jpg&quot;,&quot;thumb_src_w&quot;:324,&quot;thumb_src_h&quot;:324,&quot;src_w&quot;:416,&quot;src_h&quot;:416},&quot;image_id&quot;:68,&quot;is_downloadable&quot;:false,&quot;is_in_stock&quot;:true,&quot;is_purchasable&quot;:true,&quot;is_sold_individually&quot;:&quot;no&quot;,&quot;is_virtual&quot;:false,&quot;max_qty&quot;:&quot;&quot;,&quot;min_qty&quot;:0,&quot;price_html&quot;:&quot;&lt;span class=\\&quot;price\\&quot;&gt;&lt;del aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;\\\/del&gt; &lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Original price was: &amp;#036;45.00.&lt;\\\/span&gt;&lt;ins aria-hidden=\\&quot;true\\&quot;&gt;&lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;38.25&lt;\\\/bdi&gt;&lt;\\\/span&gt; &lt;span aria-hidden=\\&quot;true\\&quot;&gt;&amp;ndash;&lt;\\\/span&gt; &lt;span class=\\&quot;woocommerce-Price-amount amount\\&quot; aria-hidden=\\&quot;true\\&quot;&gt;&lt;bdi&gt;&lt;span class=\\&quot;woocommerce-Price-currencySymbol\\&quot; translate=\\&quot;no\\&quot;&gt;&amp;#36;&lt;\\\/span&gt;45.00&lt;\\\/bdi&gt;&lt;\\\/span&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Price range: &amp;#36;38.25 through &amp;#36;45.00&lt;\\\/span&gt;&lt;\\\/ins&gt;&lt;span class=\\&quot;screen-reader-text\\&quot;&gt;Current price is: &amp;#036;38.25 &amp;ndash; &amp;#036;45.00Price range: &amp;#036;38.25 through &amp;#036;45.00.&lt;\\\/span&gt;&lt;\\\/span&gt;&quot;,&quot;sku&quot;:&quot;woo-hoodie-blue&quot;,&quot;variation_description&quot;:&quot;&lt;div class=\\&quot;woocommerce-info wcfad-message\\&quot;&gt;&lt;span class=\\&quot;notice-40\\&quot;&gt;&lt;\\\/span&gt;Buy more hoodies!&lt;\\\/div&gt;\\n&quot;,&quot;variation_id&quot;:58,&quot;variation_is_active&quot;:true,&quot;variation_is_visible&quot;:true,&quot;weight&quot;:&quot;&quot;,&quot;weight_html&quot;:&quot;N\\\/A&quot;,&quot;back_in_stock_html&quot;:&quot;&lt;p class=\\&quot;wcbpv-back-in-stock\\&quot;&gt; &lt;\\\/p&gt;&quot;,&quot;_back_in_stock_date&quot;:&quot;&quot;,&quot;default&quot;:1,&quot;step&quot;:1}]\">\n\t\n\t\t\t<table class=\"variations\" cellspacing=\"0\" role=\"presentation\">\n\t\t\t<tbody>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th class=\"label\"><label for=\"pa_color\">Color<\/label><\/th>\n\t\t\t\t\t\t<td class=\"value\">\n\t\t\t\t\t\t\t<select id=\"ada65ca80677daf58a022b61e7e80677_1-40-pa_color\" class=\"\" name=\"attribute_pa_color\" data-attribute_name=\"attribute_pa_color\" data-show_option_none=\"yes\"><option value=\"\">Choose an option<\/option><option value=\"blue\" >Blue<\/option><option value=\"green\" >Green<\/option><option value=\"red\" >Red<\/option><\/select>\t\t\t\t\t\t<\/td>\n\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t<th class=\"label\"><label for=\"logo\">Logo<\/label><\/th>\n\t\t\t\t\t\t<td class=\"value\">\n\t\t\t\t\t\t\t<select id=\"ada65ca80677daf58a022b61e7e80677_1-40-logo\" class=\"\" name=\"attribute_logo\" data-attribute_name=\"attribute_logo\" data-show_option_none=\"yes\"><option value=\"\">Choose an option<\/option><option value=\"Yes\" >Yes<\/option><option value=\"No\" >No<\/option><\/select><a class=\"reset_variations\" href=\"#\" aria-label=\"Clear options\">Clear<\/a>\t\t\t\t\t\t<\/td>\n\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t<\/tbody>\n\t\t<\/table>\n\t\t<div class=\"reset_variations_alert screen-reader-text\" role=\"alert\" aria-live=\"polite\" aria-relevant=\"all\"><\/div>\n\t\t\t\t\n\t\t<div class=\"single_variation_wrap\">\n\t\t\t<div class=\"woocommerce-variation single_variation\" role=\"alert\" aria-relevant=\"additions\"><\/div><div class=\"woocommerce-variation-add-to-cart variations_button\">\n\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c6eff\">Hoodie (Categories Bulk Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c6eff\"\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=\"0\"\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<button type=\"submit\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\n\t<input type=\"hidden\" name=\"add-to-cart\" value=\"40\" \/>\n\t<input type=\"hidden\" name=\"product_id\" value=\"40\" \/>\n\t<input type=\"hidden\" name=\"variation_id\" class=\"variation_id\" value=\"0\" \/>\n<\/div>\n\t\t<\/div>\n\t\n\t<\/form>\n\n    <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-41-1\" class=\"ptuwc-product-row ptuwc-product-row-41 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-41-1\">\n        Select Hoodie with Logo (Categories Bulk Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-41-1\" value=\"41\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie with Logo (Categories Bulk Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-logo-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie with Logo (Categories Bulk Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;45.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>38.25<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;38.25 through &#36;45.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;38.25 &ndash; &#036;45.00Price range: &#036;38.25 through &#036;45.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a variable product. It's part of a bulk discount rule for the 'Hoodies' category. Add multiple hoodies to your cart (at least 50) then see the discount applied in the 'Cart Totals' section of the cart.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-category-discount\/\">how to create category discounts in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/hoodie-with-logo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c7915\">Hoodie with Logo (Categories Bulk Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c7915\"\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=\"0\"\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=\"41\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-48-1\" class=\"ptuwc-product-row ptuwc-product-row-48 instock virtual featured purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-48-1\">\n        Select Hoodie with Zipper (Categories Bulk Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-48-1\" value=\"48\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Hoodie with Zipper (Categories Bulk Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/hoodie-with-zipper-2.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Hoodie with Zipper (Categories Bulk Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;45.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>38.25<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>45.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;38.25 through &#36;45.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;38.25 &ndash; &#036;45.00Price range: &#036;38.25 through &#036;45.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This is a variable product. It's part of a bulk discount rule for the 'Hoodies' category. Add multiple hoodies to your cart (at least 50) then see the discount applied in the 'Cart Totals' section of the cart.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-category-discount\/\">how to create category discounts in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/hoodie-with-zipper\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c8237\">Hoodie with Zipper (Categories Bulk Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c8237\"\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=\"0\"\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=\"48\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-49-1\" class=\"ptuwc-product-row ptuwc-product-row-49 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-49-1\">\n        Select Long Sleeve Tee (Buy Three Get $10 Off)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-49-1\" value=\"49\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Long Sleeve Tee (Buy Three Get $10 Off)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/long-sleeve-tee-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Long Sleeve Tee (Buy Three Get $10 Off)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>25.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Buy three shirts to get $10 off.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/buy-one-get-one-free-woocommerce\/\">how to create this type of rule here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/long-sleeve-tee\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c8c2a\">Long Sleeve Tee (Buy Three Get $10 Off) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c8c2a\"\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=\"0\"\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=\"49\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-50-1\" class=\"ptuwc-product-row ptuwc-product-row-50 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-50-1\">\n        Select Polo (Discount by Spend)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-50-1\" value=\"50\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Polo (Discount by Spend)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-768x767.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-416x415.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/polo-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Polo (Discount by Spend)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>20.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Spend $100 or more on this product to get a $10 discount\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-dynamic-pricing\/\">how to create a discount by spend rule in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/polo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c9586\">Polo (Discount by Spend) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c9586\"\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=\"0\"\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=\"50\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-46-1\" class=\"ptuwc-product-row ptuwc-product-row-46 instock virtual featured purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-46-1\">\n        Select Sunglasses (Buy X for Fixed Price)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-46-1\" value=\"46\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Sunglasses (Buy X for Fixed Price)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/sunglasses-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    Sunglasses (Buy X for Fixed Price)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>90.00<\/bdi><\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Buy 5 of these for a fixed price of $400.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/buy-one-get-one-free-woocommerce\/\">how to create fixed price offers in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/sunglasses\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223c9f75\">Sunglasses (Buy X for Fixed Price) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223c9f75\"\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=\"0\"\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=\"46\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-42-1\" class=\"ptuwc-product-row ptuwc-product-row-42 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-42-1\">\n        Select T-Shirt (Percentage Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-42-1\" value=\"42\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"T-Shirt (Percentage Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/tshirt-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    T-Shirt (Percentage Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>30.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;30.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>24.00<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>27.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;24.00 through &#36;27.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;24.00 &ndash; &#036;27.00Price range: &#036;24.00 through &#036;27.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This product has a percentage discount offer.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-discount-percentage\/\">how to create a percentage discount in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/t-shirt\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223ca95c\">T-Shirt (Percentage Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223ca95c\"\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=\"0\"\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=\"42\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-59-1\" class=\"ptuwc-product-row ptuwc-product-row-59 instock virtual purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-59-1\">\n        Select T-Shirt with Logo (Fixed Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-59-1\" value=\"59\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"T-Shirt with Logo (Fixed Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/t-shirt-with-logo-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    T-Shirt with Logo (Fixed Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>18.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;18.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>16.00<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;16.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        Get $2 off this t-shirt.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-dynamic-pricing\/\">how to create dynamic pricing rules in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/t-shirt-with-logo\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223cb289\">T-Shirt with Logo (Fixed Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223cb289\"\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=\"0\"\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=\"59\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-515-1\" class=\"ptuwc-product-row ptuwc-product-row-515 instock virtual featured purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-515-1\">\n        Select V-Neck T-Shirt (First Order Discount)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-515-1\" value=\"515\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"V-Neck T-Shirt (First Order Discount)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-768x768.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-416x416.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vnech-tee-green-1.jpg 800w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    V-Neck T-Shirt (First Order Discount)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>15.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;15.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>16.50<\/bdi><\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;16.50.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This product offers a discount to customers who haven't placed an order on the store before.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-first-order-discount\/\">how to create first order discounts in WooCommerce<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/v-neck-t-shirt-first-order-discount\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223cbc62\">V-Neck T-Shirt (First Order Discount) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223cbc62\"\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=\"0\"\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=\"515\" class=\"single_add_to_cart_button button alt\">Add to cart<\/button>\n\n\t\t\t<\/form>\n\n\t\n            <\/td>\n\n                        <\/tr>\n\n                                                \n    <tr id=\"ptuwc-product-row-39-1\" class=\"ptuwc-product-row ptuwc-product-row-39 instock virtual featured purchasable on-sale needs-shipping shipping-taxable product-type-simple\" >\n                                    \n<td class=\"col-cb\">\n    <label class=\"screen-reader-text\" for=\"cb-select-39-1\">\n        Select V-Neck T-Shirt (Tiered Pricing)    <\/label>\n    <input type=\"checkbox\" name=\"ptuwc-product[]\" id=\"cb-select-39-1\" value=\"39\" \/>\n<\/td>\n\n                                                \n    <td class=\"col-thumbnail\">\n        <img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"324\" src=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-324x324.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"V-Neck T-Shirt (Tiered Pricing)\" srcset=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-324x324.jpg 324w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-300x300.jpg 300w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-150x150.jpg 150w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-768x767.jpg 768w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-416x415.jpg 416w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2-100x100.jpg 100w, https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-content\/uploads\/sites\/31\/2019\/01\/vneck-tee-2.jpg 801w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/>    <\/td>\n\n                                                \n    <td class=\"col-name\">\n\t    \t\t    V-Neck T-Shirt (Tiered Pricing)\t              <\/td>\n\n                                                \n    <td class=\"col-price\">\n        <del aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>15.00<\/bdi><\/span><\/del> <span class=\"screen-reader-text\">Original price was: &#036;15.00.<\/span><ins aria-hidden=\"true\"><span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>12.00<\/bdi><\/span> <span aria-hidden=\"true\">&ndash;<\/span> <span class=\"woocommerce-Price-amount amount\" aria-hidden=\"true\"><bdi><span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">&#36;<\/span>15.00<\/bdi><\/span><span class=\"screen-reader-text\">Price range: &#36;12.00 through &#36;15.00<\/span><\/ins><span class=\"screen-reader-text\">Current price is: &#036;12.00 &ndash; &#036;15.00Price range: &#036;12.00 through &#036;15.00.<\/span>    <\/td>\n\n                                                \n    <td class=\"col-short-description\">\n        This uses tiered pricing - the more items you buy, the lower the price.\r\n\r\nFind out <a href=\"https:\/\/pluginrepublic.com\/woocommerce-tiered-pricing\/\">how to create tiered pricing in WooCommerce here<\/a>.    <\/td>\n\n                                                \n    <td class=\"col-add-to-cart variations-display-parent\">\n                                \n\t\n\t<form class=\"cart\" action=\"https:\/\/pluginrepublic.dev\/fees-and-discounts\/product\/v-neck-t-shirt\/\" method=\"post\" enctype='multipart\/form-data'>\n\t\t\t<script>\n\t\tvar pewc_cost_triggers = [];\n\t\tvar pewc_quantity_triggers = [];\n\t<\/script>\n\t\t<script>\n\t\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\/\/ These functions are fired when a set of rules are met for a field\n\t\t\tfunction pewc_check_all_conditions( id, conditions_met, action, match ) {\n\t\t\t\tif( match == 'all' ) {\n\t\t\t\t\tvar all_met=true;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] != 1) {\n\t\t\t\t\t\t\tall_met=false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( all_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar any_met=false;\n\t\t\t\t\tnum_req = conditions_met.length;\n\t\t\t\t\tfor(var i=0;i<num_req;i++) {\n\t\t\t\t\t\tif(conditions_met[i] == 1){\n\t\t\t\t\t\t\tany_met=true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif( any_met ) {\n\t\t\t\t\t\tpewc_conditions_met( id, action );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpewc_conditions_not_met( id, action );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif( typeof pewc_update_total_js == 'function' ) {\n\t\t\t\t\tpewc_update_total_js();\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to check for hidden groups\n\t\t\t\t$( 'body' ).one( 'pewc_conditions_checked' );\n\t\t\t}\n\t\t\tfunction pewc_conditions_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_conditions_not_met( id, action ) {\n\t\t\t\t\/\/ Check the outcome for conditions being met, e.g. show field \/ hide field\n\t\t\t\tif( action == 'show' ) {\n\t\t\t\t\t$('.'+id).addClass('pewc-hidden-field');\n\t\t\t\t\tpewc_reset_field_value( id, action );\n\t\t\t\t} else if( action == 'hide' ) {\n\t\t\t\t\t$('.'+id).removeClass('pewc-hidden-field');\n\t\t\t\t}\n\t\t\t\t\/\/ Use this to retrigger calculations\n\t\t\t\t$( 'body' ).trigger( 'pewc_field_visibility_updated', [ id, action ] );\n\t\t\t}\n\t\t\tfunction pewc_reset_field_value( id, action ) {\n\t\t\t\tif( pewc_vars.reset_fields == 'yes' ) {\n\t\t\t\t\t\/\/ Reset the field value\n\t\t\t\t\tvar field = '.' + id;\n\t\t\t\t\tvar inputs = ['date', 'name_price', 'number', 'text', 'textarea', 'advanced-preview'];\n\t\t\t\t\tvar checks = ['checkbox', 'checkbox_group', 'radio'];\n\t\t\t\t\tvar field_type = $( field ).attr( 'data-field-type' );\n\t\t\t\t\tif( inputs.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'image_swatch' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' ).trigger( 'change' );\n\t\t\t\t\t} else if( field_type == 'products' ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).val( '' ).trigger( 'change' );\n\t\t\t\t\t\t$( field ).find( '.pewc-radio-image-wrapper, .pewc-checkbox-image-wrapper' ).removeClass( 'checked' );\n\t\t\t\t\t} else if( checks.includes( field_type ) ) {\n\t\t\t\t\t\t$( field ).find( 'input' ).prop( 'checked', false );\n\t\t\t\t\t} else if( field_type == 'select' ) {\n\t\t\t\t\t\t$( field ).find( '.pewc-form-field' ).prop( 'selectedIndex', 0 ).trigger( 'change' );\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t<\/script>\n\n\t\t<div class=\"quantity\">\n\t\t<label class=\"screen-reader-text\" for=\"quantity_6a401223cc652\">V-Neck T-Shirt (Tiered Pricing) quantity<\/label>\n\t<input\n\t\ttype=\"number\"\n\t\t\t\tid=\"quantity_6a401223cc652\"\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=\"0\"\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            <\/td>\n\n                        <\/tr>\n\n                        <\/tbody>\n\t\t\n<tfoot class=\"woocommerce\">\n    <tr>\n                    <td colspan=\"auto\">\n                <form class=\"ptuwc-add-selected\" method=\"post\" enctype='multipart\/form-data'>\n                    <button type=\"submit\" class=\"button selected_add_to_cart_button alt\">\n                        Add selected to cart                    <\/button>\n                <\/form>\n            <\/td>\n                            <\/tr>\n<\/tfoot>\n\n\t<\/table>\n\n\t\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>WooCommerce Fees and Discounts works seamlessly with Product Table Ultimate &#8211; display your discounted products in a table format.<\/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-440","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/pages\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":4,"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/pages\/440\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/pages\/440\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/pluginrepublic.dev\/fees-and-discounts\/wp-json\/wp\/v2\/media?parent=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}