$product = {"id":7411270811747,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb71","description":null,"published_at":"2024-06-11T17:40:26+08:00","created_at":"2024-05-04T23:57:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41896781447267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480012013667,"product_id":7411270811747,"position":5,"created_at":"2024-05-04T23:57:47+08:00","updated_at":"2024-05-04T23:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267","variant_ids":[41896781447267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB71","featured_media":{"alt":null,"id":23885262553187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896781512803,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480010080355,"product_id":7411270811747,"position":2,"created_at":"2024-05-04T23:57:40+08:00","updated_at":"2024-05-04T23:57:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260","variant_ids":[41896781512803]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB71","featured_media":{"alt":null,"id":23885260783715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896781742179,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480013455459,"product_id":7411270811747,"position":8,"created_at":"2024-05-04T23:57:53+08:00","updated_at":"2024-05-04T23:57:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273","variant_ids":[41896781742179]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB71","featured_media":{"alt":null,"id":23885263994979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5a48e268c5f48ef6663497a02ba4e64f7313d8_c9c2197a-0c8f-4b18-913c-35467a1a61f4.webp?v=1714838257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a0c5f8682892690e7a98c3d34c32608bef48ef9_6ad906ff-7428-4512-bea5-2517de924528.webp?v=1714838262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601edc35380776bb38d98b9694c106fd8de624b7_d56d9067-b070-4222-ae99-cb30f4d54c24.webp?v=1714838264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b0733c5c5e79383d5124e926b224ec0a18043f_f221070b-39b9-4ee9-a533-ed7133ade2cb.webp?v=1714838269","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c04682b56019b82ca846e3a6e81f59eb2585f9_4a1b0b3c-c4c7-486c-a22d-8f0a6702e38a.webp?v=1714838271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00395666cdaded03471140e16b56edbd9fe5aff_78aaf7c7-4f85-437b-9db0-ac20d20125fb.webp?v=1714838275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73916ce40d526130cfa7b220648562699420a5f3_fd26eef3-2da8-47e3-8535-ea0dc9769b51.webp?v=1714838278"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5a48e268c5f48ef6663497a02ba4e64f7313d8_c9c2197a-0c8f-4b18-913c-35467a1a61f4.webp?v=1714838257","options":["color"],"media":[{"alt":null,"id":23885260226659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5a48e268c5f48ef6663497a02ba4e64f7313d8_c9c2197a-0c8f-4b18-913c-35467a1a61f4.webp?v=1714838257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5a48e268c5f48ef6663497a02ba4e64f7313d8_c9c2197a-0c8f-4b18-913c-35467a1a61f4.webp?v=1714838257","width":2000},{"alt":null,"id":23885260783715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260","width":2000},{"alt":null,"id":23885261144163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a0c5f8682892690e7a98c3d34c32608bef48ef9_6ad906ff-7428-4512-bea5-2517de924528.webp?v=1714838262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a0c5f8682892690e7a98c3d34c32608bef48ef9_6ad906ff-7428-4512-bea5-2517de924528.webp?v=1714838262","width":2000},{"alt":null,"id":23885261930595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601edc35380776bb38d98b9694c106fd8de624b7_d56d9067-b070-4222-ae99-cb30f4d54c24.webp?v=1714838264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601edc35380776bb38d98b9694c106fd8de624b7_d56d9067-b070-4222-ae99-cb30f4d54c24.webp?v=1714838264","width":2000},{"alt":null,"id":23885262553187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267","width":2000},{"alt":null,"id":23885263143011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b0733c5c5e79383d5124e926b224ec0a18043f_f221070b-39b9-4ee9-a533-ed7133ade2cb.webp?v=1714838269"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b0733c5c5e79383d5124e926b224ec0a18043f_f221070b-39b9-4ee9-a533-ed7133ade2cb.webp?v=1714838269","width":2000},{"alt":null,"id":23885263503459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c04682b56019b82ca846e3a6e81f59eb2585f9_4a1b0b3c-c4c7-486c-a22d-8f0a6702e38a.webp?v=1714838271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4c04682b56019b82ca846e3a6e81f59eb2585f9_4a1b0b3c-c4c7-486c-a22d-8f0a6702e38a.webp?v=1714838271","width":2000},{"alt":null,"id":23885263994979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273","width":2000},{"alt":null,"id":23885264388195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00395666cdaded03471140e16b56edbd9fe5aff_78aaf7c7-4f85-437b-9db0-ac20d20125fb.webp?v=1714838275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a00395666cdaded03471140e16b56edbd9fe5aff_78aaf7c7-4f85-437b-9db0-ac20d20125fb.webp?v=1714838275","width":2000},{"alt":null,"id":23885264846947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73916ce40d526130cfa7b220648562699420a5f3_fd26eef3-2da8-47e3-8535-ea0dc9769b51.webp?v=1714838278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73916ce40d526130cfa7b220648562699420a5f3_fd26eef3-2da8-47e3-8535-ea0dc9769b51.webp?v=1714838278","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896781447267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480012013667,"product_id":7411270811747,"position":5,"created_at":"2024-05-04T23:57:47+08:00","updated_at":"2024-05-04T23:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267","variant_ids":[41896781447267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB71","featured_media":{"alt":null,"id":23885262553187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896781512803,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480010080355,"product_id":7411270811747,"position":2,"created_at":"2024-05-04T23:57:40+08:00","updated_at":"2024-05-04T23:57:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260","variant_ids":[41896781512803]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB71","featured_media":{"alt":null,"id":23885260783715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84c5c1c18d5269323e31caaa5c93932116a0928e_4ad5a4e5-ec75-418b-b0d1-f62c4e01f742.webp?v=1714838260"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896781742179,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480013455459,"product_id":7411270811747,"position":8,"created_at":"2024-05-04T23:57:53+08:00","updated_at":"2024-05-04T23:57:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273","variant_ids":[41896781742179]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB71","featured_media":{"alt":null,"id":23885263994979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f234632ac460295265e2d98db516d4d10ca72b52_1e68e3ce-b8db-4716-9481-6b475a8b2a8d.webp?v=1714838273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896781447267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB71","requires_shipping":true,"taxable":true,"featured_image":{"id":31480012013667,"product_id":7411270811747,"position":5,"created_at":"2024-05-04T23:57:47+08:00","updated_at":"2024-05-04T23:57:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267","variant_ids":[41896781447267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 絕地武士-光劍系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB71","featured_media":{"alt":null,"id":23885262553187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/841cbd4c3fa4622509650afc760814b3cf9167b3_7cdccc96-e300-4a7e-b138-912d92cb713a.webp?v=1714838267"}},"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: "停產" }