pranachai.com
Open in
urlscan Pro
23.227.38.65
Public Scan
Submitted URL: https://pranachai.com/_t/c/A1020005-17ECC18CC322E32C-6188BB83?l=AAB8cUw%2Fw%2Fwi6EB1Y8vPJiLAt7YW3RSnHUN89y5YK1s7owUzu4...
Effective URL: https://pranachai.com/cart?syclid=cr1a5tuff21c73b1gadg&utm_campaign=emailmarketing_170341237019&utm_medium=email&utm_s...
Submission: On August 19 via manual from IN — Scanned from CA
Effective URL: https://pranachai.com/cart?syclid=cr1a5tuff21c73b1gadg&utm_campaign=emailmarketing_170341237019&utm_medium=email&utm_s...
Submission: On August 19 via manual from IN — Scanned from CA
Form analysis
25 forms found in the DOMGET /search
<form action="/search" method="get" class="search-header search" role="search"> <label for="q" class="label-hidden"> Search</label>
<div class="input-group input-group--underlined"> <input type="search" name="q" id="boost-sd__search-widget-init-input-0" class="input-group__field search-header__input search__input boost-sd__search-widget-init-input" value="" placeholder="Search"
aria-label="When autocomplete results are available use up and down arrows to review and enter to select" autocomplete="off" data-search-box="boost-sd__search-widget-init-input-0" role="combobox" aria-expanded="false" aria-autocomplete="list"
aria-owns="boost-sd__search-widget-init-wrapper-0" maxlength="150"> <button class="input-group__btn search-close-btn"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" class="icon icon-close" aria-hidden="true"
focusable="false" role="presentation">
<path fill="#444"
d="M15.89 14.696l-4.734-4.734 4.717-4.717c.4-.4.37-1.085-.03-1.485s-1.085-.43-1.485-.03L9.641 8.447 4.97 3.776c-.4-.4-1.085-.37-1.485.03s-.43 1.085-.03 1.485l4.671 4.671-4.688 4.688c-.4.4-.37 1.085.03 1.485s1.085.43 1.485.03l4.688-4.687 4.734 4.734c.4.4 1.085.37 1.485-.03s.43-1.085.03-1.485z">
</path>
</svg> <span class="icon-fallback-text">Close</span></button></div>
</form>
Name: product_dropdownform —
<form name="product_dropdownform" id="product_dropdownform">
<div class="product-price-slider">
<select name="donation_product_amount" id="donation_product_amount" class="donation_product_amount"></select>
<input type="number" name="dropdown_product_textbox" id="dropdown_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_radioform —
<form name="product_radioform" id="product_radioform">
<div class="product-price-slider">
<div class="radio_product_amount_section">
</div>
<input type="number" name="radio_product_textbox" id="radio_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_tabform —
<form name="product_tabform" id="product_tabform">
<div class="product-price-slider">
<div class="tab_product_amount_section">
</div>
<input type="number" name="tab_product_textbox" id="tab_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_textbox_form —
<form name="product_textbox_form" id="product_textbox_form">
<div class="product-price-slider">
<label id="minimum_product_donation" for="minimum_product_donation" style="display:none;"></label>
<input type="number" name="textbox_product_amount" id="textbox_product_amount" step="any" min="1" required="">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_pricebarform —
<form name="product_pricebarform" id="product_pricebarform">
<div class="product-price-slider">
<input type="range" id="product_pricebar_slider">
</div>
<div class="product-price-form">
<label class="amountsize" for="amount">Amount: </label>
<input type="hidden" id="amount">
<p class="price lead" id="amount-product-label"></p>
<p class="price">.00</p>
</div>
<div class="price-slider_button">
<button type="submit" class="btn button donation_product_button">Donate</button>
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: dropdownform —
<form name="dropdownform" id="dropdownform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<select name="donation_amount" id="donation_amount" class="donationamount">
<option value="39691171004502">$2 | 1 day of education</option>
<option value="39691171037270">$10 | 1 week of education</option>
<option value="39691171070038">$40 | 1 month of education</option>
<option value="39691171233878">$480 | 1 year of education</option>
</select>
<input type="number" name="dropdown_textbox" id="dropdown_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
POST /cart
<form action="/cart" method="post" novalidate="" class="cart-drawer__footer-form">
<input type="hidden" name="_cart"
value="{"note":null,"attributes":{},"original_total_price":11800,"total_price":11800,"total_discount":0,"total_weight":1000.0,"item_count":2,"items":[{"id":32338783338582,"properties":null,"quantity":2,"variant_id":32338783338582,"key":"32338783338582:de5370241dbd137dc582ac0bdc1a0588","title":"Prana Chai Turmeric Blend 250g Starter Kit - With Lid","price":5900,"original_price":5900,"discounted_price":5900,"line_price":11800,"original_line_price":11800,"total_discount":0,"discounts":[],"sku":"","grams":500,"vendor":"Prana Chai","taxable":true,"product_id":1353308897366,"product_has_only_default_variant":false,"gift_card":false,"final_price":5900,"final_line_price":11800,"url":"\/products\/prana-chai-turmeric-blend-starter-kit?variant=32338783338582","featured_image":{"aspect_ratio":1.0,"alt":"Prana Chai Turmeric Blend 250g Starter Kit","height":4000,"url":"\/\/pranachai.com\/cdn\/shop\/files\/Prana-Chai---Longboy-Media-74.jpg?v=1688488267","width":4000},"image":"\/\/pranachai.com\/cdn\/shop\/files\/Prana-Chai---Longboy-Media-74.jpg?v=1688488267","handle":"prana-chai-turmeric-blend-starter-kit","requires_shipping":true,"product_type":"Tea \u0026 Infusions","product_title":"Prana Chai Turmeric Blend 250g Starter Kit","product_description":" \nFREE SHIPPING ON ALL ORDERS OVER $55\nCombine the best of Prana Chai with a Prana Chai Turmeric Blend 250g Starter Box. Ideal as a present or a special treat to yourself, these Starter Boxes come with all the essentials for a stovetop brew.\nA Turmeric Blend Chai Starter Box has everything you need to whip up an unparalleled golden chai, including:\n\n250g Prana Chai Turmeric Blend\na jar of Prana Honey for those who like it sweet\nStainless steel stovetop pot (NOT induction stove\/cooktop compatible)\nFine mesh strainer\nHuskee Cup (add a lid for just $5)\n\nPrana Chai Recipe Booklet, packed with 6 original recipes to help you make the most of your chai.\n\nThere’s no going back once you’ve mastered a turmeric chai tea the Prana Chai way. Buy our Turmeric Blend Starter Box for yourself or as a special gift set for the chai devo-tea in your life. \nTurmeric Blend ingredients: premium black tea, pure honey, cinnamon, cardamom, star anise, clove, peppercorn, ginger root, turmeric.\n \nServes 15 cups per 250g. Pots are not Induction Cooktop compatible.\nWatch how to make a cold brew at home.","variant_title":"With Lid","variant_options":["With Lid"],"options_with_values":[{"name":"HuskeeCup","value":"With Lid"}],"line_level_discount_allocations":[],"line_level_total_discount":0}],"requires_shipping":true,"currency":"AUD","items_subtotal_price":11800,"cart_level_discount_applications":[],"checkout_charge_amount":11800}">
<input type="hidden" name="_shop" value="prana-chai.myshopify.com"> <input type="hidden" id="bb_proxy_prefix" value="/apps/bundles"> <button class="btn btn--wide cart-drawer__submit" type="submit" name="checkout"><svg viewBox="0 0 18 22"
xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" role="presentation" class="icon icon-padlock">
<path
d="M3.244 8.054V6.309C3.327 3.197 5.899.73 8.99.781a5.68 5.68 0 0 1 5.767 5.532v1.74h1.188a1.7 1.7 0 0 1 1.7 1.7v10.358a1.7 1.7 0 0 1-1.7 1.7H2.056a1.7 1.7 0 0 1-1.7-1.7V9.754a1.7 1.7 0 0 1 1.7-1.7h1.188zm1.4 0h8.712v-.842-.879a4.282 4.282 0 0 0-4.367-4.152c-2.346-.038-4.284 1.82-4.345 4.146v1.727zm-2.588 1.4a.3.3 0 0 0-.3.3V20.11a.3.3 0 0 0 .3.3h13.888a.3.3 0 0 0 .3-.3V9.754a.3.3 0 0 0-.3-.3H2.056zm9.335 4.223v.012a2.364 2.364 0 0 1-.9 1.85.12.12 0 0 0-.046.09v1.618c0 .73-.592 1.322-1.322 1.322h-.26c-.73 0-1.322-.592-1.322-1.322V15.63c0-.035-.016-.07-.028-.08-1.048-.838-1.223-2.364-.417-3.385.099-.144.223-.268.327-.337a2.434 2.434 0 0 1 3.968 1.85zm-1.912-1.079c-.429-.2-.933-.137-1.34.19a1.247 1.247 0 0 0 .138 1.836c.294.252.464.619.464 1.005v1.618c0 .068.054.122.122.122h.26a.122.122 0 0 0 .122-.122v-1.622c.003-.395.182-.769.497-1.024.28-.22.446-.555.45-.91a1.234 1.234 0 0 0-.713-1.093z"
fill="#FFF"></path>
</svg>
<span>Proceed to Checkout</span></button>
</form>
POST /cart
<form action="/cart" method="post" novalidate="" class="cart">
<input type="hidden" name="_cart"
value="{"note":null,"attributes":{},"original_total_price":11800,"total_price":11800,"total_discount":0,"total_weight":1000.0,"item_count":2,"items":[{"id":32338783338582,"properties":null,"quantity":2,"variant_id":32338783338582,"key":"32338783338582:de5370241dbd137dc582ac0bdc1a0588","title":"Prana Chai Turmeric Blend 250g Starter Kit - With Lid","price":5900,"original_price":5900,"discounted_price":5900,"line_price":11800,"original_line_price":11800,"total_discount":0,"discounts":[],"sku":"","grams":500,"vendor":"Prana Chai","taxable":true,"product_id":1353308897366,"product_has_only_default_variant":false,"gift_card":false,"final_price":5900,"final_line_price":11800,"url":"\/products\/prana-chai-turmeric-blend-starter-kit?variant=32338783338582","featured_image":{"aspect_ratio":1.0,"alt":"Prana Chai Turmeric Blend 250g Starter Kit","height":4000,"url":"\/\/pranachai.com\/cdn\/shop\/files\/Prana-Chai---Longboy-Media-74.jpg?v=1688488267","width":4000},"image":"\/\/pranachai.com\/cdn\/shop\/files\/Prana-Chai---Longboy-Media-74.jpg?v=1688488267","handle":"prana-chai-turmeric-blend-starter-kit","requires_shipping":true,"product_type":"Tea \u0026 Infusions","product_title":"Prana Chai Turmeric Blend 250g Starter Kit","product_description":" \nFREE SHIPPING ON ALL ORDERS OVER $55\nCombine the best of Prana Chai with a Prana Chai Turmeric Blend 250g Starter Box. Ideal as a present or a special treat to yourself, these Starter Boxes come with all the essentials for a stovetop brew.\nA Turmeric Blend Chai Starter Box has everything you need to whip up an unparalleled golden chai, including:\n\n250g Prana Chai Turmeric Blend\na jar of Prana Honey for those who like it sweet\nStainless steel stovetop pot (NOT induction stove\/cooktop compatible)\nFine mesh strainer\nHuskee Cup (add a lid for just $5)\n\nPrana Chai Recipe Booklet, packed with 6 original recipes to help you make the most of your chai.\n\nThere’s no going back once you’ve mastered a turmeric chai tea the Prana Chai way. Buy our Turmeric Blend Starter Box for yourself or as a special gift set for the chai devo-tea in your life. \nTurmeric Blend ingredients: premium black tea, pure honey, cinnamon, cardamom, star anise, clove, peppercorn, ginger root, turmeric.\n \nServes 15 cups per 250g. Pots are not Induction Cooktop compatible.\nWatch how to make a cold brew at home.","variant_title":"With Lid","variant_options":["With Lid"],"options_with_values":[{"name":"HuskeeCup","value":"With Lid"}],"line_level_discount_allocations":[],"line_level_total_discount":0}],"requires_shipping":true,"currency":"AUD","items_subtotal_price":11800,"cart_level_discount_applications":[],"checkout_charge_amount":11800}">
<input type="hidden" name="_shop" value="prana-chai.myshopify.com"> <input type="hidden" id="bb_proxy_prefix" value="/apps/bundles">
<table class="responsive-table">
<thead class="small--hide cart__row cart__header">
<tr>
<th colspan="2">Product</th>
<th>Price</th>
<th>Quantity</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<tr class="responsive-table-row cart__row">
<td class="cart__image-wrapper" data-label="Product">
<a href="/products/prana-chai-turmeric-blend-starter-kit?variant=32338783338582"> <img class="cart__image" src="//pranachai.com/cdn/shop/files/Prana-Chai---Longboy-Media-74_240x240.jpg?v=1688488267" alt="Prana Chai Turmeric Blend 250g Starter Kit - With Lid"></a>
</td>
<td class="cart__meta"> <a href="/products/prana-chai-turmeric-blend-starter-kit?variant=32338783338582">Prana Chai Turmeric Blend 250g Starter Kit</a>
<p>With Lid</p>
<p>Prana Chai</p> <a href="/cart/change?line=1&quantity=0"> <small>Remove</small></a>
</td>
<td class="cart__price" data-label="Price"> $59.00</td>
<td class="cart__qty" data-label="Quantity"> <input type="number" name="updates[]" id="updates_32338783338582:de5370241dbd137dc582ac0bdc1a0588" value="2" min="0" aria-label="Item quantity"></td>
<td class="cart__total" data-label="Total"> $118.00</td>
</tr>
</tbody>
</table>
<div class="cart-note"> <label class="cart-note__label" for="CartSpecialInstructions">Add a note to your order</label> <textarea class="cart-note__input" name="note" id="CartSpecialInstructions"></textarea>
</div>
<div class="cart__footer rte">
<p>Subtotal</p>
<p>$118.00</p>
<p>calculated at checkout</p> <input type="submit" name="update" class="btn btn--large btn-secondary" value="Update"> <input type="submit" name="checkout" class="btn btn--large checkout_button" value="CHECKOUT">
</div>
</form>
POST /contact#contact_form
<form method="post" action="/contact#contact_form" id="contact_form" accept-charset="UTF-8" class="contact-form" data-vfib="0"><input type="hidden" name="form_type" value="customer"><input type="hidden" name="utf8" value="✓">
<div class="input-group input-group--default"> <input type="hidden" name="contact[tags]" value="newsletter" class="input-group__field"> <input type="email" name="contact[email]" id="Email" class="input-group__field newsletter__input" value=""
placeholder="Email address" autocorrect="off" autocapitalize="off"> <button type="submit" class="btn btn--primary input-group__btn newsletter__submit" name="commit" id="Subscribe"> <span class="newsletter__submit-text"><svg aria-hidden="true"
focusable="false" role="presentation" class="icon icon--wide icon-arrow-right" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.07959 4.29883L13.5796 8.79883M13.5796 8.79883L9.07959 13.2988M13.5796 8.79883L3.07959 8.79883" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</span></button></div>
</form>
POST /cart
<form action="/cart" method="post" novalidate="" class="cart-drawer__footer-form">
<div class="cart-drawer__total cart-drawer__total--shipping">
<p class="cart-drawer__total-title"> Shipping:</p>
<div class="cart-drawer__total-price"> <!-- tinybind: if cart.total_price --> <!-- tinybind: if cart.total_price -->
<div class="cart-drawer__shipping-message"> <!-- tinybind: if cart.total_price -->
<p>Free</p>
</div>
</div>
</div>
<div class="cart-drawer__total">
<p class="cart-drawer__total-title"> Subtotal</p>
<div class="cart-drawer__total-price">$118.00</div>
</div>
<div class="cart-drawer__actions"> <button class="btn btn--wide btn-primary cart-drawer__submit" type="submit" name="checkout"><span>CHECKOUT</span></button>
<div class="donation" page="cart" shop="prana-chai.myshopify.com"><!-- <script type="text/javascript" src="https://easydonation.zestardshop.com/js/latest_jquery.min.js"></script> -->
<script src="https://easydonation.zestardshop.com/js/latest_jquery-ui.js" type="text/javascript"></script>
<link href="https://easydonation.zestardshop.com/css/latest_jquery-ui.css" rel="stylesheet" type="text/css">
<link href="https://easydonation.zestardshop.com/css/frontpreview.css" rel="stylesheet" type="text/css">
<script>
var base_path_easydonation = "https://easydonation.zestardshop.com/";
var variant_ids, product_id;
var shop_name = Shopify.shop,
popup_message;
var shop_id = "zeULyJ0W5mePA";
var db_id = "5678";
$zestard_easy = window.jQuery;
// if(parseInt(db_id) >= 12601){
// try {
// if (typeof window.redirectHome !== 'undefined' && window.redirectHome === 'yes') {
// window.location.href = `https://${Shopify.shop}`;
// }
// } catch (error) {
// console.error('An error occurred:', error);
// }
// }
$zestard_easy(document).ready(function() {
if (shop_name == "help-get-fun-size-and-jesters-to-usa.myshopify.com") {
$zestard_easy(".fontpreview").css("padding", "75px");
$zestard_easy(".fontpreview").css("border", "1px solid #e9e9e9");
$zestard_easy(".fontpreview").css("box-shadow", "none");
$zestard_easy(".display_description p").css("font-size", "13px");
}
var shop_id = 'zeULyJ0W5mePA';
var db_id = '5678';
var page = 'cart';
var additional_css = "";
var product_image = " https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 ";
setdata = {
"id": 3568,
"status": "1",
"select_page": 3,
"title": "Make A Donation",
"donation_name": "Help Us Sponsor Education for Children in India and Sri Lanka",
"description": "<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href=\"https:\/\/mukti.org.au\/\">Mukti Australia<\/a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka.<\/p>\r\n\r\n<p>With your additional donation, we can send even <em>more<\/em> children to school. Learn more <a href=\"https:\/\/pranachai.com\/pages\/charity\">here<\/a>. <\/p>",
"field_option": "D",
"dropdown_option": "[\"$2 | 1 day of education\",\"$10 | 1 week of education\",\"$40 | 1 month of education\",\"$480 | 1 year of education\"]",
"dropdown_other": 0,
"text_dropdown_other": "Choose $",
"radio_option": null,
"tab_option": null,
"radio_other": null,
"tab_other": null,
"text_radio_other": null,
"text_tab_other": null,
"bar_min": 0,
"bar_max": 0,
"add_min_amount": 0,
"variant_ids": "[39691171004502,39691171037270,39691171070038,39691171233878]",
"donation_data": "YToxOntpOjA7Tzo4OiJzdGRDbGFzcyI6ODp7czoxMzoiZG9uYXRpb25fbmFtZSI7czo2MToiSGVscCBVcyBTcG9uc29yIEVkdWNhdGlvbiBmb3IgQ2hpbGRyZW4gaW4gSW5kaWEgYW5kIFNyaSBMYW5rYSI7czoyMDoiZG9uYXRpb25fZGVzY3JpcHRpb24iO3M6NDg3OiI8cD5FdmVyeSB0aW1lIHlvdSBidXkgYSByZXRhaWwgYmFnIGZyb20gUHJhbmEgQ2hhaSwgd2UgZG9uYXRlICQyLCBzbyB0aGF0Jm5ic3A7PGEgaHJlZj0iaHR0cHM6Ly9tdWt0aS5vcmcuYXUvIj5NdWt0aSBBdXN0cmFsaWE8L2E+Jm5ic3A7Y2FuIHBheSBmb3IgYSBkYXkgb2YgZWR1Y2F0aW9uLCBsaXZpbmcgZXhwZW5zZXMsIGZvb2QgYW5kIHNoZWx0ZXIsIHNjaG9vbCBzdXBwbGllcywgYW5kIHVuaWZvcm0gY29zdHMgZm9yIGEgZ2lybCBpbiBJbmRpYSBvciBhIGNoaWxkIG9mIGEgdGVhIHdvcmtlciBpbiBTcmkgTGFua2EuPC9wPg0KDQo8cD5XaXRoIHlvdXIgYWRkaXRpb25hbCBkb25hdGlvbiwgd2UgY2FuIHNlbmQgZXZlbiZuYnNwOzxlbT5tb3JlPC9lbT4mbmJzcDtjaGlsZHJlbiZuYnNwO3RvIHNjaG9vbC4gTGVhcm4gbW9yZSZuYnNwOzxhIGhyZWY9Imh0dHBzOi8vcHJhbmFjaGFpLmNvbS9wYWdlcy9jaGFyaXR5Ij5oZXJlPC9hPi4mbmJzcDs8L3A+IjtzOjExOiJzZWxlY3RfcGFnZSI7czoxOiIzIjtzOjEyOiJmaWVsZF9vcHRpb24iO3M6MToiRCI7czo5OiJkcm9wX2Rvd24iO3M6MTEzOiJbIiQyIHwgMSBkYXkgb2YgZWR1Y2F0aW9uIiwiJDEwIHwgMSB3ZWVrIG9mIGVkdWNhdGlvbiIsIiQ0MCB8IDEgbW9udGggb2YgZWR1Y2F0aW9uIiwiJDQ4MCB8IDEgeWVhciBvZiBlZHVjYXRpb24iXSI7czoxNDoiZHJvcGRvd25fb3RoZXIiO2k6MDtzOjE5OiJ0ZXh0X2Ryb3Bkb3duX290aGVyIjtzOjg6IkNob29zZSAkIjtzOjEwOiJwcm9kdWN0X2lkIjtpOjY2OTg5NTMxMTM2ODY7fX0=",
"donation_button_text": "Donate",
"additional_css": ".donation_button {\r\nline-height: .5em;\r\n}",
"shop_currency": "$",
"shop_id": 5678,
"send_email": null,
"receive_email": null,
"show_popup": 1,
"popup_message": "Thanks For Donating!",
"created_at": "2023-10-17 05:28:23",
"updated_at": "2023-10-17 09:28:23",
"deleted_at": null
};
window.newSetdata = {
"id": 3568,
"status": "1",
"select_page": 3,
"title": "Make A Donation",
"donation_name": "Help Us Sponsor Education for Children in India and Sri Lanka",
"description": "<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href=\"https:\/\/mukti.org.au\/\">Mukti Australia<\/a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka.<\/p>\r\n\r\n<p>With your additional donation, we can send even <em>more<\/em> children to school. Learn more <a href=\"https:\/\/pranachai.com\/pages\/charity\">here<\/a>. <\/p>",
"field_option": "D",
"dropdown_option": "[\"$2 | 1 day of education\",\"$10 | 1 week of education\",\"$40 | 1 month of education\",\"$480 | 1 year of education\"]",
"dropdown_other": 0,
"text_dropdown_other": "Choose $",
"radio_option": null,
"tab_option": null,
"radio_other": null,
"tab_other": null,
"text_radio_other": null,
"text_tab_other": null,
"bar_min": 0,
"bar_max": 0,
"add_min_amount": 0,
"variant_ids": "[39691171004502,39691171037270,39691171070038,39691171233878]",
"donation_data": "YToxOntpOjA7Tzo4OiJzdGRDbGFzcyI6ODp7czoxMzoiZG9uYXRpb25fbmFtZSI7czo2MToiSGVscCBVcyBTcG9uc29yIEVkdWNhdGlvbiBmb3IgQ2hpbGRyZW4gaW4gSW5kaWEgYW5kIFNyaSBMYW5rYSI7czoyMDoiZG9uYXRpb25fZGVzY3JpcHRpb24iO3M6NDg3OiI8cD5FdmVyeSB0aW1lIHlvdSBidXkgYSByZXRhaWwgYmFnIGZyb20gUHJhbmEgQ2hhaSwgd2UgZG9uYXRlICQyLCBzbyB0aGF0Jm5ic3A7PGEgaHJlZj0iaHR0cHM6Ly9tdWt0aS5vcmcuYXUvIj5NdWt0aSBBdXN0cmFsaWE8L2E+Jm5ic3A7Y2FuIHBheSBmb3IgYSBkYXkgb2YgZWR1Y2F0aW9uLCBsaXZpbmcgZXhwZW5zZXMsIGZvb2QgYW5kIHNoZWx0ZXIsIHNjaG9vbCBzdXBwbGllcywgYW5kIHVuaWZvcm0gY29zdHMgZm9yIGEgZ2lybCBpbiBJbmRpYSBvciBhIGNoaWxkIG9mIGEgdGVhIHdvcmtlciBpbiBTcmkgTGFua2EuPC9wPg0KDQo8cD5XaXRoIHlvdXIgYWRkaXRpb25hbCBkb25hdGlvbiwgd2UgY2FuIHNlbmQgZXZlbiZuYnNwOzxlbT5tb3JlPC9lbT4mbmJzcDtjaGlsZHJlbiZuYnNwO3RvIHNjaG9vbC4gTGVhcm4gbW9yZSZuYnNwOzxhIGhyZWY9Imh0dHBzOi8vcHJhbmFjaGFpLmNvbS9wYWdlcy9jaGFyaXR5Ij5oZXJlPC9hPi4mbmJzcDs8L3A+IjtzOjExOiJzZWxlY3RfcGFnZSI7czoxOiIzIjtzOjEyOiJmaWVsZF9vcHRpb24iO3M6MToiRCI7czo5OiJkcm9wX2Rvd24iO3M6MTEzOiJbIiQyIHwgMSBkYXkgb2YgZWR1Y2F0aW9uIiwiJDEwIHwgMSB3ZWVrIG9mIGVkdWNhdGlvbiIsIiQ0MCB8IDEgbW9udGggb2YgZWR1Y2F0aW9uIiwiJDQ4MCB8IDEgeWVhciBvZiBlZHVjYXRpb24iXSI7czoxNDoiZHJvcGRvd25fb3RoZXIiO2k6MDtzOjE5OiJ0ZXh0X2Ryb3Bkb3duX290aGVyIjtzOjg6IkNob29zZSAkIjtzOjEwOiJwcm9kdWN0X2lkIjtpOjY2OTg5NTMxMTM2ODY7fX0=",
"donation_button_text": "Donate",
"additional_css": ".donation_button {\r\nline-height: .5em;\r\n}",
"shop_currency": "$",
"shop_id": 5678,
"send_email": null,
"receive_email": null,
"show_popup": 1,
"popup_message": "Thanks For Donating!",
"created_at": "2023-10-17 05:28:23",
"updated_at": "2023-10-17 09:28:23",
"deleted_at": null
};
popup_message = setdata.popup_message;
show_popup = setdata.show_popup;
$zestard_easy(".donation_loader").hide();
window.manageDonatedProducts = function(prodResponse) {
var addingVarArr = [];
for (item in prodResponse.response) {
addingVarArr.push({
quantity: prodResponse.response[item],
id: item
});
}
$.ajax({
type: 'POST',
url: '/cart/add.js',
data: {
items: addingVarArr
},
dataType: 'json',
success: function(data) {
$zestard_easy(".loaderDiv").hide();
if (newSetdata.show_popup == 1) {
$zestard_easy(".overlay, .zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".overlay, .zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
if (shop_name == "living-liv.myshopify.com" || shop_name == "trk-care.myshopify.com" || shop_name == "rinseoffsystems.myshopify.com" || shop_name == "havasmarket.myshopify.com" || shop_name ==
"maemae-ptsa.myshopify.com" || shop_name == "semi-org-dev.myshopify.com" || shop_name == "f3464b-16.myshopify.com") {
reloadcart();
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
//window.location.href = '/cart';
}
});
}
/*
$zestard_easy.ajax({
type: "GET",
url: base_path_easydonation + "front_preview",
data: {
id: shop_id,
shop_name: shop_name
},
success: function (data){
setdata = JSON.parse(data);
*/
if (setdata.status == '1') {
var text_dropdown_other = setdata.text_dropdown_other;
var text_radio_other = setdata.text_radio_other;
var text_tab_other = setdata.text_tab_other;
additional_css = setdata.additional_css;
$zestard_easy('.easy_donation_additional_css').html("<style>" + additional_css + "</style>");
$zestard_easy('#thank_you_message').html(popup_message);
if (setdata.select_page == 2 && page == "product" || setdata.select_page == 3 && page == "product") {
if (shop_name == "pandere-shoes.myshopify.com") {
$(".product-form").css("display", "none");
}
if (shop_name == "serajeymonastery.myshopify.com") {
if (vendor == "zestard-easy-donation") {
$("[itemprop=offers]").css("display", "none");
}
} else if (shop_name == "tactical-aesthetic.myshopify.com") {
if ($("[itemprop=offers]")) {
$("[itemprop=offers]").css("display", "block");
}
} else {
if ($("[itemprop=offers]")) {
$("[itemprop=offers]").css("display", "none");
}
}
if (setdata.field_option == "P") {
$zestard_easy('#preview_product_container').css('display', 'inline-block');
$zestard_easy("#textbox_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#radio_product_preview").remove();
$zestard_easy("#tab_product_preview").remove();
$zestard_easy('#pricebar_product_preview').css('display', 'block');
var min_val = parseInt(setdata.bar_min);
var max_val = parseInt(setdata.bar_max);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_product_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_product_button").attr("value", "Donate");
}
$zestard_easy("#product_pricebar_slider").val(min_val);
$zestard_easy("#product_pricebar_slider").attr("min", min_val);
$zestard_easy("#product_pricebar_slider").attr("max", max_val);
$zestard_easy("#amount-product-label").html(setdata.shop_currency + min_val);
$zestard_easy("#product_pricebar_slider").change(function() {
var amounttext = $zestard_easy("#product_pricebar_slider").val();
$zestard_easy("#amount-product-label").html(setdata.shop_currency + amounttext);
});
if (shop_name == "free-theme-test.myshopify.com") {
var price_tip = '<div id="price_map" style="display: block;width: 160px;margin: 10px 50px;position: relative;">' + '<span style="position: absolute;left: 0;">$' + min_val + '</span>' +
'<span style="position: absolute;left: 40%;">$' + Math.floor((parseInt(min_val) + parseInt(max_val)) / 2) + '</span>' + '<span style="position: absolute;right: 0;">$' + max_val + '</span>' + '</div>';
$(".price-slider").find("input[type='range']").after(price_tip);
$(".price-slider").find("input[type='range']").val(Math.floor((parseInt(min_val) + parseInt(max_val)) / 2));
}
} else if (setdata.field_option == "D") {
$zestard_easy('#preview_product_container').css('display', 'inline-block');
$zestard_easy("#textbox_product_preview").remove();
$zestard_easy("#pricebar_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#radio_product_preview").remove();
$zestard_easy('#dropdown_product_preview').css('display', 'block');
var option_array = JSON.parse(setdata.dropdown_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_product_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_product_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
if (shop_name == "pandere-shoes.myshopify.com") {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
value: variant_ids[j],
text: "Donate " + option_array[j] + " to LE&RN"
}));
j++;
});
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
value: variant_ids[j],
text: option_array[j]
}));
j++;
});
}
// Donate $1 to LE&RN
if (setdata.dropdown_other == 1) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
id: "click_drop_down",
value: "other",
text: text_dropdown_other
}));
}
} else {
if (shop_name == "pandere-shoes.myshopify.com") {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
value: option_array[j],
text: "Donate" + option_array[j] + "to LE&RN"
}));
j++;
});
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
value: option_array[j],
text: option_array[j]
}));
j++;
});
}
if (setdata.dropdown_other == 1) {
$zestard_easy('#donation_product_amount').append($zestard_easy('<option>', {
id: "click_drop_down",
value: "other",
text: text_dropdown_other
}));
}
}
} else if (setdata.field_option == "T") {
$zestard_easy('#preview_product_container').css('display', 'inline-block');
$zestard_easy("#pricebar_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#radio_product_preview").remove();
$zestard_easy('#textbox_product_preview').css('display', 'block');
if (setdata.add_min_amount >= 1) {
//$zestard_easy("#minimum_product_donation").after(setdata.shop_currency + setdata.add_min_amount);
$zestard_easy('#minimum_product_donation').css('display', 'block');
$zestard_easy("#minimum_product_donation").html("Minimum Donation: " + setdata.shop_currency + setdata.add_min_amount);
$zestard_easy("#textbox_product_amount").attr("min", setdata.add_min_amount);
} else {
$zestard_easy('#minimum_product_donation').css('display', 'none');
}
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_product_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_product_button").attr("value", "Donate");
}
} else if (setdata.field_option == "R") {
$zestard_easy('#preview_product_container').css('display', 'inline-block');
$zestard_easy("#textbox_product_preview").remove();
$zestard_easy("#pricebar_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#tab_product_preview").remove();
$zestard_easy('#radio_product_preview').css('display', 'block');
var option_array = JSON.parse(setdata.radio_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_product_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_product_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.radio_product_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="radio-options-' + variant_ids[j] + '" value="' + variant_ids[j] +
'"><label for="radio-options-' + variant_ids[j] + '">' + option_array[j] + '</label>'));
j++;
});
// Donate $1 to LE&RN
if (setdata.radio_other == 1) {
$zestard_easy('.radio_product_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="click_radio" value="other"><label for="click_radio">' + text_radio_other + '</label>'));
}
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.radio_product_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="radio-options-' + option_array[j] + '" value="' + option_array[j] +
'"><label for="radio-options-' + option_array[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.radio_other == 1) {
$zestard_easy('.radio_product_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="click_radio" value="other"><label for="click_radio">' + text_radio_other + '</label>'));
}
}
} else if (setdata.field_option == "O") {
$zestard_easy('#preview_product_container').css('display', 'inline-block');
$zestard_easy("#textbox_product_preview").remove();
$zestard_easy("#pricebar_product_preview").remove();
$zestard_easy("#dropdown_product_preview").remove();
$zestard_easy("#radio_product_preview").remove();
$zestard_easy('#tab_product_preview').css('display', 'block');
var option_array = JSON.parse(setdata.tab_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_product_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_product_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.tab_product_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="tab-options-' + variant_ids[j] + '" value="' + variant_ids[j] +
'"><label for="tab-options-' + variant_ids[j] + '">' + option_array[j] + '</label>'));
j++;
});
// Donate $1 to LE&RN
if (setdata.tab_other == 1) {
$zestard_easy('.tab_product_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="click_tab" value="other"><label for="click_tab">' + text_tab_other + '</label>'));
}
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.tab_product_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="tab-options-' + option_array[j] + '" value="' + option_array[j] +
'"><label for="tab-options-' + option_array[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.tab_other == 1) {
$zestard_easy('.tab_product_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="click_tab" value="other"><label for="click_tab">' + text_tab_other + '</label>'));
}
}
} else {}
}
//continue from here
else if (setdata.select_page == 1 && page == "cart" || setdata.select_page == 3 && page == "cart") {
//for getting the product image
/* var shop = setdata.shop_id;
$zestard_easy.ajax({
type: "GET",
url: "https://easydonation.zestardshop.com/productimage",
async: false,
data: {
'id': shop
},
success: function (product) {
$(".donation_loader").hide();
product_image = JSON.parse(product);
}
}); */
if (product_image) {
$zestard_easy('.donation_content .product-image').html($zestard_easy('<img>', {
id: 'ztpl-product-image',
src: product_image,
width: 100
}));
} else {
$zestard_easy('.donation_content .product-image').remove();
}
if (setdata.field_option == "P") {
$zestard_easy('#preview_container').css('display', 'inline-block');
$zestard_easy("#textbox_preview").remove();
$zestard_easy("#dropdown_preview").remove();
$zestard_easy("#radio_preview").remove();
$zestard_easy("#tab_preview").remove();
$zestard_easy('#pricebar_preview').css('display', 'block');
var min_val = parseInt(setdata.bar_min);
var max_val = parseInt(setdata.bar_max);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_name) {
$zestard_easy(".display_title").text(setdata.donation_name);
} else {
$zestard_easy(".display_title").css('display', 'none');
}
if (setdata.description) {
$zestard_easy(".display_description").html(setdata.description);
} else {
$zestard_easy(".display_description").css('display', 'none');
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_button").text(setdata.donation_button_text);
} else {
$zestard_easy(".donation_button").attr("value", "Donate");
}
$zestard_easy("#pricebar_slider").val(min_val);
$zestard_easy("#pricebar_slider").attr("min", min_val);
$zestard_easy("#pricebar_slider").attr("max", max_val);
$zestard_easy("#amount-label").html(setdata.shop_currency + min_val);
$zestard_easy("#pricebar_slider").change(function() {
var amounttext = $zestard_easy("#pricebar_slider").val();
$zestard_easy("#amount-label").html(setdata.shop_currency + amounttext);
});
} else if (setdata.field_option == "D") {
$zestard_easy('#preview_container').css('display', 'inline-block');
$zestard_easy("#textbox_preview").remove();
$zestard_easy("#pricebar_preview").remove();
$zestard_easy("#radio_preview").remove();
$zestard_easy("#tab_preview").remove();
$zestard_easy('#dropdown_preview').css('display', 'block');
var option_array = JSON.parse(setdata.dropdown_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_name) {
$zestard_easy(".display_title").text(setdata.donation_name);
} else {
$zestard_easy(".display_title").css('display', 'none');
}
if (setdata.description) {
$zestard_easy(".display_description").html(setdata.description);
} else {
$zestard_easy(".display_description").css('display', 'none');
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_amount').append($zestard_easy('<option>', {
value: variant_ids[j],
text: option_array[j]
}));
j++;
});
if (setdata.dropdown_other == 1) {
$zestard_easy('#donation_amount').append($zestard_easy('<option>', {
id: "click_drop_down",
value: "other",
text: text_dropdown_other
}));
}
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('#donation_amount').append($zestard_easy('<option>', {
value: option_array[j],
text: option_array[j]
}));
j++;
});
if (setdata.dropdown_other == 1) {
$zestard_easy('#donation_amount').append($zestard_easy('<option>', {
id: "click_drop_down",
value: "other",
text: text_dropdown_other
}));
}
}
} else if (setdata.field_option == "T") {
$zestard_easy('#preview_container').css('display', 'inline-block');
$zestard_easy("#pricebar_preview").remove();
$zestard_easy("#dropdown_preview").remove();
$zestard_easy("#radio_preview").remove();
$zestard_easy("#tab_preview").remove();
$zestard_easy('#textbox_preview').css('display', 'block');
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_name) {
$zestard_easy(".display_title").text(setdata.donation_name);
} else {
$zestard_easy(".display_title").css('display', 'none');
}
if (setdata.description) {
$zestard_easy(".display_description").html(setdata.description);
} else {
$zestard_easy(".display_description").css('display', 'none');
}
if (setdata.add_min_amount >= 1) {
//$zestard_easy("#minimum_donation").after(setdata.shop_currency + setdata.add_min_amount);
$zestard_easy("#minimum_donation").css('display', 'block');
$zestard_easy("#minimum_donation").html("Minimum Donation: " + setdata.shop_currency + setdata.add_min_amount);
$zestard_easy("#textbox_amount").attr("min", setdata.add_min_amount);
} else {
$zestard_easy("#minimum_donation").css('display', 'none');
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_button").attr("value", "Donate");
}
} else if (setdata.field_option == "R") {
$zestard_easy('#preview_container').css('display', 'inline-block');
$zestard_easy("#textbox_preview").remove();
$zestard_easy("#pricebar_preview").remove();
$zestard_easy("#dropdown_preview").remove();
$zestard_easy("#tab_preview").remove();
$zestard_easy('#radio_preview').css('display', 'block');
var option_array = JSON.parse(setdata.radio_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_name) {
$zestard_easy(".display_title").text(setdata.donation_name);
} else {
$zestard_easy(".display_title").css('display', 'none');
}
if (setdata.description) {
$zestard_easy(".display_description").html(setdata.description);
} else {
$zestard_easy(".display_description").css('display', 'none');
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.radio_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="radio-options-' + variant_ids[j] + '" value="' + variant_ids[j] +
'"><label for="radio-options-' + variant_ids[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.radio_other == 1) {
$zestard_easy('.radio_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="click_radio" value="other"><label for="click_radio">' + text_radio_other + '</label>'));
}
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.radio_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="radio-options-' + option_array[j] + '" value="' + option_array[j] +
'"><label for="radio-options-' + option_array[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.radio_other == 1) {
$zestard_easy('.radio_amount_section').append($zestard_easy('<input type="radio" class="radio-options" name="radio_option" id="click_radio" value="other"><label for="click_radio">' + text_radio_other + '</label>'));
}
}
} else if (setdata.field_option == "O") {
$zestard_easy('#preview_container').css('display', 'inline-block');
$zestard_easy("#textbox_preview").remove();
$zestard_easy("#pricebar_preview").remove();
$zestard_easy("#dropdown_preview").remove();
$zestard_easy("#radio_preview").remove();
$zestard_easy('#tab_preview').css('display', 'block');
var option_array = JSON.parse(setdata.tab_option);
if (setdata.title) {
$zestard_easy(".easy_donation_title").text(setdata.title);
} else {
$zestard_easy(".easy_donation_title").text("Donation");
}
if (setdata.donation_name) {
$zestard_easy(".display_title").text(setdata.donation_name);
} else {
$zestard_easy(".display_title").css('display', 'none');
}
if (setdata.description) {
$zestard_easy(".display_description").html(setdata.description);
} else {
$zestard_easy(".display_description").css('display', 'none');
}
if (setdata.donation_button_text) {
$zestard_easy(".donation_button").attr("value", setdata.donation_button_text);
} else {
$zestard_easy(".donation_button").attr("value", "Donate");
}
var j = 0;
if (setdata.variant_ids) {
variant_ids = JSON.parse(setdata.variant_ids);
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.tab_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="tab-options-' + variant_ids[j] + '" value="' + variant_ids[j] + '"><label for="tab-options-' +
variant_ids[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.tab_other == 1) {
$zestard_easy('.tab_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="click_tab" value="other"><label for="click_tab">' + text_tab_other + '</label>'));
}
} else {
$zestard_easy.each(option_array, function(j) {
$zestard_easy('.tab_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="tab-options-' + option_array[j] + '" value="' + option_array[j] + '"><label for="tab-options-' +
option_array[j] + '">' + option_array[j] + '</label>'));
j++;
});
if (setdata.tab_other == 1) {
$zestard_easy('.tab_amount_section').append($zestard_easy('<input type="radio" class="tab-options" name="tab_option" id="click_tab" name="tab_radio" value="other"><label for="click_tab">' + text_tab_other + '</label>'));
}
}
} else {}
}
}
/* }
}); */
$zestard_easy("#donation_amount").on('change', function() {
var dropdown_value = $(this).val();
if (dropdown_value == "other") {
$zestard_easy('#dropdown_textbox').css('display', 'inline-block');
} else {
$zestard_easy('#dropdown_textbox').css('display', 'none');
}
});
$zestard_easy("#donation_product_amount").on('change', function() {
var dropdown_value = $(this).val();
if (dropdown_value == "other") {
$zestard_easy('#dropdown_product_textbox').css('display', 'inline-block');
} else {
$zestard_easy('#dropdown_product_textbox').css('display', 'none');
}
});
//Extra Donation Options
$zestard_easy(".radio-options").on('change', function() {
var radio_value = $(this).val();
if (radio_value == "other") {
$zestard_easy('#radio_textbox').css('display', 'inline-block');
$zestard_easy('#radio_product_textbox').css('display', 'inline-block');
} else {
$zestard_easy('#radio_textbox').css('display', 'none');
$zestard_easy('#radio_product_textbox').css('display', 'none');
}
});
$zestard_easy(".tab-options").on('change', function() {
var tab_value = $(this).val();
if (tab_value == "other") {
$zestard_easy('#tab_textbox').css('display', 'inline-block');
$zestard_easy('#tab_product_textbox').css('display', 'inline-block');
} else {
$zestard_easy('#tab_textbox').css('display', 'none');
$zestard_easy('#tab_product_textbox').css('display', 'none');
}
});
//Extra Donation Options
});
function show_loader() {
$zestard_easy('.loaderDiv').css('display', 'inline-block');
}
function reloadcart() {
if (shop_name == "dolan-group.myshopify.com" || shop_name == "freedom-heart-ukraine-2023.myshopify.com" || shop_name == "vspo-store.myshopify.com") {
setTimeout(function() {
window.location.reload(true);
}, 400);
} else if (shop_name == "episcopal-parents-guild-store.myshopify.com" || shop_name == "lordvonpanen.myshopify.com" || shop_name == "tatti-lashes.myshopify.com" || shop_name == "qd-development.myshopify.com" || shop_name ==
"f3464b-16.myshopify.com") {
window.location.href = "/checkout";
} else {
window.location.href = "/cart";
}
}
$zestard_easy("#product_dropdownform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy("#donation_product_amount option").each(function() {
data_array[$(this).text()] = $(this).val();
custom_array.push($(this).text());
});
var data = $zestard_easy("#donation_product_amount").val();
var custom_data = $zestard_easy("#dropdown_product_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
} else {
data = $zestard_easy("#dropdown_product_textbox").val();
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
$zestard_easy('.loaderDiv').css('display', 'none');
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
e.preventDefault();
});
$zestard_easy("#product_textbox_form").submit(function(e) {
var data = $zestard_easy("#textbox_product_amount").val();
var productid = $('.donation').attr('productid');
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
data: {
data: data,
productid: productid,
'id': shop_id
},
beforeSend: function() {
$zestard_easy('.loaderDiv').css('display', 'inline-block');
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
$zestard_easy(".loaderDiv").hide();
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: productId
},
async: false
});
$zestard_easy.post('/cart/add.js', 'quantity=' + 1 + '&id=' + productId);
}
});
e.preventDefault();
});
$zestard_easy("#product_pricebarform").submit(function(e) {
var data = $zestard_easy("#product_pricebar_slider").val();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
$zestard_easy('.loaderDiv').css('display', 'inline-block');
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
$zestard_easy(".loaderDiv").hide();
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: productId
},
async: false
});
$zestard_easy.post('/cart/add.js', 'quantity=' + 1 + '&id=' + productId);
}
});
e.preventDefault();
});
$zestard_easy("#dropdownform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy("#donation_amount option").each(function() {
data_array[$(this).text()] = $(this).val();
custom_array.push($(this).text());
});
var data = $zestard_easy("#donation_amount").val();
var custom_data = $zestard_easy("#dropdown_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com" || shop_name == "f3464b-16.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com" || shop_name == "maemae-ptsa.myshopify.com" || shop_name == "semi-org-dev.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
//location.reload();
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else {
reloadcart();
}
}
} else {
data = $zestard_easy("#dropdown_textbox").val();
show_loader();
var corsIssueURL = "https://easydonation.zestardshop.com/frontend/dropdown/save"
if (shop_name == "mamaeyewear.myshopify.com") {
corsIssueURL = "/apps/easyDonationApp/frontend/dropdown/save";
}
$zestard_easy.ajax({
type: "POST",
url: corsIssueURL,
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
show_loader(0);
product_id = parseInt(productId);
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com" || shop_name == "maemae-ptsa.myshopify.com" || shop_name == "semi-org-dev.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
}
e.preventDefault();
});
$zestard_easy("#textbox_preview").submit(function(e) {
var data = $zestard_easy("#textbox_amount").val();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
$zestard_easy('.loaderDiv').css('display', 'inline-block');
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
$zestard_easy(".loaderDiv").hide();
if (shop_name != "oak-charity-golf-classic.myshopify.com" && shop_name != "brentwood-home.myshopify.com") {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
if (shop_name == "living-liv.myshopify.com") {
reloadcart();
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
}
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: productId
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: productId
},
async: false
});
}
});
if (shop_name == "oak-charity-golf-classic.myshopify.com" || shop_name == "brentwood-home.myshopify.com") {
reloadcart();
}
e.preventDefault();
});
$zestard_easy("#pricebarform").submit(function(e) {
e.preventDefault();
var data = $zestard_easy("#pricebar_slider").val();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
$zestard_easy('.loaderDiv').css('display', 'inline-block');
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
$zestard_easy(".loaderDiv").hide();
if (shop_name == "brentwood-home.myshopify.com") {} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
if (shop_name == "lamporia-com.myshopify.com") {
$zestard_easy('body').click(function() {
//alert('test');
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart();
});
}
} else {
// setTimeout(function(){ window.location.reload(true); }, 400);
}
}
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: productId
},
dataType: 'json',
success: function(data) {
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 1,
id: productId
},
dataType: 'json',
success: function(data) {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
});
}
});
}
});
});
// Extra Donation Options
$zestard_easy("#product_radioform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy(".radio-options").each(function() {
data_array[$(this).next("label").text()] = $(this).val();
custom_array.push($(this).next("label").text());
});
var data = $zestard_easy("input[name='radio_option']:checked").val();
var custom_data = $zestard_easy("#radio_product_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
} else {
data = $zestard_easy("#radio_product_textbox").val();
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
$zestard_easy('.loaderDiv').css('display', 'none');
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
e.preventDefault();
});
$zestard_easy("#product_tabform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy(".tab-options").each(function() {
data_array[$(this).next("label").text()] = $(this).val();
custom_array.push($(this).next("label").text());
});
var data = $zestard_easy("input[name='tab_option']:checked").val();
var custom_data = $zestard_easy("#tab_product_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
if (shop_name == "havasmarket.myshopify.com") {
window.location.href = "/cart";
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
} else {
data = $zestard_easy("#tab_product_textbox").val();
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
$zestard_easy('.loaderDiv').css('display', 'none');
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
});
/* setTimeout(function(){ window.location.reload(true); }, 400); */
}
e.preventDefault();
});
$zestard_easy("#radioform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy(".radio-options").each(function() {
data_array[$(this).next("label").text()] = $(this).val();
custom_array.push($(this).next("label").text());
});
var data = $zestard_easy("input[name='radio_option']:checked").val();
var custom_data = $zestard_easy("#radio_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
//location.reload();
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else {
reloadcart();
}
}
} else {
data = $zestard_easy("#radio_textbox").val();
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
show_loader(0);
product_id = parseInt(productId);
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
}
e.preventDefault();
});
$zestard_easy("#tabform").submit(function(e) {
var data_array = [];
var custom_array = [];
$zestard_easy(".tab-options").each(function() {
data_array[$(this).next("label").text()] = $(this).val();
custom_array.push($(this).next("label").text());
});
var data = $zestard_easy("input[name='tab_option']:checked").val();
var custom_data = $zestard_easy("#tab_textbox").val();
if (jQuery.inArray(custom_data, custom_array) !== -1) {
var data = data_array[custom_data];
}
if (data != "other") {
if (variant_ids) {
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: data
},
async: false
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com" || shop_name == "havasmarket.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
if (shop_name == "rinseoffsystems.myshopify.com") {
reloadcart();
} else {
//location.reload();
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
}
} else {
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
product_id = productId;
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else {
reloadcart();
}
}
} else {
data = $zestard_easy("#tab_textbox").val();
show_loader();
$zestard_easy.ajax({
type: "POST",
url: "https://easydonation.zestardshop.com/frontend/dropdown/save",
async: false,
data: {
data: data,
'id': shop_id
},
beforeSend: function() {
show_loader();
},
success: function(productId) {
if (typeof productId.response !== 'undefined') {
if (productId.response) {
manageDonatedProducts(productId);
return false;
}
}
show_loader(0);
product_id = parseInt(productId);
$zestard_easy.ajax({
url: '/cart/change.js',
data: {
quantity: 0,
id: product_id
},
async: false
});
$zestard_easy.ajax({
url: '/cart/add.js',
data: {
quantity: 1,
id: product_id
},
async: false
});
}
});
//setTimeout(function(){ window.location.reload(true); }, 400);
//for redirect to checkout
if (shop_name == "fckcancr-org.myshopify.com") {
window.location.href = "/checkout";
} else if (shop_name == "brentwood-home.myshopify.com") {
window.location.href = "/cart";
} else {
if (setdata.show_popup == 1) {
$zestard_easy(".zt-overlay").css({
'display': 'inline-block',
'visibility': 'visible',
'opacity': '1'
});
$zestard_easy(".donate-close").click(function() {
$zestard_easy(".zt-overlay").css({
'display': 'none'
});
reloadcart()
});
} else {
setTimeout(function() {
window.location.reload(true);
}, 400);
}
}
}
e.preventDefault();
});
// Extra Donation Options
function preventNonNumericalInput(e) {
e = e || window.event;
var charCode = (typeof e.which == "undefined") ? e.keyCode : e.which;
var charStr = String.fromCharCode(charCode);
if (!charStr.match(/^[0-9_.]+$/)) e.preventDefault();
}
</script>
<div id="donate-popup" class="zt-overlay" style="display: none" align="center">
<div class="popup">
<h2 class="thank_you_message" id="thank_you_message">Thanks For Donating!</h2>
<a class="donate-close" href="#">×</a>
</div>
</div>
<script>
if (popup_message) {
$(".thank_you_message").html(popup_message);
}
if (shop_name == "lovesilkpillowcase.myshopify.com") {
$(".thank_you_message").html("Thank you for making a difference");
}
if (shop_name == "catawba-cultural-preservation-project.myshopify.com") {
$(".thank_you_message").html("Thank You For Donating!");
}
if (shop_name == "ciwfnederland.myshopify.com") {
$(".thank_you_message").html("Bedankt voor jouw donatie!");
}
</script>
<div id="preview_product_container" class="product_fontpreview" style="display: none">
<div id="dropdown_product_preview" style="display: none">
<div class="product-price-slider">
<select name="donation_product_amount" id="donation_product_amount" class="donation_product_amount"></select>
<input type="number" name="dropdown_product_textbox" id="dropdown_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</div>
<!--Extra Donation Options-->
<div id="radio_product_preview" style="display: none">
<form name="product_radioform" id="product_radioform">
<div class="product-price-slider">
<div class="radio_product_amount_section">
</div>
<input type="number" name="radio_product_textbox" id="radio_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<div id="tab_product_preview" style="display: none">
<form name="product_tabform" id="product_tabform">
<div class="product-price-slider">
<div class="tab_product_amount_section">
</div>
<input type="number" name="tab_product_textbox" id="tab_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<!--Extra Donation Options-->
<div id="textbox_product_preview" style="display: none">
<form name="product_textbox_form" id="product_textbox_form">
<div class="product-price-slider">
<label id="minimum_product_donation" for="minimum_product_donation" style="display:none;"></label>
<input type="number" name="textbox_product_amount" id="textbox_product_amount" step="any" min="1" required="">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<div id="pricebar_product_preview" style="display: none">
<div class="product-price-box">
<form name="product_pricebarform" id="product_pricebarform">
<div class="product-price-slider">
<input type="range" id="product_pricebar_slider">
</div>
<div class="product-price-form">
<label class="amountsize" for="amount">Amount: </label>
<input type="hidden" id="amount">
<p class="price lead" id="amount-product-label"></p>
<p class="price">.00</p>
</div>
<div class="price-slider_button">
<button type="submit" class="btn button donation_product_button">Donate</button>
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
</div>
</div>
<div id="preview_container" class="fontpreview" style="display: none">
<div id="dropdown_preview" style="display: none">
<h3 class="easy_donation_title">Make A Donation</h3>
<form name="dropdownform" id="dropdownform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 "
style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform
costs for a girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<select name="donation_amount" id="donation_amount" class="donationamount"></select>
<input type="number" name="dropdown_textbox" id="dropdown_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<!--Extra Donation Options-->
<div id="radio_preview" style="display: none">
<h3 class="easy_donation_title">Make A Donation</h3>
<form name="radioform" id="radioform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 "
style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform
costs for a girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<div class="radio_amount_section">
</div>
<input type="number" name="radio_textbox" id="radio_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<div id="tab_preview" style="display: none">
<h3 class="easy_donation_title">Make A Donation</h3>
<form data-type="test4" name="tabform" id="tabform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 "
style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform
costs for a girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<div class="tab_amount_section">
</div>
<input type="number" name="tab_textbox" id="tab_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<!--Extra Donation Options-->
<div id="textbox_preview" style="display: none">
<h3 class="easy_donation_title">Make A Donation</h3>
<form name="textbox_form" id="textbox_form">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 "
style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform
costs for a girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<label id="minimum_donation" for="minimum_donation" style="display:none;"></label>
<input type="number" name="textbox_amount" id="textbox_amount" step="any" min="1" onkeypress="preventNonNumericalInput(event)" required="">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
<div id="pricebar_preview" style="display: none">
<h3 class="easy_donation_title">Make A Donation</h3>
<div class="price-box">
<form name="pricebarform" id="pricebarform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 "
style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform
costs for a girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<input type="range" id="pricebar_slider">
</div>
<div class="price-form">
<label class="amountsize" for="amount">Amount: </label>
<input type="hidden" id="amount">
<p class="price lead" id="amount-label"></p>
<p class="price">.00</p>
</div>
<div class="price-slider_button">
<button type="submit" class="btn button donation_button" value="Donate">Donate</button>
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
</div>
</div>
</div>
<div class="easy_donation_additional_css">
<style>
.donation_button {
line-height: .5em;
}
</style>
</div>
</div>
<script src="https://prana-chai.myshopify.com/apps/easyDonationApp/js/donation.js" defer=""></script>
</div>
</form>
Name: product_radioform —
<form name="product_radioform" id="product_radioform">
<div class="product-price-slider">
<div class="radio_product_amount_section">
</div>
<input type="number" name="radio_product_textbox" id="radio_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_tabform —
<form name="product_tabform" id="product_tabform">
<div class="product-price-slider">
<div class="tab_product_amount_section">
</div>
<input type="number" name="tab_product_textbox" id="tab_product_textbox" step="any" min="1" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_textbox_form —
<form name="product_textbox_form" id="product_textbox_form">
<div class="product-price-slider">
<label id="minimum_product_donation" for="minimum_product_donation" style="display:none;"></label>
<input type="number" name="textbox_product_amount" id="textbox_product_amount" step="any" min="1" required="">
<input type="submit" name="donate" value="Donate" class="btn button donation_product_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: product_pricebarform —
<form name="product_pricebarform" id="product_pricebarform">
<div class="product-price-slider">
<input type="range" id="product_pricebar_slider">
</div>
<div class="product-price-form">
<label class="amountsize" for="amount">Amount: </label>
<input type="hidden" id="amount">
<p class="price lead" id="amount-product-label"></p>
<p class="price">.00</p>
</div>
<div class="price-slider_button">
<button type="submit" class="btn button donation_product_button">Donate</button>
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: dropdownform —
<form name="dropdownform" id="dropdownform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<select name="donation_amount" id="donation_amount" class="donationamount"></select>
<input type="number" name="dropdown_textbox" id="dropdown_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: radioform —
<form name="radioform" id="radioform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<div class="radio_amount_section">
</div>
<input type="number" name="radio_textbox" id="radio_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: tabform —
<form data-type="test4" name="tabform" id="tabform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<div class="tab_amount_section">
</div>
<input type="number" name="tab_textbox" id="tab_textbox" step="any" min="1" onkeypress="preventNonNumericalInput(event)" style="display:none;">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: textbox_form —
<form name="textbox_form" id="textbox_form">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<label id="minimum_donation" for="minimum_donation" style="display:none;"></label>
<input type="number" name="textbox_amount" id="textbox_amount" step="any" min="1" onkeypress="preventNonNumericalInput(event)" required="">
<input type="submit" name="donate" value="Donate" class="btn button donation_button">
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
Name: pricebarform —
<form name="pricebarform" id="pricebarform">
<div class="price-slider">
<h3 class="display_title">Help Us Sponsor Education for Children in India and Sri Lanka</h3>
<div class="donation_content">
<p class="product-image"><img id="ztpl-product-image" src=" https://cdn.shopify.com/s/files/1/1200/4142/products/1642115795_jaikishan-patel-2eMemvByB-8-unsplash_ae203c84-35cb-42bc-8f6c-72531d4367bb.jpg?v=1642115798 " style="width: 100px;"></p>
<p class="display_description"></p>
<p>Every time you buy a retail bag from Prana Chai, we donate $2, so that <a href="https://mukti.org.au/">Mukti Australia</a> can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a
girl in India or a child of a tea worker in Sri Lanka.</p>
<p>With your additional donation, we can send even <em>more</em> children to school. Learn more <a href="https://pranachai.com/pages/charity">here</a>. </p>
<p></p>
</div>
<input type="range" id="pricebar_slider">
</div>
<div class="price-form">
<label class="amountsize" for="amount">Amount: </label>
<input type="hidden" id="amount">
<p class="price lead" id="amount-label"></p>
<p class="price">.00</p>
</div>
<div class="price-slider_button">
<button type="submit" class="btn button donation_button" value="Donate">Donate</button>
<div class="loaderDiv" style="display:none;"><img src="https://easydonation.zestardshop.com/image/loader.svg"></div>
</div>
</form>
POST /cart/add
<form method="post" action="/cart/add" id="product_form_5723841283" accept-charset="UTF-8" class="product-form" enctype="multipart/form-data" data-cart-submit=""><input type="hidden" name="form_type" value="product"><input type="hidden" name="utf8"
value="✓">
<div class="hidden">
<div class="selector-wrapper js product-form__item">
<div class="product-form__item-inner"> <label class="visually-hidden" for="SingleOptionSelector-0"> Title</label> <select class=" no-arrow single-option-selector single-option-selector- product-form__input" id="SingleOptionSelector-0"
data-single-option-selector="" data-index="option1">
<option value="Default Title" selected="selected">Default Title</option>
</select></div>
</div>
<div class="product-form__actions">
<div class="product-form__item-inner"> <select data-product-quantity="" class="product-form__input product-form__quantity" id="Quantity" name="quantity">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select></div>
</div>
</div> <button type="submit" name="add" data-add-to-cart="" data-progress-element="" data-opens-cart-drawer="" id="AddToCart-" class="btn btn-empty related-product__btn"> <span data-add-to-cart-text=""> Add to Bag</span></button> <select name="id"
id="ProductSelect-5723841283" class="product-form__variants no-js" data-product-select="">
<option selected="selected" value="17592713795"> Default Title</option>
</select> <input type="hidden" name="product-id" value="5723841283">
</form>
POST /account/login
<form method="post" action="/account/login" id="customer_login" accept-charset="UTF-8" data-login-with-shop-sign-in="true"><input type="hidden" name="form_type" value="customer_login"><input type="hidden" name="utf8" value="✓">
<h4 class="login-modal__heading">Log in</h4> <input type="email" name="customer[email]" id="CustomerEmail-Modal" class="" placeholder="Email address" spellcheck="false" autocomplete="off" autocapitalize="off" autofocus="">
<div class="input-wrapper"> <input class="input-base" type="password" id="CustomerPassword-Modal" name="customer[password]" value="" placeholder="Password"> <a href="/account/login#recover" id="RecoverPassword" class="forgot-password">I Forgot?</a>
</div>
<div class="form-vertical__actions text-center"> <input type="submit" class="btn btn-primary" value="Log In"></div> <input type="hidden" name="checkout_url" value="/account?logged-in">
</form>
POST /account/recover
<form method="post" action="/account/recover" accept-charset="UTF-8"><input type="hidden" name="form_type" value="recover_customer_password"><input type="hidden" name="utf8" value="✓"> <label for="RecoverEmail" class="label-hidden"> Email</label>
<input type="email" name="email" id="RecoverEmail" placeholder="Email" spellcheck="false" autocomplete="off" autocapitalize="off">
<div class="reset-password__footer"> <input type="submit" class="btn btn-primary" value="Reset password"></div><span class="reset-password-cancel__btn" id="HideRecoverPasswordLink"> Cancel</span>
</form>
POST /account
<form method="post" action="/account" id="create_customer" accept-charset="UTF-8" data-login-with-shop-sign-up="true" data-vfib="0"><input type="hidden" name="form_type" value="create_customer"><input type="hidden" name="utf8" value="✓">
<h4 class="login-modal__heading">Create an Account</h4> <input type="text" name="customer[first_name]" id="FirstName" autofocus="" placeholder="Full name"> <input type="email" name="customer[email]" id="Email-Modal" class="" autocorrect="off"
autocapitalize="off" placeholder="Email address"> <input type="password" name="customer[password]" id="CreatePassword-Modal" class="" placeholder="Create password">
<p class="text-center form-vertical__actions"> <input type="submit" value="Create an account" class="btn btn-primary"></p>
</form>
/search
<form action="/search" class="boost-sd__search-bar"><button role="textbox" type="button" aria-label="Close" class=" boost-sd__button-text-x boost-sd__button-text-x--close-style1">Close</button><input id="boost-sd__search-bar-input"
class="boost-sd__search-bar-input " autocomplete="off" placeholder="Search" name="q" data-search-box="boost-sd__search-bar-input" role="combobox" aria-expanded="false" aria-autocomplete="list" aria-owns="boost-sd__search-bar-autocomplete-wrapper"
aria-label="When autocomplete results are available use up and down arrows to review and enter to select" maxlength="150" value=""></form>
Text Content
Skip to content * Facebook * Instagram * LinkedIn * YouTube Search expand/collapse * Wholesale * Shop All expand * collapse Shop All * Chai Blends * Chai Starter Kits * Chai Teaware * Merch * Our Story * Subscription * Chai 101 * How to Brew * * Home * Shop * Store Locator Prana Chai expand/collapse Search Close Australia Australia China Japan Europe Korea USA Account Bag 2 * Wholesale * Shop All * Chai Blends * Chai Starter Kits * Chai Teaware * Merch * Our Story * Subscription * Chai 101 * How to Brew * facebook * instagram * youtube MY BAG Product Quantity Subtotal Remove Prana Chai Turmeric Blend 250g Starter Kit * With Lid $59.00 Remove 1 2 Add 1 $118.00 Remove Prana Chai Turmeric Blend 250g Starter Kit * With Lid Remove 1 2 Add 1 Remove $118.00 Your bag is currently empty. Continue browsing here. ADD A GIFT MESSAGE Add a note to your order THANKS FOR DONATING! × Amount: .00 Donate MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. $2 | 1 day of education$10 | 1 week of education$40 | 1 month of education$480 | 1 year of education Subtotal: $118.00 Shipping: Free Grand Total: (inc. tax) $118.00 Proceed to Checkout YOU MAY ALSO LIKE PRANA CHAI ORIGINAL BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! Our Original Blend is lovingly handcrafted in Melbour... $12 AUD Add to Bag Added to Bag PRANA CHAI VEGAN BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! This brew-tiful blend combines the same balanced fla... $12 AUD Add to Bag Added to Bag PRANA CHAI TURMERIC BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! The Turmeric Blend is crafted from authentic chai sp... $12 AUD Add to Bag Added to Bag PRANA CHAI PEPPERMINT BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of The Good Stuff! A masala chai with a refreshing minty burst. It’s e... $12 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 250G Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf. It's our Original Blend with just as much zing - without the caffe... $22 AUD Add to Bag Added to Bag PRANA CHAI ORIGINAL BLEND 250G Prana Chai product.selected_or_first_available_variant.sku It’s a comforting tea quite unlike anything you’ve ever chai-ed. A Goldilocks combination of who... $22 AUD Add to Bag Added to Bag PRANA CHAI VEGAN (AGAVE) BLEND 250G Prana Chai product.selected_or_first_available_variant.sku To make Prana Chai even more inclusive, we’ve taken our signature masala chai blend up a vegan-f... $22 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf 1kg. Big boy of decafs. It's our Original Blend with just as much z... $70 AUD Add to Bag Added to Bag PRANA CHAI ORIGINAL BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku A big boy for a big family. Or for one avid chai lover. Our 1kg bags of Prana Chai Original Masal... $70 AUD Add to Bag Added to Bag PRANA CHAI VEGAN (AGAVE) BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku A big boy for a big family. Or for one avid chai lover. Our 1kg bags of Prana Chai Vegan Masala B... $70 AUD Add to Bag Added to Bag PRANA CHAI TURMERIC BLEND 250G Prana Chai product.selected_or_first_available_variant.sku It’s your favourite cup of chai with a unique twist. Our Turmeric Blend gives you all the health... $22 AUD Add to Bag Added to Bag PRANA CHAI PEPPERMINT BLEND 250G Prana Chai product.selected_or_first_available_variant.sku A masala chai with a refreshing minty burst. It’s enough to fill you with excite-mint. Some wou... $22 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf. It's our Original Blend with just as much zing - without the caffe... $12 AUD Sold Out Added to Bag PRANA CHAI ORIGINAL BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! Our Original Blend is lovingly handcrafted in Melbour... $12 AUD Add to Bag Added to Bag PRANA CHAI VEGAN BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! This brew-tiful blend combines the same balanced fla... $12 AUD Add to Bag Added to Bag PRANA CHAI TURMERIC BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! The Turmeric Blend is crafted from authentic chai sp... $12 AUD Add to Bag Added to Bag PRANA CHAI PEPPERMINT BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of The Good Stuff! A masala chai with a refreshing minty burst. It’s e... $12 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 250G Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf. It's our Original Blend with just as much zing - without the caffe... $22 AUD Add to Bag Added to Bag PRANA CHAI ORIGINAL BLEND 250G Prana Chai product.selected_or_first_available_variant.sku It’s a comforting tea quite unlike anything you’ve ever chai-ed. A Goldilocks combination of who... $22 AUD Add to Bag Added to Bag PRANA CHAI VEGAN (AGAVE) BLEND 250G Prana Chai product.selected_or_first_available_variant.sku To make Prana Chai even more inclusive, we’ve taken our signature masala chai blend up a vegan-f... $22 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf 1kg. Big boy of decafs. It's our Original Blend with just as much z... $70 AUD Add to Bag Added to Bag PRANA CHAI ORIGINAL BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku A big boy for a big family. Or for one avid chai lover. Our 1kg bags of Prana Chai Original Masal... $70 AUD Add to Bag Added to Bag PRANA CHAI VEGAN (AGAVE) BLEND 1KG Prana Chai product.selected_or_first_available_variant.sku A big boy for a big family. Or for one avid chai lover. Our 1kg bags of Prana Chai Vegan Masala B... $70 AUD Add to Bag Added to Bag PRANA CHAI TURMERIC BLEND 250G Prana Chai product.selected_or_first_available_variant.sku It’s your favourite cup of chai with a unique twist. Our Turmeric Blend gives you all the health... $22 AUD Add to Bag Added to Bag PRANA CHAI PEPPERMINT BLEND 250G Prana Chai product.selected_or_first_available_variant.sku A masala chai with a refreshing minty burst. It’s enough to fill you with excite-mint. Some wou... $22 AUD Add to Bag Added to Bag PRANA CHAI DECAF BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Welcome to the family, Decaf. It's our Original Blend with just as much zing - without the caffe... $12 AUD Sold Out Added to Bag PRANA CHAI ORIGINAL BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! Our Original Blend is lovingly handcrafted in Melbour... $12 AUD Add to Bag Added to Bag PRANA CHAI VEGAN BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! This brew-tiful blend combines the same balanced fla... $12 AUD Add to Bag Added to Bag PRANA CHAI TURMERIC BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of the Good Stuff! The Turmeric Blend is crafted from authentic chai sp... $12 AUD Add to Bag Added to Bag PRANA CHAI PEPPERMINT BLEND 100GR Prana Chai product.selected_or_first_available_variant.sku Only 100 grams, but 100% of The Good Stuff! A masala chai with a refreshing minty burst. It’s e... $12 AUD Add to Bag Added to Bag Product Price Quantity Total Prana Chai Turmeric Blend 250g Starter Kit With Lid Prana Chai Remove $59.00 $118.00 Add a note to your order Subtotal $118.00 calculated at checkout Started over 13 years ago, Prana Chai's aim is still just to make really good chai out of really good stuff. * Explore * Home * Our Story * Our Charity Partnership * Corporate Gifting * Blog * Recipes * Download Recipe Books * Chai Ambassador * Help * Chai Brew Guides * FAQs * Store Locator * Wholesale Enquiries * Contact Us * Our Policies * Chai Club T&Cs * Privacy Policy * Terms of Service * Shipping Policy * Ethical Sourcing Subscribe to our weekly email newsletter Do you want another monthly newsletter in your inbox? Of course you, because this ones about chai. aaaand get 10% off your first order. * Instagram * Facebook * TikTok * LinkedIn * YouTube Payment Methods * American Express * Apple Pay * Master * PayPal * Visa Copyright © 2024 Prana Chai - all rights reserved - Prana Chai Melbourne. A website by Avant Tech Pty Ltd. Close MY BAG Congrats! You get free standard shipping. Prana Chai Turmeric Blend 250g Starter Kit * With Lid Remove 1 2 Add 1 Remove $118.00 Shipping: Free Subtotal $118.00 CHECKOUT THANKS FOR DONATING! × Amount: .00 Donate MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. MAKE A DONATION HELP US SPONSOR EDUCATION FOR CHILDREN IN INDIA AND SRI LANKA Every time you buy a retail bag from Prana Chai, we donate $2, so that Mukti Australia can pay for a day of education, living expenses, food and shelter, school supplies, and uniform costs for a girl in India or a child of a tea worker in Sri Lanka. With your additional donation, we can send even more children to school. Learn more here. Amount: .00 Donate Add a Prana Pot $31 Title Default Title 1 2 3 4 5 6 Add to Bag Default Title On Sale NEW PREORDER PRODUCT.TITLE product.vendor product.selected_or_first_available_variant.sku product.description On Sale from { product.price | money shop.currency } From { product.price | money shop.currency } Add to Bag Sold Out Added to Bag LOG IN I Forgot? FORGOT YOUR PASSWORD? Please enter your email below to reset your password. Email Cancel CREATE AN ACCOUNT {question} {answer} Google Recaptcha Close