$product = {"id":7407988834403,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy","handle":"iphone-14-pro-mod-nx-printable-pb60","description":null,"published_at":"2024-06-11T16:28:27+08:00","created_at":"2024-05-03T11:29:31+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 14 Pro","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":41881435865187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470885011555,"product_id":7407988834403,"position":4,"created_at":"2024-05-03T11:29:41+08:00","updated_at":"2024-05-03T11:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981","variant_ids":[41881435865187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB0126224-PB60","featured_media":{"alt":null,"id":23875789684835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881435930723,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470887927907,"product_id":7407988834403,"position":9,"created_at":"2024-05-03T11:29:53+08:00","updated_at":"2024-05-03T11:29:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993","variant_ids":[41881435930723]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB0126204-PB60","featured_media":{"alt":null,"id":23875792568419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881436160099,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470886715491,"product_id":7407988834403,"position":7,"created_at":"2024-05-03T11:29:48+08:00","updated_at":"2024-05-03T11:29:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988","variant_ids":[41881436160099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB01262J5-PB60","featured_media":{"alt":null,"id":23875791323235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92745607505ad79f17e31329c414b49a1f4ed9f6_b0ddb2e8-fc29-4d1b-b725-25f5566239ac.webp?v=1714706974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4dad48f14a97d4ec53fbd5dc44a646b6e35ee1_d6940e1c-04c3-4f8e-b1e3-44311d475484.webp?v=1714706976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd8c0c436b5b3121e23edf381e624f5c26d79361_c984874b-9239-488e-968c-b274a2761d74.webp?v=1714706979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74d05efe10154624b2fa96d3d806324d30a15d9_647f3875-27a3-491c-9feb-b8cd2db01e40.webp?v=1714706983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4f7fc15190af82a1030a80f6832d3193d159c0_d5242767-ed5e-41b2-99ce-93167f7b272e.webp?v=1714706986","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b046756447ef37af9f588b985b4790f542fd2b1_db61567f-456b-4b8b-9f40-d9c013764b98.webp?v=1714706991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e68cd896426a80b949f6ddf233ecb69e237b73_d89bfb9c-b4c6-4a77-af4c-8891d44ae870.webp?v=1714706996"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92745607505ad79f17e31329c414b49a1f4ed9f6_b0ddb2e8-fc29-4d1b-b725-25f5566239ac.webp?v=1714706974","options":["color"],"media":[{"alt":null,"id":23875788079203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92745607505ad79f17e31329c414b49a1f4ed9f6_b0ddb2e8-fc29-4d1b-b725-25f5566239ac.webp?v=1714706974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92745607505ad79f17e31329c414b49a1f4ed9f6_b0ddb2e8-fc29-4d1b-b725-25f5566239ac.webp?v=1714706974","width":2000},{"alt":null,"id":23875788603491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4dad48f14a97d4ec53fbd5dc44a646b6e35ee1_d6940e1c-04c3-4f8e-b1e3-44311d475484.webp?v=1714706976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4dad48f14a97d4ec53fbd5dc44a646b6e35ee1_d6940e1c-04c3-4f8e-b1e3-44311d475484.webp?v=1714706976","width":2000},{"alt":null,"id":23875789095011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd8c0c436b5b3121e23edf381e624f5c26d79361_c984874b-9239-488e-968c-b274a2761d74.webp?v=1714706979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd8c0c436b5b3121e23edf381e624f5c26d79361_c984874b-9239-488e-968c-b274a2761d74.webp?v=1714706979","width":2000},{"alt":null,"id":23875789684835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981","width":2000},{"alt":null,"id":23875790274659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74d05efe10154624b2fa96d3d806324d30a15d9_647f3875-27a3-491c-9feb-b8cd2db01e40.webp?v=1714706983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f74d05efe10154624b2fa96d3d806324d30a15d9_647f3875-27a3-491c-9feb-b8cd2db01e40.webp?v=1714706983","width":2000},{"alt":null,"id":23875790798947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4f7fc15190af82a1030a80f6832d3193d159c0_d5242767-ed5e-41b2-99ce-93167f7b272e.webp?v=1714706986"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4f7fc15190af82a1030a80f6832d3193d159c0_d5242767-ed5e-41b2-99ce-93167f7b272e.webp?v=1714706986","width":2000},{"alt":null,"id":23875791323235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988","width":2000},{"alt":null,"id":23875791880291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b046756447ef37af9f588b985b4790f542fd2b1_db61567f-456b-4b8b-9f40-d9c013764b98.webp?v=1714706991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b046756447ef37af9f588b985b4790f542fd2b1_db61567f-456b-4b8b-9f40-d9c013764b98.webp?v=1714706991","width":2000},{"alt":null,"id":23875792568419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993","width":2000},{"alt":null,"id":23875793158243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e68cd896426a80b949f6ddf233ecb69e237b73_d89bfb9c-b4c6-4a77-af4c-8891d44ae870.webp?v=1714706996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e68cd896426a80b949f6ddf233ecb69e237b73_d89bfb9c-b4c6-4a77-af4c-8891d44ae870.webp?v=1714706996","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881435865187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470885011555,"product_id":7407988834403,"position":4,"created_at":"2024-05-03T11:29:41+08:00","updated_at":"2024-05-03T11:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981","variant_ids":[41881435865187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB0126224-PB60","featured_media":{"alt":null,"id":23875789684835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881435930723,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470887927907,"product_id":7407988834403,"position":9,"created_at":"2024-05-03T11:29:53+08:00","updated_at":"2024-05-03T11:29:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993","variant_ids":[41881435930723]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB0126204-PB60","featured_media":{"alt":null,"id":23875792568419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a780f0a5cd22bf4cbd7384b38e005e37c7916463_edd31ef8-cc99-4e2c-9929-0e2e06e149bb.webp?v=1714706993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881436160099,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470886715491,"product_id":7407988834403,"position":7,"created_at":"2024-05-03T11:29:48+08:00","updated_at":"2024-05-03T11:29:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988","variant_ids":[41881436160099]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB01262J5-PB60","featured_media":{"alt":null,"id":23875791323235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f0e5a8067b750b63c2ae70e551a3be86fcf5a8_f13fa765-0619-45d3-8c47-1227555d6487.webp?v=1714706988"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881435865187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB60","requires_shipping":true,"taxable":true,"featured_image":{"id":31470885011555,"product_id":7407988834403,"position":4,"created_at":"2024-05-03T11:29:41+08:00","updated_at":"2024-05-03T11:29:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981","variant_ids":[41881435865187]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 伊沃克人-Galaxy - 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":"NPB0126224-PB60","featured_media":{"alt":null,"id":23875789684835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f641da4f17f7352f7e6f790c144ada024c87bce7_4eda7054-31fb-4697-bdab-b05dd51696a4.webp?v=1714706981"}},"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: "停產" }