$product = {"id":7411324223587,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb85","description":null,"published_at":"2024-06-11T17:41:51+08:00","created_at":"2024-05-05T00:07:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41897448570979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480140791907,"product_id":7411324223587,"position":1,"created_at":"2024-05-05T00:07:47+08:00","updated_at":"2024-05-05T00:07:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","variant_ids":[41897448570979]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB85","featured_media":{"alt":null,"id":23885391724643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897448636515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480143183971,"product_id":7411324223587,"position":6,"created_at":"2024-05-05T00:07:59+08:00","updated_at":"2024-05-05T00:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879","variant_ids":[41897448636515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB85","featured_media":{"alt":null,"id":23885394051171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897448865891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480144298083,"product_id":7411324223587,"position":8,"created_at":"2024-05-05T00:08:04+08:00","updated_at":"2024-05-05T00:08:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884","variant_ids":[41897448865891]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB85","featured_media":{"alt":null,"id":23885395198051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ac11436f842faafcd8a6be8c0c515b4f2ff0ff_7d2b2084-ea68-4c57-9f2c-2cef4fa097cf.webp?v=1714838870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d821c3ee10a1f5ba2a3dcf8cb58e81a987cd3c_2205e2fa-9b7b-45f3-84a2-caa1141830e8.webp?v=1714838872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8172680175e3300a039d804392df4013757cf3fb_f519e149-a1f6-4a06-925e-eb6d70945f4e.webp?v=1714838874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a3d7eda2fe3b9a4a9dad26ce75953e78ee7516_7a625e59-9102-4475-b437-36a3099b2fb6.webp?v=1714838877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3a26093a6bafcb21b25bff4f2b878ed69e03f2_6716339f-4ac2-41cb-830f-ce386a749bd1.webp?v=1714838881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8b816e849826f4360d3470ca35c6637a682e1_9b0a5b1c-6ec6-437d-b7b2-db509cf326e3.webp?v=1714838886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6acf553dc3ad97f6accf9517a0656ff19978821a_41ec013b-7c0b-44d8-9294-94e71882a6a5.webp?v=1714838889"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","options":["color"],"media":[{"alt":null,"id":23885391724643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","width":2000},{"alt":null,"id":23885392183395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ac11436f842faafcd8a6be8c0c515b4f2ff0ff_7d2b2084-ea68-4c57-9f2c-2cef4fa097cf.webp?v=1714838870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ac11436f842faafcd8a6be8c0c515b4f2ff0ff_7d2b2084-ea68-4c57-9f2c-2cef4fa097cf.webp?v=1714838870","width":2000},{"alt":null,"id":23885392543843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d821c3ee10a1f5ba2a3dcf8cb58e81a987cd3c_2205e2fa-9b7b-45f3-84a2-caa1141830e8.webp?v=1714838872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d821c3ee10a1f5ba2a3dcf8cb58e81a987cd3c_2205e2fa-9b7b-45f3-84a2-caa1141830e8.webp?v=1714838872","width":2000},{"alt":null,"id":23885393068131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8172680175e3300a039d804392df4013757cf3fb_f519e149-a1f6-4a06-925e-eb6d70945f4e.webp?v=1714838874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8172680175e3300a039d804392df4013757cf3fb_f519e149-a1f6-4a06-925e-eb6d70945f4e.webp?v=1714838874","width":2000},{"alt":null,"id":23885393494115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a3d7eda2fe3b9a4a9dad26ce75953e78ee7516_7a625e59-9102-4475-b437-36a3099b2fb6.webp?v=1714838877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a3d7eda2fe3b9a4a9dad26ce75953e78ee7516_7a625e59-9102-4475-b437-36a3099b2fb6.webp?v=1714838877","width":2000},{"alt":null,"id":23885394051171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879","width":2000},{"alt":null,"id":23885394444387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3a26093a6bafcb21b25bff4f2b878ed69e03f2_6716339f-4ac2-41cb-830f-ce386a749bd1.webp?v=1714838881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3a26093a6bafcb21b25bff4f2b878ed69e03f2_6716339f-4ac2-41cb-830f-ce386a749bd1.webp?v=1714838881","width":2000},{"alt":null,"id":23885395198051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884","width":2000},{"alt":null,"id":23885395624035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8b816e849826f4360d3470ca35c6637a682e1_9b0a5b1c-6ec6-437d-b7b2-db509cf326e3.webp?v=1714838886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99b8b816e849826f4360d3470ca35c6637a682e1_9b0a5b1c-6ec6-437d-b7b2-db509cf326e3.webp?v=1714838886","width":2000},{"alt":null,"id":23885396181091,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6acf553dc3ad97f6accf9517a0656ff19978821a_41ec013b-7c0b-44d8-9294-94e71882a6a5.webp?v=1714838889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6acf553dc3ad97f6accf9517a0656ff19978821a_41ec013b-7c0b-44d8-9294-94e71882a6a5.webp?v=1714838889","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897448570979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480140791907,"product_id":7411324223587,"position":1,"created_at":"2024-05-05T00:07:47+08:00","updated_at":"2024-05-05T00:07:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","variant_ids":[41897448570979]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB85","featured_media":{"alt":null,"id":23885391724643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897448636515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480143183971,"product_id":7411324223587,"position":6,"created_at":"2024-05-05T00:07:59+08:00","updated_at":"2024-05-05T00:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879","variant_ids":[41897448636515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB85","featured_media":{"alt":null,"id":23885394051171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3fae8e5d74193603d1c234756eb3551d4b1a7ee_90c50901-df86-4a31-95b7-1fb9c045a2cd.webp?v=1714838879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897448865891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480144298083,"product_id":7411324223587,"position":8,"created_at":"2024-05-05T00:08:04+08:00","updated_at":"2024-05-05T00:08:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884","variant_ids":[41897448865891]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB85","featured_media":{"alt":null,"id":23885395198051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c048251a73a11ae67eedc596a2d222ec0232d75_51f24deb-b850-479c-b13e-84e781281074.webp?v=1714838884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897448570979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB85","requires_shipping":true,"taxable":true,"featured_image":{"id":31480140791907,"product_id":7411324223587,"position":1,"created_at":"2024-05-05T00:07:47+08:00","updated_at":"2024-05-05T00:07:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868","variant_ids":[41897448570979]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Spaceships-漫畫系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB85","featured_media":{"alt":null,"id":23885391724643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de03ef528eeab67e7e8ea72fec88472ec2da85b4_9bee8f19-7876-4313-9f26-26c218946309.webp?v=1714838868"}},"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: "停產" }