Affirmation Pencil Set✏️ (10Pcs)
Color-
Colorful(Colored Pencil)
${function(){
const optName = "Color";
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Color
`;
}()}
Quantity-
1 Set(10 PCS)
${function(){
const optName = "Quantity";
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
const optName = "Quantity";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Quantity
`;
}()}
${function() {
const variantData = data.variant || {"id":"f51b2b36-90dc-46eb-9ba8-1c7efb581d30","product_id":"1b21d0e1-16fb-4705-ae1a-24e7a260b994","title":"Colorful(Colored Pencil)-1 Set(10 PCS)","weight_unit":"kg","inventory_quantity":0,"sku":"PH3080908CAI","barcode":"940830199645","position":1,"option1":"Colorful(Colored Pencil)","option2":"1 Set(10 PCS)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3db52bcfb74d67989505e6559a11364.jpg","path":"e3db52bcfb74d67989505e6559a11364.jpg","width":800,"height":800,"alt":"Affirmation Pencil Set\u270f\ufe0f (10Pcs) - tree - Codlins","aspect_ratio":1},"wholesale_price":[{"price":12.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.96","retail_price":"0","available":true,"url":"\/products\/affirmation-pencil-set\u270f-10pcs?variant=f51b2b36-90dc-46eb-9ba8-1c7efb581d30","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful(Colored Pencil)"},{"name":"Quantity","value":"1 Set(10 PCS)"}],"off_ratio":0,"flashsale_info":[],"sales":53};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Free shipping on international orders of $49.99+
Add to cart
- $12.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":"f51b2b36-90dc-46eb-9ba8-1c7efb581d30","product_id":"1b21d0e1-16fb-4705-ae1a-24e7a260b994","title":"Colorful(Colored Pencil)-1 Set(10 PCS)","weight_unit":"kg","inventory_quantity":0,"sku":"PH3080908CAI","barcode":"940830199645","position":1,"option1":"Colorful(Colored Pencil)","option2":"1 Set(10 PCS)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3db52bcfb74d67989505e6559a11364.jpg","path":"e3db52bcfb74d67989505e6559a11364.jpg","width":800,"height":800,"alt":"Affirmation Pencil Set\u270f\ufe0f (10Pcs) - tree - Codlins","aspect_ratio":1},"wholesale_price":[{"price":12.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.96","retail_price":"0","available":true,"url":"\/products\/affirmation-pencil-set\u270f-10pcs?variant=f51b2b36-90dc-46eb-9ba8-1c7efb581d30","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful(Colored Pencil)"},{"name":"Quantity","value":"1 Set(10 PCS)"}],"off_ratio":0,"flashsale_info":[],"sales":53};
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.