- YesPreloadFirstinventory-messageShortprice-valueprice-value-additionalproduct-weight-valueproduct-discountsSaleBaseYesYesswatchesPlease select a valid combination of attributes.A value must be entered for %attribute_prompt%.]]>An option must be selected for %attribute_prompt%.]]> 0) {
volumePricingContainer.innerHTML = [
'
',
'',
'',
'Quantity | ',
'Price | ',
'
',
'',
'',
'',
'
'
].join('');
let tableBody = volumePricingContainer.querySelector('[data-pricing-grid]');
priceData.data.forEach(function (entry) {
const pricingRow = document.createElement('tr');
const quantityCell = document.createElement('td');
const priceCell = document.createElement('td');
pricingRow.classList.add('c-table-simple__row');
quantityCell.classList.add('c-table-simple__cell');
priceCell.classList.add('c-table-simple__cell');
if (entry.low === entry.high) {
quantityCell.innerText = entry.low;
}
else if (entry.high) {
quantityCell.innerText = entry.low + ' - ' + entry.high;
}
else {
quantityCell.innerText = entry.low + '+';
}
priceCell.innerText = entry.formatted_price;
pricingRow.append(quantityCell, priceCell);
tableBody.append(pricingRow);
});
}
else {
volumePricingContainer.innerHTML = '';
}
};
]]>#Set_Current_Time# - YesPreloadFirstShortBaseNoneNoNoPlease select a valid combination of attributes.A value must be entered for %attribute_prompt%.]]>An option must be selected for %attribute_prompt%.]]> 0) {
volumePricingContainer.innerHTML = [
'
',
'',
'',
'Quantity | ',
'Price | ',
'
',
'',
'',
'',
'
'
].join('');
let tableBody = volumePricingContainer.querySelector('[data-pricing-grid]');
priceData.data.forEach(function (entry) {
const pricingRow = document.createElement('tr');
const quantityCell = document.createElement('td');
const priceCell = document.createElement('td');
pricingRow.classList.add('c-table-simple__row');
quantityCell.classList.add('c-table-simple__cell');
priceCell.classList.add('c-table-simple__cell');
if (entry.low === entry.high) {
quantityCell.innerText = entry.low;
}
else if (entry.high) {
quantityCell.innerText = entry.low + ' - ' + entry.high;
}
else {
quantityCell.innerText = entry.low + '+';
}
priceCell.innerText = entry.formatted_price;
pricingRow.append(quantityCell, priceCell);
tableBody.append(pricingRow);
});
}
else {
volumePricingContainer.innerHTML = '';
}
};
]]>#Set_Current_Time#