$product = {"id":7408192258147,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑","handle":"iphone-13-mini-mod-nx-printable-pb07","description":null,"published_at":"2024-06-11T16:33:52+08:00","created_at":"2024-05-03T12:17:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":41883698757731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471431680099,"product_id":7408192258147,"position":2,"created_at":"2024-05-03T12:18:02+08:00","updated_at":"2024-05-03T12:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882","variant_ids":[41883698757731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB07","featured_media":{"alt":null,"id":23876338024547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883698888803,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471432695907,"product_id":7408192258147,"position":3,"created_at":"2024-05-03T12:18:04+08:00","updated_at":"2024-05-03T12:18:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884","variant_ids":[41883698888803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB07","featured_media":{"alt":null,"id":23876338417763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883699249251,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471431024739,"product_id":7408192258147,"position":1,"created_at":"2024-05-03T12:17:59+08:00","updated_at":"2024-05-03T12:17:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879","variant_ids":[41883699249251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB07","featured_media":{"alt":null,"id":23876337303651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc65b907c53b1c15779500cf024cf27331a02369_eacfdc67-0dd4-4be3-bfae-cf0cc4e60999.webp?v=1714709886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb33b22f424667560078c54baba924a7193c02e_1a333168-0a37-4cbe-bfb5-5cd8e6c35efb.webp?v=1714709888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/602ac041f6d00153ea3711a7910a1e1024a05cb1_d5fe1074-f01d-465d-b7e9-02fb99355a65.webp?v=1714709890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ee64ec1aeadc81da843b81fa41cabb583163074_70627287-25ef-44f6-81af-f712016e885a.webp?v=1714709893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5684db7db99c7877bd4f3d97b13c1504ace63cb_d5f1df15-36dd-4358-9a93-cffe972cb4fb.webp?v=1714709895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b2d4abfb9d9a9942fc58dd5f243266111ef034_707f6744-03f1-41e1-8292-c4b7ee6a741e.webp?v=1714709898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9c60c2a8f28824e65d12be0583b0936c6ed603_4ace9612-93a9-458f-a68c-c398e1a907e6.webp?v=1714709900"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879","options":["color"],"media":[{"alt":null,"id":23876337303651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879","width":2000},{"alt":null,"id":23876338024547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882","width":2000},{"alt":null,"id":23876338417763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884","width":2000},{"alt":null,"id":23876339630179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc65b907c53b1c15779500cf024cf27331a02369_eacfdc67-0dd4-4be3-bfae-cf0cc4e60999.webp?v=1714709886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc65b907c53b1c15779500cf024cf27331a02369_eacfdc67-0dd4-4be3-bfae-cf0cc4e60999.webp?v=1714709886","width":2000},{"alt":null,"id":23876340023395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb33b22f424667560078c54baba924a7193c02e_1a333168-0a37-4cbe-bfb5-5cd8e6c35efb.webp?v=1714709888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb33b22f424667560078c54baba924a7193c02e_1a333168-0a37-4cbe-bfb5-5cd8e6c35efb.webp?v=1714709888","width":2000},{"alt":null,"id":23876340580451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/602ac041f6d00153ea3711a7910a1e1024a05cb1_d5fe1074-f01d-465d-b7e9-02fb99355a65.webp?v=1714709890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/602ac041f6d00153ea3711a7910a1e1024a05cb1_d5fe1074-f01d-465d-b7e9-02fb99355a65.webp?v=1714709890","width":2000},{"alt":null,"id":23876341039203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ee64ec1aeadc81da843b81fa41cabb583163074_70627287-25ef-44f6-81af-f712016e885a.webp?v=1714709893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ee64ec1aeadc81da843b81fa41cabb583163074_70627287-25ef-44f6-81af-f712016e885a.webp?v=1714709893","width":2000},{"alt":null,"id":23876341661795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5684db7db99c7877bd4f3d97b13c1504ace63cb_d5f1df15-36dd-4358-9a93-cffe972cb4fb.webp?v=1714709895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5684db7db99c7877bd4f3d97b13c1504ace63cb_d5f1df15-36dd-4358-9a93-cffe972cb4fb.webp?v=1714709895","width":2000},{"alt":null,"id":23876342251619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b2d4abfb9d9a9942fc58dd5f243266111ef034_707f6744-03f1-41e1-8292-c4b7ee6a741e.webp?v=1714709898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10b2d4abfb9d9a9942fc58dd5f243266111ef034_707f6744-03f1-41e1-8292-c4b7ee6a741e.webp?v=1714709898","width":2000},{"alt":null,"id":23876343103587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9c60c2a8f28824e65d12be0583b0936c6ed603_4ace9612-93a9-458f-a68c-c398e1a907e6.webp?v=1714709900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da9c60c2a8f28824e65d12be0583b0936c6ed603_4ace9612-93a9-458f-a68c-c398e1a907e6.webp?v=1714709900","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41883698757731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471431680099,"product_id":7408192258147,"position":2,"created_at":"2024-05-03T12:18:02+08:00","updated_at":"2024-05-03T12:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882","variant_ids":[41883698757731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB07","featured_media":{"alt":null,"id":23876338024547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883698888803,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471432695907,"product_id":7408192258147,"position":3,"created_at":"2024-05-03T12:18:04+08:00","updated_at":"2024-05-03T12:18:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884","variant_ids":[41883698888803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB07","featured_media":{"alt":null,"id":23876338417763,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257f7220cb923cb3138ab8a52e3988737210abf_99f249d1-0c71-419a-a411-7a8979a3f8cd.webp?v=1714709884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883699249251,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471431024739,"product_id":7408192258147,"position":1,"created_at":"2024-05-03T12:17:59+08:00","updated_at":"2024-05-03T12:17:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879","variant_ids":[41883699249251]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB07","featured_media":{"alt":null,"id":23876337303651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ca448e6a8ce3ba47cfb8e958bbe84230ee84d7c_f6d5206b-bdbd-443c-8204-8b72d6c9d2c3.webp?v=1714709879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41883698757731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471431680099,"product_id":7408192258147,"position":2,"created_at":"2024-05-03T12:18:02+08:00","updated_at":"2024-05-03T12:18:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882","variant_ids":[41883698757731]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-噴漆黑 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB07","featured_media":{"alt":null,"id":23876338024547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/174cc20020309eae77413ac110a5bc561df0d879_12968569-25ed-4094-ae02-8056fd4b6001.webp?v=1714709882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}