$product = {"id":7407646998627,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星際大戰-開場字幕","handle":"iphone-14-pro-mod-nx-printable-pb70","description":null,"published_at":"2024-06-11T16:21:30+08:00","created_at":"2024-05-03T10:37:06+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":41877161803875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470148026467,"product_id":7407646998627,"position":7,"created_at":"2024-05-03T10:37:24+08:00","updated_at":"2024-05-03T10:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844","variant_ids":[41877161803875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB70","featured_media":{"alt":null,"id":23875050897507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877161902179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470144127075,"product_id":7407646998627,"position":1,"created_at":"2024-05-03T10:37:08+08:00","updated_at":"2024-05-03T10:37:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828","variant_ids":[41877161902179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB70","featured_media":{"alt":null,"id":23875047030883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877162328163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470147502179,"product_id":7407646998627,"position":6,"created_at":"2024-05-03T10:37:21+08:00","updated_at":"2024-05-03T10:37:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841","variant_ids":[41877162328163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB70","featured_media":{"alt":null,"id":23875050405987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54df8125a688648ab088426aa3f691450f380c0c_66c95de9-fe0c-4299-ae84-1fa73a4a70c5.webp?v=1714703831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1b44eb8170c822246f1144977ee5c9a584e901_fa39a37d-7284-43f1-9a0b-0c273d92e970.webp?v=1714703834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4539f8fd1319a711d2882ce94f04ae7ca7ed58_dd138c65-6c49-4753-acef-aa6fa127b48d.webp?v=1714703836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff88ec00140fb12cf7eae3260e390f6a71f37cb7_3fe583a0-d122-466e-8803-dea89d8cb21e.webp?v=1714703839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fee252e5abab4e3dec3ed34d49c69a506928d4c8_98899179-00d8-41bf-9b68-3c75c8b0066d.webp?v=1714703846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bfb0eb9e39ba3e800b9c0bcd1ec59bb7e24e4ce_7a8477a8-0b5b-4f3d-ad25-f288ea2cc947.webp?v=1714703849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f4f52d354e09723f657ef8e311654396e5a17c_b0a20fd6-befe-48c0-9600-af3d4bbb749d.webp?v=1714703851"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828","options":["color"],"media":[{"alt":null,"id":23875047030883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828","width":2000},{"alt":null,"id":23875047587939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54df8125a688648ab088426aa3f691450f380c0c_66c95de9-fe0c-4299-ae84-1fa73a4a70c5.webp?v=1714703831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54df8125a688648ab088426aa3f691450f380c0c_66c95de9-fe0c-4299-ae84-1fa73a4a70c5.webp?v=1714703831","width":2000},{"alt":null,"id":23875048439907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1b44eb8170c822246f1144977ee5c9a584e901_fa39a37d-7284-43f1-9a0b-0c273d92e970.webp?v=1714703834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f1b44eb8170c822246f1144977ee5c9a584e901_fa39a37d-7284-43f1-9a0b-0c273d92e970.webp?v=1714703834","width":2000},{"alt":null,"id":23875048833123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4539f8fd1319a711d2882ce94f04ae7ca7ed58_dd138c65-6c49-4753-acef-aa6fa127b48d.webp?v=1714703836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb4539f8fd1319a711d2882ce94f04ae7ca7ed58_dd138c65-6c49-4753-acef-aa6fa127b48d.webp?v=1714703836","width":2000},{"alt":null,"id":23875049488483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff88ec00140fb12cf7eae3260e390f6a71f37cb7_3fe583a0-d122-466e-8803-dea89d8cb21e.webp?v=1714703839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff88ec00140fb12cf7eae3260e390f6a71f37cb7_3fe583a0-d122-466e-8803-dea89d8cb21e.webp?v=1714703839","width":2000},{"alt":null,"id":23875050405987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841","width":2000},{"alt":null,"id":23875050897507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844","width":2000},{"alt":null,"id":23875051880547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fee252e5abab4e3dec3ed34d49c69a506928d4c8_98899179-00d8-41bf-9b68-3c75c8b0066d.webp?v=1714703846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fee252e5abab4e3dec3ed34d49c69a506928d4c8_98899179-00d8-41bf-9b68-3c75c8b0066d.webp?v=1714703846","width":2000},{"alt":null,"id":23875053453411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bfb0eb9e39ba3e800b9c0bcd1ec59bb7e24e4ce_7a8477a8-0b5b-4f3d-ad25-f288ea2cc947.webp?v=1714703849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bfb0eb9e39ba3e800b9c0bcd1ec59bb7e24e4ce_7a8477a8-0b5b-4f3d-ad25-f288ea2cc947.webp?v=1714703849","width":2000},{"alt":null,"id":23875054436451,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f4f52d354e09723f657ef8e311654396e5a17c_b0a20fd6-befe-48c0-9600-af3d4bbb749d.webp?v=1714703851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f4f52d354e09723f657ef8e311654396e5a17c_b0a20fd6-befe-48c0-9600-af3d4bbb749d.webp?v=1714703851","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41877161803875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470148026467,"product_id":7407646998627,"position":7,"created_at":"2024-05-03T10:37:24+08:00","updated_at":"2024-05-03T10:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844","variant_ids":[41877161803875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB70","featured_media":{"alt":null,"id":23875050897507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877161902179,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470144127075,"product_id":7407646998627,"position":1,"created_at":"2024-05-03T10:37:08+08:00","updated_at":"2024-05-03T10:37:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828","variant_ids":[41877161902179]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB70","featured_media":{"alt":null,"id":23875047030883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16b0a4b3cb81136dbb9ef209c8fff83fb3de4894_9fab22de-a4dd-4a2b-917f-03186bc9151c.webp?v=1714703828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877162328163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470147502179,"product_id":7407646998627,"position":6,"created_at":"2024-05-03T10:37:21+08:00","updated_at":"2024-05-03T10:37:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841","variant_ids":[41877162328163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB70","featured_media":{"alt":null,"id":23875050405987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c497bca58b9ae7643218418fd2814e67e3a7a544_c6dc0683-076c-436a-a891-37217424ffde.webp?v=1714703841"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877161803875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB70","requires_shipping":true,"taxable":true,"featured_image":{"id":31470148026467,"product_id":7407646998627,"position":7,"created_at":"2024-05-03T10:37:24+08:00","updated_at":"2024-05-03T10:37:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844","variant_ids":[41877161803875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB70","featured_media":{"alt":null,"id":23875050897507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93bf019a7404d730047b9bfbcad4ad750ad6d442_5c57a009-b01d-4e86-a2a6-a93b04337055.webp?v=1714703844"}},"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: "停產" }