Menu
Your Cart
This is a Retail Order Website. For Bulk orders, with Minimum Order Quantity 5 Kg, in total, please order from https://indianjadibooti.in We ship internationally too, to all major countries. We ship Bulk Orders through Transport companies too.

Jamalghota (Beej) - Croton Tiglium Seeds - Jamalgota - Jayapala - Purging Croton - Jaipal - Jaypal by IndianJadiBooti

Clean and Sorted
Jamalghota (Beej) - Croton Tiglium Seeds - Jamalgota - Jayapala - Purging Croton - Jaipal - Jaypal by IndianJadiBooti
Day
Hour
Min
Sec
Rs 360
Rs 260
  • Stock: In Stock
  • SKU: HERB000253
  • Shipping: Free within India upto 10KG
  • Quality: Premium Herbs with No Adulteration
  • Delivery: Within 3 to 7 Working Days in India
  • Shipping: From Delhi based Facility
  • Transport Charges for 25KG and above: Extra on To Pay
  • COD Available: Max Limit: 2 Kg and Rs 3500 per order
  • Discount on Prepaid Orders: Rs 50/- off. Auto Apply on Checkout.
734 sold in this week

Available Options

Description

Croton Tiglium, commonly referred to as Jamalgota or Purging Croton is a perennial medicinal plant from the Euphorbiaceae family. This evergreen shrub, valued for its strong laxative properties, stimulates intestinal movement. In traditional medicine, it is used to address various conditions including hair loss, digestive issues, intestinal problems, ulcers, headaches, and acne. Due to its purgative nature, it earned the name Purgation Croton, though it is also known for its toxic properties and its seeds are used as waste material. The seeds of Jamalgota resemble those of castor plants. Raw consumption or high doses of Croton seeds and oil can promote blood clotting, and they are traditionally used to alleviate muscle and joint discomfort. The poisonous seeds contain croton and are mixed with cow's milk to treat constipation after detoxification.

Seed Cleansing or Purification (SHODHANA) Method for JamalGhota

Ayurvedic practice advocates for the cleansing or purification (SHODHANA) of Croton Tiglium (Jamalgota) seeds before their therapeutic use. This process aims to diminish the seed's irritating properties. The Jamalgota purification method involves the following steps:

  1. Immerse croton seeds in water overnight.

  2. Peel off the outer layer of the croton seeds.

  3. Extract the leaf-like cotyledons from within the croton kernels.

  4. Wrap the kernels in a cotton cloth to create a pouch (POTTALI) for steaming (SVEDANA).

  5. In a stainless steel container (or ayurvedic DOLA YANTRA), bring cow's milk to a boil to generate steam.

  6. Suspend the cotton pouch containing croton seeds above the milk container, then submerge it in the milk. Allow the heat from the milk to steam the seeds for 3 hours.

  7. After steaming, remove the seeds from the cloth and rinse with warm water.

  8. To further reduce the irritant effect, press the kernels between two absorbent papers to extract residual croton oil.

  9. Dry the kernels in sunlight. Store the dried croton kernels in a glass or earthen container.

  10. To mitigate side effects, Ayurvedic texts suggest processing (BHAVANA) the croton kernels with lime juice three times.

Although this process reduces the irritant effect and side effects of croton kernels, making them more suitable for human consumption, they still retain a strong laxative effect.

Health Advantages of Jaipal: 

Jayapal Constipation Reliever:

Ayurveda medicine uses purified kernels of the croton plant extensively for relief from constipation. Mix 20 grams of these kernels with 2.5 grams of Tankan Bhasma, suggests the Ayurvedic texts, to find relief from symptoms of constipation, regulate bowel movements, and improve appetite. Prolonged use of the purified kernels is not advisable, as it may bring about intestinal discomfort and decrease the natural peristalsis.

Jamalgota Aids in Treating Hemorrhoids: 

Applying a paste made from Jamalgota root can help heal external, non-bleeding hemorrhoids. This paste, created by mixing fine Croton root powder with buttermilk, works by reducing and drying out inflamed hemorrhoid tissue. Jamalgota's natural pain-relieving properties also provide relief from hemorrhoid discomfort.

Croton Tiglium Seeds Controls Jaundice:

Ayurvedic doctors advise their patients to take the mixture of the outer bark of the Jamalgota, mixed with jaggery, which increases the secretion of bile from the gall and the liver. This is the treatment for jaundice and minimizes the complaint of pale stools.

Jaipal helps in the treatment of skin infections:

Extracts of the Jamalgota have expressed strong antimicrobial activities against fungi and bacteria, which cause skin infections. Traditional medicine has been used in the treatment of diseases such as scabies and carbuncles. However, one must consult an Ayurvedic doctor before its use for the skin problem. It may cause severe irritation in the skin if there is excess usage.

Potential Side Effects of Jayapal: Unpurified Jamalgota seeds can be dangerous and may cause severe irritation and inflammation in the digestive tract:

  • Diarrhea
  • Severe abdominal cramps
  • Stomach tenderness
  • Burning sensation in the abdomen
  • Ulcers
  • Vomiting
  • Dizziness

Jamalgota, known scientifically as Croton tiglium, is referred to by various names in different states of India. Here are some regional names for Jamalgota:

  • Hindi: Jamalgota, Jayapala
  • Marathi: Jambul, Jayapal
  • Tamil: Nervalam, Seerayan, Nervalam-vidai
  • Telugu: Nepala, Jepala, Jeelugu
  • Kannada: Japala, Nepala, Jepala
  • Malayalam: Nervalam
  • Bengali: Jayapala
  • Gujarati: Jayapalu, Jayaphal
  • Punjabi: Jamal Gota
  • Oriya: Jayapal

Jamalghota is also know as Jayaphala, Jamalghota, Nepala, Nervalam, Purging Croton, Croton Seeds, Dravanti, Danti beej, Tintidi phala, Habb-us-Salaateen, Croton Tiglium, Jamaalgota and Hubb-ul-Malook.

For Detailed Benefits, Please read BENEFITS OF JAMALGHOTA AND Benefits of Jamalghota Beej - Jamalghota Seeds - Croton Seeds - Croton Tiglium

Other Names: Jamalghota Beej , - Jamalgota, Croton Tiglium, Jamalghota Beej, Jamalghota Seeds, Jamaal Ghota Beej, Jamal Ghota, Jamalgota jamalghota beej jamalghota seeds croton tiglium other herbs, Jamalgotha jamalghota beej, Croton Seeds, Julab, Kumbhini, Nepala Seeds, Jayapala, Purging Croton, Jaipal, Jaypal Beej, Habbatul Muluk, Hubb Ul Malook, Habbul Mulook

Reviews

100% Customers recommend this product

  • 5 Awesome
    100%
  • 4 Great
    0%
  • 3 Average
    0%
  • 2 Bad
    0%
  • 1 Poor
    0%
Purchase this product first or wait for order to complete in order to give review

Reviews Over Jamalghota (Beej) - Croton Tiglium Seeds - Jamalgota - Jayapala - Purging Croton - Jaipal - Jaypal by IndianJadiBooti

  • (5)

Total Reviews (6)
click here write review to add review for this product.

  • (0)
  • (0)
  • (0)
  • (0)
  • (0)


Jamalghota Beej

Video of Jamalghota Beej Benefits and How to Use

What is Jamalghota Beej

Jamalghota Beej
  • Jamalghota Seeds, scientifically known as Croton tiglium, are highly regarded in traditional Ayurvedic practices for their potent purgative and detoxifying properties. Sourced from tropical regions, these small, brownish-black seeds are known for their powerful effects in supporting digestive health, skin care, and overall well-being.

    Caution: Not for direct consumption without processing. Keep out of reach of children. Avoid use during pregnancy or for young children.

    Jamalghota seeds are used in Ayurvedic practices to aid in detoxifying the body.

    The seed oil is applied externally to accelerate the healing of wounds and boils.

    In Ayurvedic medicine, Jamalghota is used to regulate delayed women's cycles.

  • The seeds are used to reduce water retention and swelling caused by fluid buildup in tissues or cavities
     

Health Benefits of Jamalghota Beej

Expelling Intestinal Parasites

Jamalghota seeds are traditionally used to remove intestinal worms due to their strong anthelmintic properties.
The oil or detoxified powder, in very small doses, paralyzes and expels parasites from the digestive tract. Read More

Topical Application for Skin Disorders

The oil is applied externally to treat skin conditions.
The irritant nature of the oil helps in promoting healing by increasing local blood flow and drying out infected areas.
Direct application can be harsh; it is typically diluted before use. Read More

Relief from Joint and Muscle Pain

Jayapala oil is used as a topical pain reliever for many conditions.
Applied externally, it acts as a counterirritant, reducing pain and inflammation.
Must be used sparingly to avoid skin irritation. Read More

Digestive Aid for Bile Flow Regulation

In controlled doses, the seed oil is used to stimulate bile secretion, improving digestion and liver health.
It is combined with other herbs in Ayurvedic formulations to enhance its efficacy and minimize its strong effects.

How to Use Jamalghota Beej

Relieving Severe Constipation

Detoxify the seeds by boiling them in water or milk to reduce their toxicity.
Grind the detoxified seeds into powder.
Take a small pinch (around 25-50 mg) mixed with warm water or honey.

 

For Topical Application

Dilute Jamalgota oil with coconut oil, sesame oil, or another carrier oil in a 1:10 ratio.
Apply externally on the affected area for conditions.

 

For Detoxification

Mix a tiny amount (detoxified powder or 1 drop of oil) with jaggery or honey.
Consume only under the supervision of an Ayurvedic expert.

FAQ

The side effects of Jamalgota seeds include hot burning pain from mouth to stomach, salivation, vomiting, purging with bloody stools, vertigo, prostration, collapse, and death. When applied to the skin, the oil produces burning, redness, and vesication.

No, croton seeds and oil are UNSAFE when taken by mouth. A few drops of croton seed oil can cause death. Croton seeds and oil can cause burning of the mouth, vomiting, dizziness, painful bowel movements, and collapse. They are also UNSAFE when applied to the skin.

Jamalgota is also known as Croton tiglium or purging croton, a plant native to Southeast Asia and India.

Nuts and seeds are good sources of protein, healthy fats, fibers, vitamins, and minerals. They help regulate body weight as their fats are not fully absorbed and they regulate food intake. Nuts and seeds contain unsaturated fats and other nutrients that provide protective effects against heart disease and diabetes.

The toxicity of Croton tiglium seeds may be due to the presence of phorbol esters and crotonic acid along with other constituents. These constituents are oil soluble and may be removed by cow milk during the process of Śodhana (purification). Reduction in the level of these constituents after purification decreases the toxicity of Croton tiglium seeds.

FREE SHIPPING
No Minimum cart value is required. Domestic orders are shipped through Courier or Post depending on your Pin code from our Delhi based warehouse, and generally reaches you within 3-7 business days from the Date of order in India.
PAY ON DELIVERY AVAILABLE
Cash / Pay On Delivery (Cod) option is available for delivery in India. Shipping is FREE. Maximum of 2 KG or Rs 3500 can be ordered on COD. Also, Only one order can be raised on COD at a time.
WHOLESALE ORDERS THROUGH TRANSPORT
All Products are available in wholesale at the Best Price. All the Orders of 25 KG SLABS or above are sent through Transport. The Transport Charges are Extra to be paid on To Pay by Customer.
INTERNATIONAL SHIPPING
We ship worldwide through EMS and Aramex. Custom clearance Is customer's responsibility in case the parcel get stuck in customs In customer's country. Duty or VAT charges, if any, would have to be borne by customer.

Our Presence in other Marketplaces

You can buy our Products from the following marketplaces if you are more comfortable buying from another platform. You are still our customer, and you are served most diligently at every place.
if ($('input[name="cireviewsearch"]').length > 0 && $('input[name="cireviewsearch"]').val() != ''&& $('input[name="cireviewsearch"]').val() != 'undefined') { filters.push('cirating_cireviewsearch='+ $('input[name="cireviewsearch"]').val()); } // return filters; } function clearFilters(defaults) { $('input[name="cirating_filter"]').val(0); $('input[name="cirating_filters"]').val(''); $('input[name="cirating_dofilters"]').val(''); $('#cireview_dofilters .cireview_dofilter').removeClass('active'); $('#cireview_filters .cireview_filter').removeClass('active'); // $('input[name="cireviewsearch"]').val(''); refreshReviews(defaults); } var ajaxCiReviewSearch = null; function refreshReviews(defaults) { defaults = $.extend({ before : function() {}, callback : function() {}, fadeInOut : true, },defaults); var filters = applyFilters(); var filter = ''; if (filters.length) { filter += '&' + filters.join('&'); } defaults.before(); // if (defaults.fadeInOut) { $('#cireview').fadeOut('slow'); } // $('#cireview').load('index.php?route=extension/cireviewpro/cireview/review&product_id=253&ajax=1'+filter, function() { addThisRefresh(); if (defaults.fadeInOut) { $('#cireview').fadeIn('slow'); } defaults.callback(); }); ajaxCiReviewSearch = $.ajax({ url: 'index.php?route=extension/cireviewpro/cireview/review', type: 'get', data: 'product_id=253&ajax=1'+filter, dataType: 'html', beforeSend: function() { if (defaults.fadeInOut) { $('#cireview').fadeOut('slow'); } }, complete: function() { }, success: function(html) { $('#cireview').html(html); addThisRefresh(); if (defaults.fadeInOut) { $('#cireview').fadeIn('slow'); } defaults.callback(); }, error: function(xhr, ajaxOptions, thrownError) { // alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } $('#cireview_dofilters').on('click', '.cireview_dofilter', function(e) { var $this = $(this); var value = $(this).attr('data-value'); $('input[name="cirating_dofilters"]').val(value); $('#cireview_dofilters .cireview_dofilter').removeClass('active'); $this.addClass('active'); var oldClass = $(this).find('i').attr('data-class'); $(this).find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin'); refreshReviews({ before: function() { abortCiReviewSearch(); }, callback: function() { $this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass); } }); }); $('#cireview_filters').on('click', '.cireview_filter', function(e) { var $this = $(this); var value = $(this).attr('data-value'); $('input[name="cirating_filters"]').val(value); $('#cireview_filters .cireview_filter').removeClass('active'); $this.addClass('active'); var oldClass = $(this).find('i').attr('data-class'); $(this).find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin'); refreshReviews({ before: function() { abortCiReviewSearch(); }, callback: function() { $this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass); } }); }); // function abortCiReviewSearch() { if (ajaxCiReviewSearch) { if (ajaxCiReviewSearch.readyState != 4){ ajaxCiReviewSearch.abort(); ajaxCiReviewSearch = null; } } } function ciReviewSearchResults() { var oldClass = $('#cireviewsearch').find('i').attr('data-class'); $('#cireviewsearch').find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin'); refreshReviews({ before: function() { abortCiReviewSearch(); }, callback: function() { $('#cireviewsearch').find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass); } }); } $('input[name="cireviewsearch"]').first().attr('autocomplete', 'off').bind('keyup', function(e) { if (e.which == 38 || e.which == 40) return; if ($(this).is(':focus')) { abortCiReviewSearch(); keyTypeWatch(function () { ciReviewSearchResults(); }, 300); } }); var keyTypeWatch = (function() { var timer = 0; return function(callback, ms) { clearTimeout (timer); timer = setTimeout(callback, ms); } })(); // $('.clearfilters').on('click', function() { var $this = $(this); var oldClass = $(this).find('i').attr('data-class'); $(this).find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin'); clearFilters({ before: function() { abortCiReviewSearch(); }, callback: function() { $this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass); } }); }); $('input.cirating-stars[type=number]').each(function() { $(this).rating({ 'min' : 1, 'max' : 5, 'icon-lib' : "cifa fa", 'active-icon' : "fa-star", 'inactive-icon' : "fa-star-o", 'clearable' : false, 'divclass' : 'cirating-input', }); }); if (typeof addthis == 'undefined') { var addthis_config = {"data_track_clickback": true}; var script = document.createElement('script'); script.setAttribute('src','//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e'); $('#cireview-abuse-253').before(script); } $('#cireview-posnegreviews').on('click', '.cirating-posnegfilter', function(e) { var cirating = $(this).attr('data-cirating'); $('input[name="cirating_filter"]').val(cirating); refreshReviews({ callback : function() { var offset = $('#cireview').offset(); $('html, body').animate({ scrollTop: (offset.top - 80) }, 'slow'); } }); }); $('#cireviewgraph').on('click', '.cirating-filter', function(e) { var cirating = $(this).attr('data-cirating'); $('input[name="cirating_filter"]').val(cirating); refreshReviews({ before: function() { abortCiReviewSearch(); }, callback : function() { var offset = $('#cireview').offset(); $('html, body').animate({ scrollTop: (offset.top - 80) }, 'slow'); } }); }); var citabreview = 0; $('a[href="#tab-review"]').on('click', function() { if (citabreview==0) { refreshReviews({ before: function() { abortCiReviewSearch(); }, fadeInOut : false, }); } citabreview++; }); $('#cireview').delegate('.pagination a', 'click', function(e) { e.preventDefault(); $('#cireview').fadeOut('slow'); $('#cireview').load(this.href, function() { addThisRefresh(); $('#cireview').fadeIn('slow'); }); }); refreshReviews({ before: function() { abortCiReviewSearch(); }, fadeInOut : false, }); $('#button-cireview').on('click', function() { $('.alert').remove(); $('.text-danger').remove(); var $this = $(this); var data = $("#form-cireview").serialize(); if (data) { data += '&'; } // 20-sep-2021: code starts data += $('.cireview-form select, .cireview-form input, .cireview-form textarea').serialize(); // 20-sep-2021: code ends $.ajax({ url: 'index.php?route=extension/cireviewpro/cireview/write&product_id=253', type: 'post', dataType: 'json', data: data, beforeSend: function() { $('#button-cireview').button('loading'); }, complete: function() { $('#button-cireview').button('reset'); }, success: function(json) { $('.alert').remove(); $('.text-danger').remove(); $('.cireview-form .has-error').each(function() { $(this).removeClass('has-error'); }); if (json['error']) { $this.parent().after('
' + json['error'] + '
'); } if (json['name']) { $('input[name=\'ciname\']').after('
' + json['name'] + '
'); } if (json['email']) { $('input[name=\'ciemail\']').after('
' + json['email'] + '
'); } if (json['text']) { $('textarea[name=\'cireview\']').after('
' + json['text'] + '
'); } if (json['title']) { $('input[name=\'cititle\']').after('
' + json['title'] + '
'); } if (json['rating']) { for (var i in json['rating']) { $('#cirating-'+ i + ' > div').append('
' + json['rating'][i] + '
'); } } if (json['captcha']) { $('#cicaptcha').append('
' + json['captcha'] + '
'); } // 20-sep-2021: code starts if (json['location']) { $('select[name=\'cicountry_id\']').after('
' + json['location'] + '
'); $('select[name=\'cizone_id\']').after('
' + json['location'] + '
'); } // 20-sep-2021: code ends $('.cireview-form .text-danger').parents('.form-group').addClass('has-error'); if (json['success']) { $('.cireview-successmsg').html(json['success']); $('.cireview-form').hide('slow'); $('.cireview-successmsg').show('slow'); $('.cireview-successmsg-title').html(json['reviewsuccessmsg_title']); $('.cireview-form-title').hide('slow'); $('.cireview-successmsg-title').show('slow'); $('input[name=\'ciname\']').val(''); $('input[name=\'cireview_image\']').val(''); $('textarea[name=\'cireview\']').val(''); $('input[name=\'cititle\']').val(''); $('input[name=\'ciemail\']').val(''); // 20-sep-2021: code starts $('select[name=\'cicountry_id\']').val('').trigger('change'); // 20-sep-2021: code ends $('.cirating:checked').prop('checked', false); $('input.cirating-stars[type=number]').each(function() { $(this).rating('clear'); }); $('#ciattach_images').html(''); $('#cicaptcha input').val(''); if (json['refresh']) { refreshReviews({ before: function() { abortCiReviewSearch(); }, callback: function() { $('a[href="#tab-review"]').html(json['tab_review']); if (json['cireviewgraph']) { $('#cireviewgraph').html(json['cireviewgraph']); } if (json['aggeratereview']) { $('#cireview-aggerate').html(json['aggeratereview']); } } }); } setTimeout(function() { var offset = $('.cireview-form').offset() var mypos = (Math.round(offset.top) - 10); if ($(window).scrollTop() > mypos) { $('html, body').animate({ scrollTop: mypos }, 'slow'); } },500); } } }); }); $('.ciattach_images').each(function() { $(this).magnificPopup({ type:'image', delegate: 'a', gallery: { enabled:true } }); }); $('#cireview-aggerate').on('click', '.addrating', function() { $('.cireview-write').trigger('click'); // $('#cireview-modal').modal('show'); }); $('#ciattach_images').on('click', '.attach_image_close', function() { var $this = $(this); var id = $this.attr('data-id'); if (id && confirm("Are you sure?")) { $.ajax({ url: 'index.php?route=extension/cireviewpro/cireview/delete&product_id=253', type: 'post', data: 'id=' + id, dataType: 'json', beforeSend: function() { }, complete: function() { }, success: function(json) { if (json['success']) { $('input[name="cireview_image"]').val(json['code']); if (json['attach_images']) { var html = ''; for (var i in json['attach_images']) { html += '
  • Product Comparison
  • '; } $('#ciattach_images').html(html); } } }, error: function(xhr, ajaxOptions, thrownError) { //alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }); $('#button-ciattachupload').on('click', function() { var node = this; $('.ciattachupload .alert').remove(); $('#form-ciattach-upload').remove(); $('body').prepend(''); $('#form-ciattach-upload input[name=\'ciattachfile\']').trigger('click'); if (typeof timer != 'undefined') { clearInterval(timer); } timer = setInterval(function() { if ($('#form-ciattach-upload input[name=\'ciattachfile\']').val() != '') { clearInterval(timer); $.ajax({ url: 'index.php?route=extension/cireviewpro/cireview/upload&product_id=253', type: 'post', dataType: 'json', data: new FormData($('#form-ciattach-upload')[0]), cache: false, contentType: false, processData: false, beforeSend: function() { $(node).button('loading'); }, complete: function() { $(node).button('reset'); }, success: function(json) { $('.ciattachupload .alert').remove(); if (json['error']) { $(node).parent().append('
    ' + json['error'] + '
    '); } if (json['success']) { $(node).parent().append('
    ' + json['success'] + '
    '); $('input[name="cireview_image"]').val(json['code']); if (json['attach_images']) { var html = ''; for (var i in json['attach_images']) { html += '
  • Product Comparison
  • '; } $('#ciattach_images').html(html); } } }, error: function(xhr, ajaxOptions, thrownError) { //alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }, 500); }); // 20-sep-2021: code starts $('select[name=\'cicountry_id\']').on('change', function() { $.ajax({ url: 'index.php?route=account/account/country&country_id=' + this.value, dataType: 'json', beforeSend: function() { $('select[name=\'cicountry_id\']').prop('disabled', true); }, complete: function() { $('select[name=\'cicountry_id\']').prop('disabled', false); }, success: function(json) { html = ''; if (json['zone'] && json['zone'] != '') { for (i = 0; i < json['zone'].length; i++) { html += ''; } $('select[name=\'cizone_id\']').html(html); }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); $('select[name=\'cicountry_id\']').trigger('change'); // 20-sep-2021: code ends $('.cireview-abuse').on('click', function() { var $this = $(this); var review_id = $this.attr('data-review_id'); var product_id = $this.attr('data-product_id'); var cireview_id = $this.attr('data-cireview_id'); var modaldiv = $('#cireview-abuse-'+product_id); modaldiv.find('.alert').remove(); if (review_id && product_id && cireview_id) { var data = $('#cireview-abuse-'+product_id+ ' input, #cireview-abuse-'+product_id+ ' textarea').serialize(); if (data) { data += '&'; } data += 'review_id='+review_id+'&product_id='+product_id+'&cireview_id='+cireview_id; $.ajax({ url: 'index.php?route=extension/cireviewpro/cireview/cireviewAbuse&product_id='+product_id, type: 'post', data: data, dataType: 'json', beforeSend: function() { $this.button('loading'); }, complete: function() { $this.button('reset'); }, success: function(json) { modaldiv.find('.alert').remove(); if (json['error']) { modaldiv.find('.modal-header').before('
    ' + json['error'] + '
    ') } if (json['success']) { // update particular div text modaldiv.find('.modal-header').before('
    ' + json['success'] + '
    '); setTimeout(function() { modaldiv.find('.close').trigger('click'); }, 1000); } }, error: function(xhr, ajaxOptions, thrownError) { //alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }); function ciDataModal(target, find_modal, el) { $(target).find(find_modal).attr('data-back', target); var ev = $(target).find(find_modal).attr('id'); $(find_modal).appendTo("body"); $(find_modal).modal('show'); $(find_modal).off('hidden.bs.modal.'+ev).on('hidden.bs.modal.'+ev, function(e) { $(find_modal).appendTo($(find_modal).attr('data-back')); $(find_modal).removeAttr('data-back'); }); } $('.data-modal').on('click', function() { var target = $(this).attr('data-target'); var find_modal = $(this).attr('data-find_modal'); ciDataModal(target, find_modal, $(this)); }); $('#cireview-policy-modal').on('shown.bs.modal', function (e) { var num_modals = $('.modal-backdrop').length; if (num_modals > 1) { var calc_zindex = 10; var use_nummodal = num_modals - 1; var zindex = parseFloat($(this).css('z-index')); $(this).css('z-index', (zindex+ (calc_zindex*use_nummodal) )); // access modal variables var $backdrop = $(this).data('bs.modal').$backdrop; $backdrop.addClass("cireviewpro-policy-backdrop"); var zindex2 = parseFloat($('.modal-backdrop.cireviewpro-policy-backdrop').css('z-index')); $('.modal-backdrop.cireviewpro-policy-backdrop').css('z-index', ( (zindex > zindex2) ? zindex + ((calc_zindex-1) *use_nummodal) : zindex2 + (calc_zindex*use_nummodal) ) ); } }); $('#cireview-policy-modal').on('hidden.bs.modal', function (e) { $(this).css('z-index', ''); // console.log("cireview-policy-modal hidden"); if ($('.modal').hasClass('in')) { $('body').addClass('modal-open'); } }); $('#cireview-modal').on('hidden.bs.modal', function (e) { // console.log("cireview-modal hidden"); var modal = $(this); modal.find('.alert').remove(); $('.cireview-form .has-error').each(function() { $(this).removeClass('has-error'); }); $('.cireview-successmsg').hide().html(''); $('.cireview-form').show(); $('.cireview-successmsg-title').hide().html(''); $('.cireview-form-title').show(); }); $('#cireview-abuse-253').on('hidden.bs.modal', function (e) { // console.log("cireview-abuse- hidden"); var modal = $(this); modal.find('input[name="ciabreason"]').prop("checked", false); modal.find('.other_reason').addClass('hide'); modal.find('textarea').val(''); modal.find('.alert').remove(); modal.find('.cireview-abuse').attr({'data-product_id' : '','data-review_id' : '', 'data-cireview_id' : ''}); }); $(document).delegate('#cireview-abuse-253 input[name="ciabreason"]', 'click', function() { if ($(this).val() == 'OTHER' ) { $('.other_reason').removeClass('hide'); } else { $('.other_reason').addClass('hide'); $('.other_reason textarea').val(''); } }); $('#cireview').off('click', '.abuse-button-action').on('click', '.abuse-button-action', function() { var $this = $(this); var review_id = $this.attr('data-review_id'); var product_id = $this.attr('data-product_id'); var cireview_id = $this.attr('data-cireview_id'); if (review_id && product_id && cireview_id) { $('#cireview-abuse-'+product_id).find('.cireview-abuse').attr({'data-review_id' : review_id, 'data-product_id' : product_id, 'data-cireview_id' : cireview_id}); //abuse-button-action var target = '#cimodal-cireview-abuse-'+product_id; var find_modal = '#cireview-abuse-'+product_id; ciDataModal(target, find_modal, $(this)); // $('#cireview-abuse-'+product_id).modal('show'); } }); $('#cireview').off('click', '.vote-button-action').on('click', '.vote-button-action', function() { var $this = $(this); var review_id = $this.attr('data-review_id'); var action = $this.attr('data-action'); var product_id = $this.attr('data-product_id'); var cireview_id = $this.attr('data-cireview_id'); // $('.text-danger').remove(); var oldClass = $(this).find('i').attr('data-class'); if (review_id && product_id && cireview_id) { $.ajax({ // 20-sep-2021: code starts url: 'index.php?route=extension/cireviewpro/cireview/cireviewVote&product_id=' + encodeURIComponent(product_id) + '', // 20-sep-2021: code ends type: 'post', data: 'review_id=' + encodeURIComponent(review_id) + '&action=' + encodeURIComponent(action) + '&product_id=' + encodeURIComponent(product_id) + '&cireview_id=' + encodeURIComponent(cireview_id), dataType: 'json', beforeSend: function() { $this.find('i').removeClass(oldClass).addClass('fa fa-spinner fa-spin'); }, complete: function() { $this.find('i').removeClass('fa fa-spinner fa-spin').addClass(oldClass); }, success: function(json) { var $parent = $this.parents('.cireview-vote'); $('.text-danger').remove(); if (json['error']) { $parent.append('
    '+ json['error'] +'
    ') } if (json['success']) { // update particular div text $parent.find('.vote-action').html(json['before_text']); $parent.find('.vote-result').html(json['after_text']); $parent.append('
    '+ json['success'] +'
    ') } }, error: function(xhr, ajaxOptions, thrownError) { //alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }); $(document).delegate('.ciscrolltoreviewtab', 'click', function() { ciScrollToReviewTab(); }); $(document).delegate('.ciopenreviewpopup', 'click', function() { ciOpenReviewPopup(); }); }); function ciOpenReviewPopup() { var $review = $('#cireview-graph'); $('a[href="#tab-review"]').trigger('click'); $('a[href="#' + $review.closest('.module-item').attr('id') + '"]').trigger('click'); $('a[href="#' + $review.closest('.tab-pane').attr('id') + '"]').trigger('click'); $('a[href="#' + $review.closest('.panel-collapse').attr('id') + '"]').trigger('click'); if ($('.cireview-write').length) { $('.cireview-write').trigger('click'); } else { ciScrollToReviewTab(); } } function ciScrollToReviewTab() { var $review = $('#cireview-graph'); $('a[href="#tab-review"]').trigger('click'); $('a[href="#' + $review.closest('.module-item').attr('id') + '"]').trigger('click'); $('a[href="#' + $review.closest('.tab-pane').attr('id') + '"]').trigger('click'); $('a[href="#' + $review.closest('.panel-collapse').attr('id') + '"]').trigger('click'); $([document.documentElement, document.body]).animate({ scrollTop: $review.offset().top - 100 }, 200); } //-->
    Reach us through Whatsapp Messaging only. No Call Please.