Posted on Leave a comment

Finishing Touch Flawless™ Bikini – The discreet, portable, and removes unwanted hair from the bikini area INSTANTLY and PAIN FREE.


‘;
if (!_firstRun) {
ele.html(html);
_dtmShoppingCart.ScrollToErrors(ele);
} else {
_firstRun = false;
}
} else if (!_firstRun) {
var ele = $(‘form’).find(‘span[style=”color: #FF0000; font-weight: bold”]’);
if (ele.length == 0 && $(‘.vse’).length > 0) {
ele = $(‘.vse’);
}
ele.html(”);
}
}

function setToggleButton(code, mode)
{
triggerEvent(“ChangeToggleButtonState”, {
key : code,
state: mode
});
}

function registerEvent(evType, fn, element, useCapture) {
var elm = element || window;
if (elm.addEventListener) {
elm.addEventListener(evType, fn, useCapture || false);
}
else if (elm.attachEvent) {
var r = elm.attachEvent(evType, fn);
}
else {
elm[evType] = fn;
}
}

function triggerEvent(eventName, data, element) {
try {
var event;
var payload = (data && typeof(data.detail) != “undefined”)
? data
: (data ? { detail: data } : { detail: ” });
if (typeof window.CustomEvent === ‘function’) {
event = new CustomEvent(eventName, payload || { detail: ” });
} else if (document.createEvent) {
event = document.createEvent(‘HTMLEvents’);
event.detail = payload.detail;
event.initEvent(eventName, true, true);
} else if (document.createEventObject) {
event = document.createEventObject();
event.detail = payload.detail;
event.eventType = eventName;
}
event.eventName = eventName;
var el = element || window;
if (el.dispatchEvent) {
el.dispatchEvent(event);
} else if (el.fireEvent && htmlEvents[eventName]) {
el.fireEvent(event.eventType, event);
} else if (el[eventName]) {
el[eventName]();
} else if (el[‘on’ + eventName]) {
el[‘on’ + eventName]();
}
} catch (error) {
console.log(‘Error executing ‘ + name + ‘ Event’);
}
}

function getItemWithKeyValue(items, key, value) {
for (var i = 0; i ‘;
tr += ‘

‘ + dataItem.name + ‘

‘; tr += ‘

‘ + dataItem.qty + ‘

‘; tr += ‘

$’ + (dataItem.price * dataItem.qty).toFixed(2) + ‘

‘; tr += ‘

$’ + (dataItem.shipping * dataItem.qty).toFixed(2) + ‘

‘;

tr += ”;
return tr;
}
return ”;
}

function updateTr(dataItem, i)
{
var qtyTd = $(“[data-cart-code='” + dataItem.code + “Quantity’]”);
if (qtyTd.length != 0)
{
var Quantity = qtyTd.children(“[name*=’ActionQuantity’]”)[0];
$(Quantity).val(dataItem.qty);
if (qtyTd.attr(‘data-cart-noedit’))
{
qtyTd.html(dataItem.qty);
qtyTd.append(Quantity);
}

$(“[data-cart-code='” + dataItem.code + “Price’]”).html(‘$’ + (dataItem.price * dataItem.qty).toFixed(2) + ”);

$(“[data-cart-code='” + dataItem.code + “Shipping’]”).html(‘$’ + (dataItem.shipping * dataItem.qty).toFixed(2) + ”);

} else
{
i = $(‘#orderFormReviewTableItems’).children(“input”).length;
var tr = renderTr(dataItem, i);
$(‘.reviewTableBody’).append(tr);
}
}
function updateCartItems(dataItems)
{
$(dataItems).each(function (index, item) {
var exists = false;
$(cartItems).each(function (i, cartItem) {
if (cartItem.code == item.code) {
cartItem.added = true;
exists = true;
return;
}
});
if (!exists) { cartItems.push({ code: item.code, added: true }) };
});
$(cartItems).each(function (index, cartItem) {
var exists = false;
$(dataItems).each(function (i, item) {
if ( cartItem.code == item.code) {
exists = true;
return;
}
});
cartItem.added = exists;
});
}
function updateRemovedTr()
{
$(cartItems).each(function (index, item) {
if (!item.added)
{
var qtyTd = $(“[data-cart-code='” + item.code + “Quantity’]”);
var Quantity = qtyTd.children(“[name*=’ActionQuantity’]”)[0];
$(Quantity).val(‘0’);
if (qtyTd.attr(‘data-cart-noedit’)) {
qtyTd.html(‘0′);
qtyTd.append(Quantity);
}

$(“[data-cart-code='” + item.code + “Price’]”).html(‘$’ + (0).toFixed(2) + ”);

$(“[data-cart-code='” + item.code + “Shipping’]”).html(‘$’ + (0).toFixed(2) + ”);

}
});
}
function setTax(data) {
if (data != null) {
var zip = $(‘.zc’).val();
var shipZip = $(‘#ShippingZip’).val();
var billZip = $(‘#BillingZip’).val();
var shipCity = $(‘#ShippingCity’).val();
var billCity = $(‘#BillingCity’).val();
var shipState = $(‘#ShippingState’).val();
var billState = $(‘#BillingState’).val();
var shipCountry = $(‘#ShippingCountry’).val();
var billCountry = $(‘#BillingCountry’).val();
if ($(‘#ShippingIsDifferentThanBilling’).is(‘:checked’) && lastChangeType == ‘Shipping’) {
if (data.City != ” && data.City != null && shipCity == “”) {
$(‘#ShippingCity’).val(data.City);
}
if (data.CountryCode != ” && data.CountryCode != null && shipCountry == “”) {
$(‘#ShippingCountry’).val(data.CountryCode);
}
if (data.StateCode != ” && data.StateCode != null && shipState == “”) {
$(‘#ShippingState’).val(data.StateCode);
}
if (shipZip == “”) {
$(‘#ShippingZip’).val(zip);
}
} else {
if (data.City != ” && data.City != null && billCity == “”) {
$(‘#BillingCity’).val(data.City);
}
if (data.CountryCode != ” && data.CountryCode != null && billCountry == “”) {
$(‘#BillingCountry’).val(data.CountryCode);
}
if (data.StateCode != ” && data.StateCode != null && billState == “”) {
$(‘#BillingState’).val(data.StateCode);
}
if (billZip == “”) {
$(‘#BillingZip’).val(zip);
}
}
$(‘.taxtotal’).html(‘$’ + data.Amount.toFixed(2));
$(‘.summary-total’).html(‘$’ + data.TaxTotal.toFixed(2));
}
}

function getZip() {
return $(‘#zc’).val();
}
function getState() {
return $(‘#ShippingIsDifferentThanBilling’).is(‘:checked’) ? $(‘#ShippingState’).val() : $(‘#BillingState’).val();
}
function getCountry() {
return $(‘#ShippingIsDifferentThanBilling’).is(‘:checked’) ? $(‘#ShippingCountry’).val() : $(‘#BillingCountry’).val();
}

var currentzipcode = ”, lastChangeType = ”;
function updateZip(zipcode, state, country) {
if (zipcode != ” && zipcode != currentzipcode && zipcode.length >= 5) {
currentzipcode = zipcode;
$(‘.zc’).val(zipcode);
handleCartChange();
}
}

function getItems(items) {
var uniqueItems = new Array();
$(“[name*=’ActionQuantity’]”).each(function (index, item) {
var id;
var itemIndex = (item.getAttribute(‘data-index’) ? item.getAttribute(‘data-index’) : (item.id || ”).replace(‘ActionQuantity’, ”));
if ($(‘[name=”ActionCode’ + itemIndex + ‘”]’).length == 0 || ‘radio,checkbox’.indexOf($(‘[name=”ActionCode’ + itemIndex + ‘”]’).attr(‘type’)) >= 0) {
if ($(‘[name=”ActionCode’ + itemIndex + ‘”][data-upgrade]’).length != 0) {
id = $(‘[name=”ActionCode’ + itemIndex + ‘”]’).val();
} else {
id = $(‘[name=”ActionCode’ + itemIndex + ‘”]:checked’).val();
}
} else {
id = $(‘[name=”ActionCode’ + itemIndex + ‘”]’).val();
if($(‘[name=”ActionCode’ + itemIndex + ‘”]’).attr(‘data-checkbox’)){
var checkBoxName = $(‘[name=”ActionCode’ + itemIndex + ‘”]’).attr(‘name’).replace(‘Code’, ‘Checkbox’);
var checkBoxEle = $(‘[name=”‘+ checkBoxName +'”]’);

if(checkBoxEle.attr(‘data-new’) == id){
checkBoxEle.prop(‘checked’, true);
}
}
}
if (id != null && id != ” && id != ‘none’) {
var qty = $(item).val();
var atr;
if ($(‘[name=”ActionAttribute’ + itemIndex + ‘”]’).length == 0 || ‘radio,checkbox’.indexOf($(‘[name=”ActionAttribute’ + itemIndex + ‘”]’).attr(‘type’)) >= 0) {
if ($(‘[name=”ActionAttribute’ + itemIndex + ‘”]’).length == 1) {
atr = $(‘[name=”ActionAttribute’ + itemIndex + ‘”]:checked’).val();
} else {
var allValues = new Array();
$.each($(‘[name=”ActionAttribute’ + itemIndex + ‘”]:checked’), function () {
allValues.push($(this).val());
});
atr = allValues.join(‘,’);
}
} else {
if ($(‘[name=”ActionAttribute’ + itemIndex + ‘”]’).length == 1) {
atr = $(‘[name=”ActionAttribute’ + itemIndex + ‘”]’).val();
} else {
var allValues = new Array();
$.each($(‘[name=”ActionAttribute’ + itemIndex + ‘”]’), function () {
allValues.push($(this).val());
});
atr = allValues.join(‘,’);
}
}
if (uniqueItems[id]) {
for (var ui = 0; ui = 0) {
var match = $(‘[name=”MatchProductQuantity’ + itemIndex + ‘”]:checked’).val();
} else {
var match = $(‘[name=”MatchProductQuantity’ + itemIndex + ‘”]’).val();
}
if (typeof match != “undefined” && match.length > 0) {
if (uniqueItems[match]) {
for (var ui = 0; ui -1 && currentError == toRemoveError) {
alreadyExists = true;
}
}

if (uniqueErrors.indexOf(currentError) === -1 && !alreadyExists) {
uniqueErrors.push(currentError);
}
}
self.DisplayErrors(uniqueErrors, true);
};

self.ScrollToErrors = function (customElement) {
if (self.CurrentErrors.length > 0) {
var ele = getErrorElement();
$.scrollTo(ele, { top: self.scrollToTopPosition });
} else if (customElement) {
$.scrollTo(customElement, { top: self.scrollToTopPosition });
}
};

function getErrorElement() {
var ele = $(‘form’).find(‘span[style=”color: #FF0000; font-weight: bold”]’);

if (ele.length == 0)
{
//For IE
ele = $(‘form’).find(‘span[style=”color: rgb(255, 0, 0); font-weight: bold;”]’);
}

if (ele.length == 0 && $(‘.vse’).length > 0) {
ele = $(‘.vse’);
}
return ele;
}

self.UpgradeItem = function(currentCode, newCode) {
var items = self.Items();

for (var i = 0; i 0) {
var ele = getErrorElement();

if (_firstRun) {
if (ele.children().length) {
$.each(ele.find(‘li’), function (index, item) {
errorsArray.push($(item).text());
});
}
}

var html = ‘The following errors have occured:’ + ‘

    ‘;
    for (var i = 0; i ‘ + errorsArray[i] + ”;
    }
    }
    html += ‘

‘; self.CurrentErrors = errorsArray; if (!_firstRun || show) { ele.html(html); self.ScrollToErrors(); } else { _firstRun = false; } } else if (!_firstRun || show) { var ele = getErrorElement(); ele.html(”); self.CurrentErrors = []; } }; }; var _dtmShoppingCart = new DtmShoppingCart(); //Disable and hide Shipping checkbox if isMultipay = true function toggleShippingFields(isMultipay) { let shippingCbx = $(“[name=’ShippingIsDifferentThanBilling’]:checkbox”); let shippingLabel = $(“#ShippingIsSame”); if (!shippingLabel) { shippingLabel = shippingCbx.parent().parent(); } if (isMultipay) { if (shippingCbx.is(“:checked”)) { shippingCbx.prop(“checked”, false); toggleShipping(); } shippingCbx.prop(“disabled”, true); shippingLabel.hide(); } else if($(‘#otCARD’).length == 0 || $(‘#otCARD’).is(‘:checked’)){ shippingCbx.prop(“disabled”, false); shippingLabel.show(); } } registerEvent(“PaymentOptionSelected”, function () { if (_dtmShoppingCart) { toggleShippingFields(_dtmShoppingCart.HasMultipay); } });

Indicates Required Field

STEP 3: Enter Your Payment Information

STEP 4: Enter Your Billing Information

Check if your shipping address is different than billing.

STEP 5: Enter Your Shipping Information

OFFER DETAILS:

By ordering today, you will receive each Finishing Touch Flawless™ Bikini for just $19.99 with FREE shipping and handling.

60-Day Money Back Guarantee (Less P&H). Sales tax will be added where applicable. A $10 surcharge is added for orders sent to Puerto Rico, Hawaii and Alaska.

Source

Leave a Reply

Your email address will not be published.