$product = {"id":7414179168355,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝","handle":"iphone-13-mini-mod-nx-magsafe-printable-yf04","description":null,"published_at":"2024-06-11T17:49:39+08:00","created_at":"2024-05-05T14:14:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-stitch","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":41904636788835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484842967139,"product_id":7414179168355,"position":2,"created_at":"2024-05-05T14:14:35+08:00","updated_at":"2024-05-05T14:14:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675","variant_ids":[41904636788835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB0122824-YF04","featured_media":{"alt":null,"id":23890140659811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904636919907,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484846506083,"product_id":7414179168355,"position":4,"created_at":"2024-05-05T14:14:39+08:00","updated_at":"2024-05-05T14:14:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680","variant_ids":[41904636919907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB0122804-YF04","featured_media":{"alt":null,"id":23890144591971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904637313123,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484848275555,"product_id":7414179168355,"position":5,"created_at":"2024-05-05T14:14:42+08:00","updated_at":"2024-05-05T14:14:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682","variant_ids":[41904637313123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB01228J5-YF04","featured_media":{"alt":null,"id":23890146754659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7733afdc6d6ddf004e07816c455e09daee0ec25_e66ac431-8cd2-4c14-8cc9-a275ac4b422a.webp?v=1714889672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ea1da2730ab43177d2ebcce5689386ec169ff7_87a84df5-9827-4685-8162-62e5087c1a94.webp?v=1714889677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9428bde935e377a3f0ebfefc8ccce82bedd5aeb_fdf089cf-4827-4100-96ed-1ffe346dcb2e.webp?v=1714889684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb06d567ac94e0182057164ccb09d5afe30a767_18a031d6-b884-44da-b4bb-06c367317a17.webp?v=1714889686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa26b898277a877c51b126255bf8a763a5cbf178_31037b8c-f539-4a70-857e-df57ca451bbd.webp?v=1714889689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/081d691c98137511f8c19727e801a670ed6a6349_09e63e28-32b7-4e77-a3e8-d15fa0967d42.webp?v=1714889691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd2c2cd12974d2d819f645129dbd3bd1154d57e7_44bea312-3dcf-4d0d-bbbb-a661186531fd.webp?v=1714889694"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7733afdc6d6ddf004e07816c455e09daee0ec25_e66ac431-8cd2-4c14-8cc9-a275ac4b422a.webp?v=1714889672","options":["color"],"media":[{"alt":null,"id":23890138398819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7733afdc6d6ddf004e07816c455e09daee0ec25_e66ac431-8cd2-4c14-8cc9-a275ac4b422a.webp?v=1714889672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7733afdc6d6ddf004e07816c455e09daee0ec25_e66ac431-8cd2-4c14-8cc9-a275ac4b422a.webp?v=1714889672","width":2000},{"alt":null,"id":23890140659811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675","width":2000},{"alt":null,"id":23890142756963,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ea1da2730ab43177d2ebcce5689386ec169ff7_87a84df5-9827-4685-8162-62e5087c1a94.webp?v=1714889677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ea1da2730ab43177d2ebcce5689386ec169ff7_87a84df5-9827-4685-8162-62e5087c1a94.webp?v=1714889677","width":2000},{"alt":null,"id":23890144591971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680","width":2000},{"alt":null,"id":23890146754659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682","width":2000},{"alt":null,"id":23890149081187,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9428bde935e377a3f0ebfefc8ccce82bedd5aeb_fdf089cf-4827-4100-96ed-1ffe346dcb2e.webp?v=1714889684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9428bde935e377a3f0ebfefc8ccce82bedd5aeb_fdf089cf-4827-4100-96ed-1ffe346dcb2e.webp?v=1714889684","width":2000},{"alt":null,"id":23890151637091,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb06d567ac94e0182057164ccb09d5afe30a767_18a031d6-b884-44da-b4bb-06c367317a17.webp?v=1714889686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb06d567ac94e0182057164ccb09d5afe30a767_18a031d6-b884-44da-b4bb-06c367317a17.webp?v=1714889686","width":2000},{"alt":null,"id":23890154094691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa26b898277a877c51b126255bf8a763a5cbf178_31037b8c-f539-4a70-857e-df57ca451bbd.webp?v=1714889689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa26b898277a877c51b126255bf8a763a5cbf178_31037b8c-f539-4a70-857e-df57ca451bbd.webp?v=1714889689","width":2000},{"alt":null,"id":23890156224611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/081d691c98137511f8c19727e801a670ed6a6349_09e63e28-32b7-4e77-a3e8-d15fa0967d42.webp?v=1714889691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/081d691c98137511f8c19727e801a670ed6a6349_09e63e28-32b7-4e77-a3e8-d15fa0967d42.webp?v=1714889691","width":2000},{"alt":null,"id":23890158387299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd2c2cd12974d2d819f645129dbd3bd1154d57e7_44bea312-3dcf-4d0d-bbbb-a661186531fd.webp?v=1714889694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd2c2cd12974d2d819f645129dbd3bd1154d57e7_44bea312-3dcf-4d0d-bbbb-a661186531fd.webp?v=1714889694","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41904636788835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484842967139,"product_id":7414179168355,"position":2,"created_at":"2024-05-05T14:14:35+08:00","updated_at":"2024-05-05T14:14:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675","variant_ids":[41904636788835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB0122824-YF04","featured_media":{"alt":null,"id":23890140659811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904636919907,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484846506083,"product_id":7414179168355,"position":4,"created_at":"2024-05-05T14:14:39+08:00","updated_at":"2024-05-05T14:14:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680","variant_ids":[41904636919907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB0122804-YF04","featured_media":{"alt":null,"id":23890144591971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/985f425003804375a21cdeb33d33ef50cf000edf_837043ff-b209-4a2f-b4a3-89381f01a56c.webp?v=1714889680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904637313123,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484848275555,"product_id":7414179168355,"position":5,"created_at":"2024-05-05T14:14:42+08:00","updated_at":"2024-05-05T14:14:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682","variant_ids":[41904637313123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB01228J5-YF04","featured_media":{"alt":null,"id":23890146754659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1689886eab5bc595bc7a7d7988f5d4b6abcc2ac_1e26fd67-c980-41d3-9a3b-2a01ba4abbf1.webp?v=1714889682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41904636788835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31484842967139,"product_id":7414179168355,"position":2,"created_at":"2024-05-05T14:14:35+08:00","updated_at":"2024-05-05T14:14:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675","variant_ids":[41904636788835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"MPB0122824-YF04","featured_media":{"alt":null,"id":23890140659811,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bf8b198f2e8b7a73f650e100f2aaf89152fd6c_ef9a8985-f1f6-4e25-9f33-db32c7a8d9c7.webp?v=1714889675"}},"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: "停產" }