document.addEventListener('DOMContentLoaded', function () {
var submitButton = document.querySelector('.submit-for-review-btn'); // Adjust this selector as necessary
if (submitButton) {
submitButton.addEventListener('click', function (e) {
console.log('Submit button clicked'); // Check if button click is detected
var cartTotal = 0.00; // Total in dollars
console.log('Cart Total:', cartTotal); // Log the cart total for debugging
var minimumValue = 1000; // Minimum value in dollars ($1000)
if (parseFloat(cartTotal) < minimumValue) { // Ensure to parse as float for comparison
e.preventDefault(); // Prevent form submission
alert('Your order must be at least $1000 to submit for review.'); // Alert message
} else {
console.log('Order submitted successfully'); // Log successful submission
}
});
}
});
×
Please wait...
Make An Offer
Dr. Lipo+ V
Dr. Lipo+ V
Achieve a slimmer face with Dr. Lipo+ V, the most effective fat-dissolving product for the face and neck. It offers fast fat removal by directly targeting the subcutaneous fat found on the face. Experience non-invasive and painless fat reduction treatment with Dr. Lipo+ V!
SKU: 42950992625871
$18.45
×
Offerly Support
Don't fret! This pop up only shows up in Shopify Editor Mode. Offerly could not find your add to cart button! This can happen for one of the following reasons:
1.
This product is sold out.To solve this please navigate to a different product!
2.
Your Theme is custom or uses different text for the "Add to Cart" button.If this is the case, please contact support and we will add support for your theme!