Crowned in Thorns. Risen in Glory.jesuscrownofthorns washed T-Shirt
${function() {
const variantData = data.variant || {"id":"c8fdf060-2f67-4a1d-b128-06d33d72b97c","product_id":"177ae85f-b4b1-4819-bc8c-965ad5882228","title":"Washed T-Shirt-Drak Gray-S","weight_unit":"kg","inventory_quantity":9997,"sku":"TS-DG-S-XE153-FM-F38","barcode":"","position":1,"option1":"Washed T-Shirt","option2":"Drak Gray","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/f08a317162bf03df945182d3b4db43b9.jpg","path":"f08a317162bf03df945182d3b4db43b9.jpg","width":1417,"height":1417,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/funny-christian-roulette-washed-t-shirt-591m-kebt-tjnx-8mxp-wasb?variant=c8fdf060-2f67-4a1d-b128-06d33d72b97c","available_quantity":9997,"options":[{"name":"Type","value":"Washed T-Shirt"},{"name":"Color","value":"Drak Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Type:
Washed T-Shirt
${function(){
const optName = "Type";
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}
`
}()}
Color:
Drak Gray
${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:
S
${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
$29.99
${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":"c8fdf060-2f67-4a1d-b128-06d33d72b97c","product_id":"177ae85f-b4b1-4819-bc8c-965ad5882228","title":"Washed T-Shirt-Drak Gray-S","weight_unit":"kg","inventory_quantity":9997,"sku":"TS-DG-S-XE153-FM-F38","barcode":"","position":1,"option1":"Washed T-Shirt","option2":"Drak Gray","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/f08a317162bf03df945182d3b4db43b9.jpg","path":"f08a317162bf03df945182d3b4db43b9.jpg","width":1417,"height":1417,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/funny-christian-roulette-washed-t-shirt-591m-kebt-tjnx-8mxp-wasb?variant=c8fdf060-2f67-4a1d-b128-06d33d72b97c","available_quantity":9997,"options":[{"name":"Type","value":"Washed T-Shirt"},{"name":"Color","value":"Drak Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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.