$product = {"id":7408044343395,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列","handle":"iphone-13-mini-mod-nx-printable-pb42","description":null,"published_at":"2024-06-11T16:29:54+08:00","created_at":"2024-05-03T11:47:54+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":41882063175779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471051112547,"product_id":7408044343395,"position":8,"created_at":"2024-05-03T11:48:14+08:00","updated_at":"2024-05-03T11:48:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094","variant_ids":[41882063175779]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875956146275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882063241315,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471050391651,"product_id":7408044343395,"position":7,"created_at":"2024-05-03T11:48:12+08:00","updated_at":"2024-05-03T11:48:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092","variant_ids":[41882063241315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875955425379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882063568995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471051800675,"product_id":7408044343395,"position":10,"created_at":"2024-05-03T11:48:19+08:00","updated_at":"2024-05-03T11:48:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099","variant_ids":[41882063568995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875956834403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89557df5cf50e2c3736f1f8ccd24b26673c39ea5_ad30eab4-5436-416c-bd19-a06632e8fe02.webp?v=1714708076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1031a52f6fdc6c16b191988d1de86d23db9df36_536a8b57-5c19-4c41-9d3a-4863818c4965.webp?v=1714708079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d73021deb2633de6076f7b45e6b3e8659e901_cd4a1d62-8d17-4bf1-9572-c0aadcf6f016.webp?v=1714708082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f31cc2dbfd146b00fe19173684b34c48c79ba4f_96c93fa6-39ae-43cd-9f84-31c967ade42e.webp?v=1714708084","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/743f09a825a79f62488ec3c1c37537e5ff660cb5_decce0f7-a4e3-4dc6-b624-44fb78eb5569.webp?v=1714708087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1803005843b085a746003e18d0c021a66b2c20_6b27371e-a3ac-46f8-a56c-8943839c1faf.webp?v=1714708089","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0a11c814db6bd1774a24dd8ef4626300d876036_bf3103db-c6ef-47f7-909d-0aa320aeed15.webp?v=1714708097","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89557df5cf50e2c3736f1f8ccd24b26673c39ea5_ad30eab4-5436-416c-bd19-a06632e8fe02.webp?v=1714708076","options":["color"],"media":[{"alt":null,"id":23875953197155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89557df5cf50e2c3736f1f8ccd24b26673c39ea5_ad30eab4-5436-416c-bd19-a06632e8fe02.webp?v=1714708076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89557df5cf50e2c3736f1f8ccd24b26673c39ea5_ad30eab4-5436-416c-bd19-a06632e8fe02.webp?v=1714708076","width":2000},{"alt":null,"id":23875953623139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1031a52f6fdc6c16b191988d1de86d23db9df36_536a8b57-5c19-4c41-9d3a-4863818c4965.webp?v=1714708079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1031a52f6fdc6c16b191988d1de86d23db9df36_536a8b57-5c19-4c41-9d3a-4863818c4965.webp?v=1714708079","width":2000},{"alt":null,"id":23875954147427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d73021deb2633de6076f7b45e6b3e8659e901_cd4a1d62-8d17-4bf1-9572-c0aadcf6f016.webp?v=1714708082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/543d73021deb2633de6076f7b45e6b3e8659e901_cd4a1d62-8d17-4bf1-9572-c0aadcf6f016.webp?v=1714708082","width":2000},{"alt":null,"id":23875954409571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f31cc2dbfd146b00fe19173684b34c48c79ba4f_96c93fa6-39ae-43cd-9f84-31c967ade42e.webp?v=1714708084"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f31cc2dbfd146b00fe19173684b34c48c79ba4f_96c93fa6-39ae-43cd-9f84-31c967ade42e.webp?v=1714708084","width":2000},{"alt":null,"id":23875954868323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/743f09a825a79f62488ec3c1c37537e5ff660cb5_decce0f7-a4e3-4dc6-b624-44fb78eb5569.webp?v=1714708087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/743f09a825a79f62488ec3c1c37537e5ff660cb5_decce0f7-a4e3-4dc6-b624-44fb78eb5569.webp?v=1714708087","width":2000},{"alt":null,"id":23875955032163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1803005843b085a746003e18d0c021a66b2c20_6b27371e-a3ac-46f8-a56c-8943839c1faf.webp?v=1714708089"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1803005843b085a746003e18d0c021a66b2c20_6b27371e-a3ac-46f8-a56c-8943839c1faf.webp?v=1714708089","width":2000},{"alt":null,"id":23875955425379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092","width":2000},{"alt":null,"id":23875956146275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094","width":2000},{"alt":null,"id":23875956441187,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0a11c814db6bd1774a24dd8ef4626300d876036_bf3103db-c6ef-47f7-909d-0aa320aeed15.webp?v=1714708097"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0a11c814db6bd1774a24dd8ef4626300d876036_bf3103db-c6ef-47f7-909d-0aa320aeed15.webp?v=1714708097","width":2000},{"alt":null,"id":23875956834403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41882063175779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471051112547,"product_id":7408044343395,"position":8,"created_at":"2024-05-03T11:48:14+08:00","updated_at":"2024-05-03T11:48:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094","variant_ids":[41882063175779]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875956146275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882063241315,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471050391651,"product_id":7408044343395,"position":7,"created_at":"2024-05-03T11:48:12+08:00","updated_at":"2024-05-03T11:48:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092","variant_ids":[41882063241315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875955425379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afb2c8aa4bfab4324e2df94b7b75a4994154f2eb_12c3f7ba-8da0-4346-be17-5866fff280d9.webp?v=1714708092"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882063568995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471051800675,"product_id":7408044343395,"position":10,"created_at":"2024-05-03T11:48:19+08:00","updated_at":"2024-05-03T11:48:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099","variant_ids":[41882063568995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875956834403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963051736b985760676ef48680230405c53489b5_970780b5-72db-4cd3-aecf-eeee7977a594.webp?v=1714708099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41882063175779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB42","requires_shipping":true,"taxable":true,"featured_image":{"id":31471051112547,"product_id":7408044343395,"position":8,"created_at":"2024-05-03T11:48:14+08:00","updated_at":"2024-05-03T11:48:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094","variant_ids":[41882063175779]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-潮流系列 - 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-PB42","featured_media":{"alt":null,"id":23875956146275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddf58691983a4fe712e1cffd8dff7178e4b8ad60_ae9e3de8-a417-482c-a334-be0bf2f81e8b.webp?v=1714708094"}},"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: "停產"
}