Colored Glitter Pen Set for Sarcastic Souls
Style-
7 Pcs Set
${function(){
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
return `
Please select a Style
`;
}()}
Qty-
1 Set
${function(){
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
return `
Please select a Qty
`;
}()}
${function() {
const variantData = data.variant || {"id":"5ecd1047-a7b6-42e9-b6a4-49a011e7e2a2","product_id":"1bec0e3d-5fdd-4527-832d-8ee428e2b0fd","title":"7 Pcs Set-1 Set","weight_unit":"kg","inventory_quantity":0,"sku":"PH3033010T7","barcode":"940830199850","position":1,"option1":"7 Pcs Set","option2":"1 Set","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d739310009d9d300290d9c8c5e0bb1fd.jpg","path":"d739310009d9d300290d9c8c5e0bb1fd.jpg","width":1588,"height":1588,"alt":"Colored Glitter Pen Set for Sarcastic Souls - tree - Codlins","aspect_ratio":1},"wholesale_price":[{"price":19.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.96","retail_price":"0","available":true,"url":"\/products\/colored-glitter-pen-set-for-sarcastic-souls?variant=5ecd1047-a7b6-42e9-b6a4-49a011e7e2a2","available_quantity":999999999,"options":[{"name":"Style","value":"7 Pcs Set"},{"name":"Qty","value":"1 Set"}],"off_ratio":0,"flashsale_info":[],"sales":488};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Free shipping on international orders of $49.99+
Add to cart
- $19.96
${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]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"5ecd1047-a7b6-42e9-b6a4-49a011e7e2a2","product_id":"1bec0e3d-5fdd-4527-832d-8ee428e2b0fd","title":"7 Pcs Set-1 Set","weight_unit":"kg","inventory_quantity":0,"sku":"PH3033010T7","barcode":"940830199850","position":1,"option1":"7 Pcs Set","option2":"1 Set","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d739310009d9d300290d9c8c5e0bb1fd.jpg","path":"d739310009d9d300290d9c8c5e0bb1fd.jpg","width":1588,"height":1588,"alt":"Colored Glitter Pen Set for Sarcastic Souls - tree - Codlins","aspect_ratio":1},"wholesale_price":[{"price":19.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.96","retail_price":"0","available":true,"url":"\/products\/colored-glitter-pen-set-for-sarcastic-souls?variant=5ecd1047-a7b6-42e9-b6a4-49a011e7e2a2","available_quantity":999999999,"options":[{"name":"Style","value":"7 Pcs Set"},{"name":"Qty","value":"1 Set"}],"off_ratio":0,"flashsale_info":[],"sales":488};
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 it now
Product was out of stock.
Product is unavailable.