$product = {"id":7407852978275,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星際大戰徽章-潮流系列","handle":"iphone-14-pro-mod-nx-printable-pb50","description":null,"published_at":"2024-06-11T16:24:39+08:00","created_at":"2024-05-03T11:02:44+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":41879648174179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470528954467,"product_id":7407852978275,"position":3,"created_at":"2024-05-03T11:02:52+08:00","updated_at":"2024-05-03T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372","variant_ids":[41879648174179]},"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-PB50","featured_media":{"alt":null,"id":23875432710243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879648239715,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527217763,"product_id":7407852978275,"position":2,"created_at":"2024-05-03T11:02:49+08:00","updated_at":"2024-05-03T11:02:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369","variant_ids":[41879648239715]},"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-PB50","featured_media":{"alt":null,"id":23875430973539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879648469091,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470525939811,"product_id":7407852978275,"position":1,"created_at":"2024-05-03T11:02:47+08:00","updated_at":"2024-05-03T11:02:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367","variant_ids":[41879648469091]},"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-PB50","featured_media":{"alt":null,"id":23875429695587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6b215e3414b3d2a09f2441849a9e15abbbb641_6d1a4f19-f6db-4368-9f3f-cf06ac25177b.webp?v=1714705374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67cb4c33663d30a8498ff76dc6676e4bea7138d5_50e11494-0c4b-436f-bfe4-e526d72906fc.webp?v=1714705376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1763fb0ba8fd5017f44a3e5fe9a0732441ab7ae8_cdf8cb01-3c2c-4ee3-b465-d1420513003d.webp?v=1714705379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7f7aa716c4712d338a13652f0a74b0a160c69e6_a541440b-c27e-4c5f-9fa0-8fe0c97337ca.webp?v=1714705381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758d82d9663843d18f0429e0e277786f7b92c548_1d3ba0e9-58f8-44c6-bab9-581af7ce4ba5.webp?v=1714705383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf8f6655e08d4e9ab0a12f7fc3335f3bbee90c7_39d7f309-1520-43cf-b7ca-ff9278bc2e1c.webp?v=1714705386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bd1aafcce08bf5ddf954a86d984776f510b5bd_6f96a8e7-87f5-486d-a2c0-94b712422e08.webp?v=1714705389"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367","options":["color"],"media":[{"alt":null,"id":23875429695587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367","width":2000},{"alt":null,"id":23875430973539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369","width":2000},{"alt":null,"id":23875432710243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372","width":2000},{"alt":null,"id":23875433496675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6b215e3414b3d2a09f2441849a9e15abbbb641_6d1a4f19-f6db-4368-9f3f-cf06ac25177b.webp?v=1714705374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a6b215e3414b3d2a09f2441849a9e15abbbb641_6d1a4f19-f6db-4368-9f3f-cf06ac25177b.webp?v=1714705374","width":2000},{"alt":null,"id":23875434381411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67cb4c33663d30a8498ff76dc6676e4bea7138d5_50e11494-0c4b-436f-bfe4-e526d72906fc.webp?v=1714705376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67cb4c33663d30a8498ff76dc6676e4bea7138d5_50e11494-0c4b-436f-bfe4-e526d72906fc.webp?v=1714705376","width":2000},{"alt":null,"id":23875434905699,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1763fb0ba8fd5017f44a3e5fe9a0732441ab7ae8_cdf8cb01-3c2c-4ee3-b465-d1420513003d.webp?v=1714705379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1763fb0ba8fd5017f44a3e5fe9a0732441ab7ae8_cdf8cb01-3c2c-4ee3-b465-d1420513003d.webp?v=1714705379","width":2000},{"alt":null,"id":23875435266147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7f7aa716c4712d338a13652f0a74b0a160c69e6_a541440b-c27e-4c5f-9fa0-8fe0c97337ca.webp?v=1714705381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7f7aa716c4712d338a13652f0a74b0a160c69e6_a541440b-c27e-4c5f-9fa0-8fe0c97337ca.webp?v=1714705381","width":2000},{"alt":null,"id":23875438346339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758d82d9663843d18f0429e0e277786f7b92c548_1d3ba0e9-58f8-44c6-bab9-581af7ce4ba5.webp?v=1714705383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/758d82d9663843d18f0429e0e277786f7b92c548_1d3ba0e9-58f8-44c6-bab9-581af7ce4ba5.webp?v=1714705383","width":2000},{"alt":null,"id":23875439231075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf8f6655e08d4e9ab0a12f7fc3335f3bbee90c7_39d7f309-1520-43cf-b7ca-ff9278bc2e1c.webp?v=1714705386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bf8f6655e08d4e9ab0a12f7fc3335f3bbee90c7_39d7f309-1520-43cf-b7ca-ff9278bc2e1c.webp?v=1714705386","width":2000},{"alt":null,"id":23875439919203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bd1aafcce08bf5ddf954a86d984776f510b5bd_6f96a8e7-87f5-486d-a2c0-94b712422e08.webp?v=1714705389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3bd1aafcce08bf5ddf954a86d984776f510b5bd_6f96a8e7-87f5-486d-a2c0-94b712422e08.webp?v=1714705389","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879648174179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470528954467,"product_id":7407852978275,"position":3,"created_at":"2024-05-03T11:02:52+08:00","updated_at":"2024-05-03T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372","variant_ids":[41879648174179]},"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-PB50","featured_media":{"alt":null,"id":23875432710243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879648239715,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470527217763,"product_id":7407852978275,"position":2,"created_at":"2024-05-03T11:02:49+08:00","updated_at":"2024-05-03T11:02:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369","variant_ids":[41879648239715]},"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-PB50","featured_media":{"alt":null,"id":23875430973539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047911b7237e6df7ffe2702e3e9a27fe75f7943e_b018d256-0f45-4ec5-84bb-cd11ef9eca8b.webp?v=1714705369"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879648469091,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470525939811,"product_id":7407852978275,"position":1,"created_at":"2024-05-03T11:02:47+08:00","updated_at":"2024-05-03T11:02:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367","variant_ids":[41879648469091]},"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-PB50","featured_media":{"alt":null,"id":23875429695587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83c963493637f310a20ebec806df5e74751d9615_9bd097a3-bff3-4db7-8dca-7ad3b7b558dd.webp?v=1714705367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879648174179,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31470528954467,"product_id":7407852978275,"position":3,"created_at":"2024-05-03T11:02:52+08:00","updated_at":"2024-05-03T11:02:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372","variant_ids":[41879648174179]},"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-PB50","featured_media":{"alt":null,"id":23875432710243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0b15599c23b86b71e8cf4c1a26c53231f6edaab_85f69167-6dbb-4965-9a48-fd666cded4cc.webp?v=1714705372"}},"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: "停產" }