$product = {"id":7411400245347,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear","handle":"iphone-14-pro-mod-nx-magsafe-printable-yb03","description":null,"published_at":"2024-06-11T17:43:57+08:00","created_at":"2024-05-05T00:22:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","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":41898412474467,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480336580707,"product_id":7411400245347,"position":10,"created_at":"2024-05-05T00:22:55+08:00","updated_at":"2024-05-05T00:22:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775","variant_ids":[41898412474467]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB0126224-YB03","featured_media":{"alt":null,"id":23885588234339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898412605539,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480334385251,"product_id":7411400245347,"position":6,"created_at":"2024-05-05T00:22:45+08:00","updated_at":"2024-05-05T00:22:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765","variant_ids":[41898412605539]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB0126204-YB03","featured_media":{"alt":null,"id":23885586038883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898412834915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480333303907,"product_id":7411400245347,"position":4,"created_at":"2024-05-05T00:22:40+08:00","updated_at":"2024-05-05T00:22:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760","variant_ids":[41898412834915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB01262J5-YB03","featured_media":{"alt":null,"id":23885584892003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24553d5000b5fa2ea5cdd245b9bed1ee26777e1_a283fcfe-1d2f-479a-9e0f-fb5704bd8ed8.webp?v=1714839754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890dc0c556b3aeda082ff75cb90c0c6ff10e1875_c484c3a3-3f49-494b-9d7f-ae194f798dad.webp?v=1714839756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad85da089d04141796f7faf6a305c6d0da50cb_08d8981e-ee3a-49ff-8542-9abe5ab27bbf.webp?v=1714839758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693802789d7b73e91525d7b0adee6d1d3da8d8e0_1fd9b554-05c2-470f-9527-8a162636e1e6.webp?v=1714839763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f32f5c1a447de9a12471e5b9bfdd5143bafb2788_1bfa2161-5fd4-4fe0-b7ee-e83f23bd16eb.webp?v=1714839767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268a79a79f2da823fae7e1c3a1a830ad291c6550_2e879fa1-a113-4684-afd2-8ec7fd64d5bc.webp?v=1714839770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/591ca774612fcbe893cd3036565e50abf9129d05_7d0a3881-4005-4145-84bf-a54550b9e736.webp?v=1714839772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24553d5000b5fa2ea5cdd245b9bed1ee26777e1_a283fcfe-1d2f-479a-9e0f-fb5704bd8ed8.webp?v=1714839754","options":["color"],"media":[{"alt":null,"id":23885583450211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24553d5000b5fa2ea5cdd245b9bed1ee26777e1_a283fcfe-1d2f-479a-9e0f-fb5704bd8ed8.webp?v=1714839754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e24553d5000b5fa2ea5cdd245b9bed1ee26777e1_a283fcfe-1d2f-479a-9e0f-fb5704bd8ed8.webp?v=1714839754","width":2000},{"alt":null,"id":23885583810659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890dc0c556b3aeda082ff75cb90c0c6ff10e1875_c484c3a3-3f49-494b-9d7f-ae194f798dad.webp?v=1714839756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/890dc0c556b3aeda082ff75cb90c0c6ff10e1875_c484c3a3-3f49-494b-9d7f-ae194f798dad.webp?v=1714839756","width":2000},{"alt":null,"id":23885584433251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad85da089d04141796f7faf6a305c6d0da50cb_08d8981e-ee3a-49ff-8542-9abe5ab27bbf.webp?v=1714839758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad85da089d04141796f7faf6a305c6d0da50cb_08d8981e-ee3a-49ff-8542-9abe5ab27bbf.webp?v=1714839758","width":2000},{"alt":null,"id":23885584892003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760","width":2000},{"alt":null,"id":23885585416291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693802789d7b73e91525d7b0adee6d1d3da8d8e0_1fd9b554-05c2-470f-9527-8a162636e1e6.webp?v=1714839763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693802789d7b73e91525d7b0adee6d1d3da8d8e0_1fd9b554-05c2-470f-9527-8a162636e1e6.webp?v=1714839763","width":2000},{"alt":null,"id":23885586038883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765","width":2000},{"alt":null,"id":23885586497635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f32f5c1a447de9a12471e5b9bfdd5143bafb2788_1bfa2161-5fd4-4fe0-b7ee-e83f23bd16eb.webp?v=1714839767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f32f5c1a447de9a12471e5b9bfdd5143bafb2788_1bfa2161-5fd4-4fe0-b7ee-e83f23bd16eb.webp?v=1714839767","width":2000},{"alt":null,"id":23885587152995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268a79a79f2da823fae7e1c3a1a830ad291c6550_2e879fa1-a113-4684-afd2-8ec7fd64d5bc.webp?v=1714839770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/268a79a79f2da823fae7e1c3a1a830ad291c6550_2e879fa1-a113-4684-afd2-8ec7fd64d5bc.webp?v=1714839770","width":2000},{"alt":null,"id":23885587513443,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/591ca774612fcbe893cd3036565e50abf9129d05_7d0a3881-4005-4145-84bf-a54550b9e736.webp?v=1714839772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/591ca774612fcbe893cd3036565e50abf9129d05_7d0a3881-4005-4145-84bf-a54550b9e736.webp?v=1714839772","width":2000},{"alt":null,"id":23885588234339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898412474467,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480336580707,"product_id":7411400245347,"position":10,"created_at":"2024-05-05T00:22:55+08:00","updated_at":"2024-05-05T00:22:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775","variant_ids":[41898412474467]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB0126224-YB03","featured_media":{"alt":null,"id":23885588234339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898412605539,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480334385251,"product_id":7411400245347,"position":6,"created_at":"2024-05-05T00:22:45+08:00","updated_at":"2024-05-05T00:22:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765","variant_ids":[41898412605539]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB0126204-YB03","featured_media":{"alt":null,"id":23885586038883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ceffb34f6289324dd0f3bd6ef9d747c7b2c1a6bf_813f67f8-933a-4f3c-8550-54b5c40c3677.webp?v=1714839765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898412834915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480333303907,"product_id":7411400245347,"position":4,"created_at":"2024-05-05T00:22:40+08:00","updated_at":"2024-05-05T00:22:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760","variant_ids":[41898412834915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB01262J5-YB03","featured_media":{"alt":null,"id":23885584892003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2869b31a9d0d2c95638889c7c1e07e20f22e239c_d2a1ff3f-cf8f-4ef0-acde-d9e4edb48f1a.webp?v=1714839760"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898412474467,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-YB03","requires_shipping":true,"taxable":true,"featured_image":{"id":31480336580707,"product_id":7411400245347,"position":10,"created_at":"2024-05-05T00:22:55+08:00","updated_at":"2024-05-05T00:22:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775","variant_ids":[41898412474467]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Care Bears - Cheer Bear - 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":"MPB0126224-YB03","featured_media":{"alt":null,"id":23885588234339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8514ddadca5840c276257bc56ce34877dc6bc2e4_732e4ba7-e2fa-4b67-a350-53f0db9103a6.webp?v=1714839775"}},"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: "停產" }