$product = {"id":7407813066851,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-經典","handle":"iphone-14-pro-mod-nx-printable-pb22","description":null,"published_at":"2024-06-11T16:23:32+08:00","created_at":"2024-05-03T10:54:27+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":41879127883875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470428160099,"product_id":7407813066851,"position":2,"created_at":"2024-05-03T10:54:32+08:00","updated_at":"2024-05-03T10:54:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872","variant_ids":[41879127883875]},"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-PB22","featured_media":{"alt":null,"id":23875331457123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879127949411,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470429929571,"product_id":7407813066851,"position":6,"created_at":"2024-05-03T10:54:42+08:00","updated_at":"2024-05-03T10:54:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882","variant_ids":[41879127949411]},"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-PB22","featured_media":{"alt":null,"id":23875333226595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879128178787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470430191715,"product_id":7407813066851,"position":7,"created_at":"2024-05-03T10:54:44+08:00","updated_at":"2024-05-03T10:54:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884","variant_ids":[41879128178787]},"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-PB22","featured_media":{"alt":null,"id":23875333488739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d0c05f2765e2753f56f2b3f03c3b2484bd8e12_d9993dbe-f98e-4a4c-8c2b-c2da13288fbf.webp?v=1714704870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acedb9e1776cdc33b32586b3fe4fa0764b5fcb63_87a199c4-5e0c-437e-873d-5a7c7b12e927.webp?v=1714704874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7346502b86194a9505202dcbc9ddf517e1398c_44cb217b-20c7-42e6-8a00-d37605ee0274.webp?v=1714704877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0e715437c443473754a0d2bdaec9e442b93993_820572ea-8c21-45a3-8d02-5aa195ec98bc.webp?v=1714704879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8a5a72ccda498a240eb06582ec5b5f621241d10_276525a0-ac36-44fd-9b9e-3cec3d1387c4.webp?v=1714704886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da40ce80671cae07070258ac0485b0501ae95096_d60c7d87-f487-4c94-b01e-a1329cc07fe3.webp?v=1714704888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f10cc5c5f5deef87ceae121a4a74b364dd0b04_8ce7f51a-0d67-40fe-a1d7-b503ff1cd000.webp?v=1714704891"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d0c05f2765e2753f56f2b3f03c3b2484bd8e12_d9993dbe-f98e-4a4c-8c2b-c2da13288fbf.webp?v=1714704870","options":["color"],"media":[{"alt":null,"id":23875331162211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d0c05f2765e2753f56f2b3f03c3b2484bd8e12_d9993dbe-f98e-4a4c-8c2b-c2da13288fbf.webp?v=1714704870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d0c05f2765e2753f56f2b3f03c3b2484bd8e12_d9993dbe-f98e-4a4c-8c2b-c2da13288fbf.webp?v=1714704870","width":2000},{"alt":null,"id":23875331457123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872","width":2000},{"alt":null,"id":23875331883107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acedb9e1776cdc33b32586b3fe4fa0764b5fcb63_87a199c4-5e0c-437e-873d-5a7c7b12e927.webp?v=1714704874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acedb9e1776cdc33b32586b3fe4fa0764b5fcb63_87a199c4-5e0c-437e-873d-5a7c7b12e927.webp?v=1714704874","width":2000},{"alt":null,"id":23875332407395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7346502b86194a9505202dcbc9ddf517e1398c_44cb217b-20c7-42e6-8a00-d37605ee0274.webp?v=1714704877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d7346502b86194a9505202dcbc9ddf517e1398c_44cb217b-20c7-42e6-8a00-d37605ee0274.webp?v=1714704877","width":2000},{"alt":null,"id":23875332767843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0e715437c443473754a0d2bdaec9e442b93993_820572ea-8c21-45a3-8d02-5aa195ec98bc.webp?v=1714704879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0e715437c443473754a0d2bdaec9e442b93993_820572ea-8c21-45a3-8d02-5aa195ec98bc.webp?v=1714704879","width":2000},{"alt":null,"id":23875333226595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882","width":2000},{"alt":null,"id":23875333488739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884","width":2000},{"alt":null,"id":23875333849187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8a5a72ccda498a240eb06582ec5b5f621241d10_276525a0-ac36-44fd-9b9e-3cec3d1387c4.webp?v=1714704886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8a5a72ccda498a240eb06582ec5b5f621241d10_276525a0-ac36-44fd-9b9e-3cec3d1387c4.webp?v=1714704886","width":2000},{"alt":null,"id":23875334406243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da40ce80671cae07070258ac0485b0501ae95096_d60c7d87-f487-4c94-b01e-a1329cc07fe3.webp?v=1714704888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da40ce80671cae07070258ac0485b0501ae95096_d60c7d87-f487-4c94-b01e-a1329cc07fe3.webp?v=1714704888","width":2000},{"alt":null,"id":23875334766691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f10cc5c5f5deef87ceae121a4a74b364dd0b04_8ce7f51a-0d67-40fe-a1d7-b503ff1cd000.webp?v=1714704891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51f10cc5c5f5deef87ceae121a4a74b364dd0b04_8ce7f51a-0d67-40fe-a1d7-b503ff1cd000.webp?v=1714704891","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879127883875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470428160099,"product_id":7407813066851,"position":2,"created_at":"2024-05-03T10:54:32+08:00","updated_at":"2024-05-03T10:54:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872","variant_ids":[41879127883875]},"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-PB22","featured_media":{"alt":null,"id":23875331457123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879127949411,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470429929571,"product_id":7407813066851,"position":6,"created_at":"2024-05-03T10:54:42+08:00","updated_at":"2024-05-03T10:54:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882","variant_ids":[41879127949411]},"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-PB22","featured_media":{"alt":null,"id":23875333226595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ec41ec42d4673800badf58bf0a62bede8302f7f_81fc83af-0697-4ee6-9dc6-9eedd5fa0394.webp?v=1714704882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879128178787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470430191715,"product_id":7407813066851,"position":7,"created_at":"2024-05-03T10:54:44+08:00","updated_at":"2024-05-03T10:54:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884","variant_ids":[41879128178787]},"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-PB22","featured_media":{"alt":null,"id":23875333488739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19bd9aa81fb19838bd88f32a7353840b58d7f90f_918fe85f-3bd1-4175-a095-e8ba764658ff.webp?v=1714704884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879127883875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31470428160099,"product_id":7407813066851,"position":2,"created_at":"2024-05-03T10:54:32+08:00","updated_at":"2024-05-03T10:54:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872","variant_ids":[41879127883875]},"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-PB22","featured_media":{"alt":null,"id":23875331457123,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f2a5c2fba440617b9db0b8b7b958467c5a03189_d8db3753-13cf-463c-acdf-44cb5a197a8c.webp?v=1714704872"}},"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: "停產" }