$product = {"id":7413977710691,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop","handle":"iphone-13-mini-mod-nx-magsafe-printable-hq04","description":null,"published_at":"2024-06-11T17:46:42+08:00","created_at":"2024-05-05T13:54:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Pixel Jeff 皮傑","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-pixeljeff","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-pixeljeff","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41902922825827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484376645731,"product_id":7413977710691,"position":8,"created_at":"2024-05-05T13:54:33+08:00","updated_at":"2024-05-05T13:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473","variant_ids":[41902922825827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-HQ04","featured_media":{"alt":null,"id":23889670504547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902922891363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484377563235,"product_id":7413977710691,"position":10,"created_at":"2024-05-05T13:54:38+08:00","updated_at":"2024-05-05T13:54:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478","variant_ids":[41902922891363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-HQ04","featured_media":{"alt":null,"id":23889671422051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902923120739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484373401699,"product_id":7413977710691,"position":2,"created_at":"2024-05-05T13:54:18+08:00","updated_at":"2024-05-05T13:54:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458","variant_ids":[41902923120739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-HQ04","featured_media":{"alt":null,"id":23889667260515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74158c18343ceb0358af39c12a1327d601c9ed9f_4c0ed291-335b-4d90-83d7-feafdc6f6eae.webp?v=1714888456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7536d112d0e731fdf8b75d90d0b6b4a23fa3ef8a_44e98e93-e78a-4613-a5f7-f78654a7c183.webp?v=1714888460","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2256abdc91cf13471f7e267525f245b63997df_3e0a7395-1e38-4ae5-9758-e80b51105724.webp?v=1714888463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd3c38881ae0ba695168adc8f5b07a936ed476d_1e8c94e8-2855-48b4-bae0-d9b827c14fae.webp?v=1714888466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2476b629b138afc103d58435bc5b2a56856860e_82b150c2-bfdf-474d-93de-2cda8d85ab38.webp?v=1714888468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f367b9ee1038ecd875665130f75c445e5500991_faa8ccf1-6a59-47d9-bff8-d51ec5f3532a.webp?v=1714888470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbc4519ee30ee2e14abe2df2389527aabb0ff393_dabbf426-4059-481d-972f-ba517d17af67.webp?v=1714888475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74158c18343ceb0358af39c12a1327d601c9ed9f_4c0ed291-335b-4d90-83d7-feafdc6f6eae.webp?v=1714888456","options":["color"],"media":[{"alt":null,"id":23889666834531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74158c18343ceb0358af39c12a1327d601c9ed9f_4c0ed291-335b-4d90-83d7-feafdc6f6eae.webp?v=1714888456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74158c18343ceb0358af39c12a1327d601c9ed9f_4c0ed291-335b-4d90-83d7-feafdc6f6eae.webp?v=1714888456","width":2000},{"alt":null,"id":23889667260515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458","width":2000},{"alt":null,"id":23889667784803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7536d112d0e731fdf8b75d90d0b6b4a23fa3ef8a_44e98e93-e78a-4613-a5f7-f78654a7c183.webp?v=1714888460"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7536d112d0e731fdf8b75d90d0b6b4a23fa3ef8a_44e98e93-e78a-4613-a5f7-f78654a7c183.webp?v=1714888460","width":2000},{"alt":null,"id":23889668472931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2256abdc91cf13471f7e267525f245b63997df_3e0a7395-1e38-4ae5-9758-e80b51105724.webp?v=1714888463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2256abdc91cf13471f7e267525f245b63997df_3e0a7395-1e38-4ae5-9758-e80b51105724.webp?v=1714888463","width":2000},{"alt":null,"id":23889668931683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd3c38881ae0ba695168adc8f5b07a936ed476d_1e8c94e8-2855-48b4-bae0-d9b827c14fae.webp?v=1714888466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3cd3c38881ae0ba695168adc8f5b07a936ed476d_1e8c94e8-2855-48b4-bae0-d9b827c14fae.webp?v=1714888466","width":2000},{"alt":null,"id":23889669357667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2476b629b138afc103d58435bc5b2a56856860e_82b150c2-bfdf-474d-93de-2cda8d85ab38.webp?v=1714888468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2476b629b138afc103d58435bc5b2a56856860e_82b150c2-bfdf-474d-93de-2cda8d85ab38.webp?v=1714888468","width":2000},{"alt":null,"id":23889669849187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f367b9ee1038ecd875665130f75c445e5500991_faa8ccf1-6a59-47d9-bff8-d51ec5f3532a.webp?v=1714888470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f367b9ee1038ecd875665130f75c445e5500991_faa8ccf1-6a59-47d9-bff8-d51ec5f3532a.webp?v=1714888470","width":2000},{"alt":null,"id":23889670504547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473","width":2000},{"alt":null,"id":23889670963299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbc4519ee30ee2e14abe2df2389527aabb0ff393_dabbf426-4059-481d-972f-ba517d17af67.webp?v=1714888475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbc4519ee30ee2e14abe2df2389527aabb0ff393_dabbf426-4059-481d-972f-ba517d17af67.webp?v=1714888475","width":2000},{"alt":null,"id":23889671422051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41902922825827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484376645731,"product_id":7413977710691,"position":8,"created_at":"2024-05-05T13:54:33+08:00","updated_at":"2024-05-05T13:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473","variant_ids":[41902922825827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-HQ04","featured_media":{"alt":null,"id":23889670504547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902922891363,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484377563235,"product_id":7413977710691,"position":10,"created_at":"2024-05-05T13:54:38+08:00","updated_at":"2024-05-05T13:54:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478","variant_ids":[41902922891363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-HQ04","featured_media":{"alt":null,"id":23889671422051,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b709578775a03b93bc6ad9e93d360c0fc00246_a7c01b6c-c578-45f8-835f-cb447a759fc7.webp?v=1714888478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902923120739,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484373401699,"product_id":7413977710691,"position":2,"created_at":"2024-05-05T13:54:18+08:00","updated_at":"2024-05-05T13:54:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458","variant_ids":[41902923120739]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01228J5-HQ04","featured_media":{"alt":null,"id":23889667260515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a7eba5db9f019f5afcf413846ed056031e5b20_7fd14743-9008-433e-b54d-f04803efc7a6.webp?v=1714888458"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41902922825827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-HQ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484376645731,"product_id":7413977710691,"position":8,"created_at":"2024-05-05T13:54:33+08:00","updated_at":"2024-05-05T13:54:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473","variant_ids":[41902922825827]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Pixel Jeff 皮傑 - Lollipop - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-HQ04","featured_media":{"alt":null,"id":23889670504547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265a9c9a3e7a341fb0a8738bfdf1212fae29a99e_ad56f3d9-81e5-47e6-a71e-8d19ecf7c4c4.webp?v=1714888473"}},"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: "停產"
}