GAR BETHE Polo Ralph Lauren Men's Super Soft Ribbed Dress Crew Socks -3 Pair Pack- Lightweight Comfort
${function() {
const variantData = data.variant || {"id":"45af7a25-7c48-4104-b06d-7051ecc82a0b","product_id":"d6d2c0fe-a1c8-4272-bd87-f587bee61331","title":"Black-6-12.5","weight_unit":"kg","inventory_quantity":779,"sku":"","barcode":"","position":1,"option1":"Black","option2":"6-12.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc68f3075caa2d02f1e1edc5dcef69ba.jpeg","path":"fc68f3075caa2d02f1e1edc5dcef69ba.jpeg","width":1120,"height":1500,"alt":"","aspect_ratio":0.7466666666666667},"wholesale_price":[{"price":32.8,"min_quantity":1}],"weight":"0","compare_at_price":"50.5","price":"32.8","retail_price":"50.5","available":true,"url":"\/products\/gar-bethe-polo-ralph-lauren-mens-super-soft-ribbed-dress-crew-socks-3-pair-pack-lightweight-comfort?variant=45af7a25-7c48-4104-b06d-7051ecc82a0b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"6-12.5"}],"off_ratio":35,"flashsale_info":[],"sales":866};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
6-12.5
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$32.80
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"45af7a25-7c48-4104-b06d-7051ecc82a0b","product_id":"d6d2c0fe-a1c8-4272-bd87-f587bee61331","title":"Black-6-12.5","weight_unit":"kg","inventory_quantity":779,"sku":"","barcode":"","position":1,"option1":"Black","option2":"6-12.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc68f3075caa2d02f1e1edc5dcef69ba.jpeg","path":"fc68f3075caa2d02f1e1edc5dcef69ba.jpeg","width":1120,"height":1500,"alt":"","aspect_ratio":0.7466666666666667},"wholesale_price":[{"price":32.8,"min_quantity":1}],"weight":"0","compare_at_price":"50.5","price":"32.8","retail_price":"50.5","available":true,"url":"\/products\/gar-bethe-polo-ralph-lauren-mens-super-soft-ribbed-dress-crew-socks-3-pair-pack-lightweight-comfort?variant=45af7a25-7c48-4104-b06d-7051ecc82a0b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"6-12.5"}],"off_ratio":35,"flashsale_info":[],"sales":866};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.