$product = {"id":7411449725027,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb46","description":null,"published_at":"2024-06-11T17:45:20+08:00","created_at":"2024-05-05T00:32:06+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":41899040473187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480455135331,"product_id":7411449725027,"position":5,"created_at":"2024-05-05T00:32:17+08:00","updated_at":"2024-05-05T00:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337","variant_ids":[41899040473187]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885706854499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899040604259,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480455659619,"product_id":7411449725027,"position":6,"created_at":"2024-05-05T00:32:19+08:00","updated_at":"2024-05-05T00:32:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339","variant_ids":[41899040604259]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885707411555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899041063011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480456511587,"product_id":7411449725027,"position":8,"created_at":"2024-05-05T00:32:24+08:00","updated_at":"2024-05-05T00:32:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344","variant_ids":[41899041063011]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885708263523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c96a5730e0ac4f066c9728d035114ea46f548fc_2a7a8003-2abd-4d5c-8cb1-5c099e1e836c.webp?v=1714840328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ec5b87d796cb4f2bb98d462d7c6070f32524b8_37cc9ad1-099b-4e27-a242-51789ab78c94.webp?v=1714840330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ca51698912d9ea4abcf003023c85fd51da289f_733fc22a-b01f-4276-822f-0047dd2799d8.webp?v=1714840332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb35318489af23b799ec383733baf79b785eaf4f_917647d9-046f-409c-9160-c78fef554daa.webp?v=1714840335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b07050b937fe94f7821b42ac802655c188fd34f_aeee2f9c-5f86-4d84-8800-52f131415420.webp?v=1714840341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0a40d8cf3769f6738bc2966f474a96b9a43dc24_678606a1-e164-4438-98c4-a317217b3c89.webp?v=1714840346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b29203153501ed05e9b84134029a1491e23956_cebafeed-4872-4fd9-8707-216737f62ec1.webp?v=1714840348"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c96a5730e0ac4f066c9728d035114ea46f548fc_2a7a8003-2abd-4d5c-8cb1-5c099e1e836c.webp?v=1714840328","options":["color"],"media":[{"alt":null,"id":23885705019491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c96a5730e0ac4f066c9728d035114ea46f548fc_2a7a8003-2abd-4d5c-8cb1-5c099e1e836c.webp?v=1714840328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c96a5730e0ac4f066c9728d035114ea46f548fc_2a7a8003-2abd-4d5c-8cb1-5c099e1e836c.webp?v=1714840328","width":2000},{"alt":null,"id":23885705576547,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ec5b87d796cb4f2bb98d462d7c6070f32524b8_37cc9ad1-099b-4e27-a242-51789ab78c94.webp?v=1714840330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ec5b87d796cb4f2bb98d462d7c6070f32524b8_37cc9ad1-099b-4e27-a242-51789ab78c94.webp?v=1714840330","width":2000},{"alt":null,"id":23885705936995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ca51698912d9ea4abcf003023c85fd51da289f_733fc22a-b01f-4276-822f-0047dd2799d8.webp?v=1714840332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ca51698912d9ea4abcf003023c85fd51da289f_733fc22a-b01f-4276-822f-0047dd2799d8.webp?v=1714840332","width":2000},{"alt":null,"id":23885706362979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb35318489af23b799ec383733baf79b785eaf4f_917647d9-046f-409c-9160-c78fef554daa.webp?v=1714840335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb35318489af23b799ec383733baf79b785eaf4f_917647d9-046f-409c-9160-c78fef554daa.webp?v=1714840335","width":2000},{"alt":null,"id":23885706854499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337","width":2000},{"alt":null,"id":23885707411555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339","width":2000},{"alt":null,"id":23885707804771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b07050b937fe94f7821b42ac802655c188fd34f_aeee2f9c-5f86-4d84-8800-52f131415420.webp?v=1714840341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b07050b937fe94f7821b42ac802655c188fd34f_aeee2f9c-5f86-4d84-8800-52f131415420.webp?v=1714840341","width":2000},{"alt":null,"id":23885708263523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344","width":2000},{"alt":null,"id":23885708722275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0a40d8cf3769f6738bc2966f474a96b9a43dc24_678606a1-e164-4438-98c4-a317217b3c89.webp?v=1714840346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0a40d8cf3769f6738bc2966f474a96b9a43dc24_678606a1-e164-4438-98c4-a317217b3c89.webp?v=1714840346","width":2000},{"alt":null,"id":23885709279331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b29203153501ed05e9b84134029a1491e23956_cebafeed-4872-4fd9-8707-216737f62ec1.webp?v=1714840348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36b29203153501ed05e9b84134029a1491e23956_cebafeed-4872-4fd9-8707-216737f62ec1.webp?v=1714840348","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41899040473187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480455135331,"product_id":7411449725027,"position":5,"created_at":"2024-05-05T00:32:17+08:00","updated_at":"2024-05-05T00:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337","variant_ids":[41899040473187]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885706854499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899040604259,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480455659619,"product_id":7411449725027,"position":6,"created_at":"2024-05-05T00:32:19+08:00","updated_at":"2024-05-05T00:32:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339","variant_ids":[41899040604259]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885707411555,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c93828750435a9f97bddb8d0772bc8b4df089d96_b26b20e5-7ced-4ecc-8685-bcbca6ef6bf8.webp?v=1714840339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41899041063011,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480456511587,"product_id":7411449725027,"position":8,"created_at":"2024-05-05T00:32:24+08:00","updated_at":"2024-05-05T00:32:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344","variant_ids":[41899041063011]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885708263523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5e566729b2f9c851597ae83eef873c972b13c45_29a937ae-1cec-4120-87a8-91b303000211.webp?v=1714840344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41899040473187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB46","requires_shipping":true,"taxable":true,"featured_image":{"id":31480455135331,"product_id":7411449725027,"position":5,"created_at":"2024-05-05T00:32:17+08:00","updated_at":"2024-05-05T00:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337","variant_ids":[41899040473187]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - JEDI ORDER徽章1-潮流系列 - 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-PB46","featured_media":{"alt":null,"id":23885706854499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e43c79de8aac3a8321c8fa9b48f33e9446ee50_73fc4596-23e1-4fc4-a43f-963da80bb018.webp?v=1714840337"}},"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: "停產" }