$product = {"id":7408137666659,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號","handle":"iphone-13-mini-mod-nx-printable-pb68","description":null,"published_at":"2024-06-11T16:32:24+08:00","created_at":"2024-05-03T12:07:19+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 13 mini","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":41883100282979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471288156259,"product_id":7408137666659,"position":2,"created_at":"2024-05-03T12:07:24+08:00","updated_at":"2024-05-03T12:07:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244","variant_ids":[41883100282979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB0122824-PB68","featured_media":{"alt":null,"id":23876193943651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883100414051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471291695203,"product_id":7408137666659,"position":7,"created_at":"2024-05-03T12:07:35+08:00","updated_at":"2024-05-03T12:07:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255","variant_ids":[41883100414051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB0122804-PB68","featured_media":{"alt":null,"id":23876197449827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883100643427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471289860195,"product_id":7408137666659,"position":3,"created_at":"2024-05-03T12:07:26+08:00","updated_at":"2024-05-03T12:07:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246","variant_ids":[41883100643427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB01228J5-PB68","featured_media":{"alt":null,"id":23876195582051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d6e3322b2545788bd277909cabdc81c6cbd2d35_42a8f26e-0cf2-4191-b344-cc17827ad97b.webp?v=1714709242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f87516315d9c3998515db16ea22f321a3b925ec1_ada28f49-218b-4d43-bee0-12527421e6a8.webp?v=1714709248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f863ea007a2d64d0508d12906c3b2d41c3181_285c5a2b-84ca-47af-b850-d3e3cadbd566.webp?v=1714709250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824618e6b5eb0f4ac8b106be61c85ec129782e39_d99d71c7-da11-46da-b6cd-2d1c76366309.webp?v=1714709253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4437dda746044545085c002134144230ea20586f_21a887e1-5425-400b-b573-882ba040221c.webp?v=1714709258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9463a63e52d2586d181cd93dbfe663bc2483eb_be7211d5-dc33-480c-91ef-bc56040aa10c.webp?v=1714709260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474629be08c5d2c86766ac2b97e1fbe43b38aa23_6fe4d5d8-ecbc-4946-894b-a8330d49bc8e.webp?v=1714709262"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d6e3322b2545788bd277909cabdc81c6cbd2d35_42a8f26e-0cf2-4191-b344-cc17827ad97b.webp?v=1714709242","options":["color"],"media":[{"alt":null,"id":23876193452131,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d6e3322b2545788bd277909cabdc81c6cbd2d35_42a8f26e-0cf2-4191-b344-cc17827ad97b.webp?v=1714709242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d6e3322b2545788bd277909cabdc81c6cbd2d35_42a8f26e-0cf2-4191-b344-cc17827ad97b.webp?v=1714709242","width":2000},{"alt":null,"id":23876193943651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244","width":2000},{"alt":null,"id":23876195582051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246","width":2000},{"alt":null,"id":23876196073571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f87516315d9c3998515db16ea22f321a3b925ec1_ada28f49-218b-4d43-bee0-12527421e6a8.webp?v=1714709248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f87516315d9c3998515db16ea22f321a3b925ec1_ada28f49-218b-4d43-bee0-12527421e6a8.webp?v=1714709248","width":2000},{"alt":null,"id":23876196532323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f863ea007a2d64d0508d12906c3b2d41c3181_285c5a2b-84ca-47af-b850-d3e3cadbd566.webp?v=1714709250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f863ea007a2d64d0508d12906c3b2d41c3181_285c5a2b-84ca-47af-b850-d3e3cadbd566.webp?v=1714709250","width":2000},{"alt":null,"id":23876196958307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824618e6b5eb0f4ac8b106be61c85ec129782e39_d99d71c7-da11-46da-b6cd-2d1c76366309.webp?v=1714709253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824618e6b5eb0f4ac8b106be61c85ec129782e39_d99d71c7-da11-46da-b6cd-2d1c76366309.webp?v=1714709253","width":2000},{"alt":null,"id":23876197449827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255","width":2000},{"alt":null,"id":23876197843043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4437dda746044545085c002134144230ea20586f_21a887e1-5425-400b-b573-882ba040221c.webp?v=1714709258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4437dda746044545085c002134144230ea20586f_21a887e1-5425-400b-b573-882ba040221c.webp?v=1714709258","width":2000},{"alt":null,"id":23876198203491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9463a63e52d2586d181cd93dbfe663bc2483eb_be7211d5-dc33-480c-91ef-bc56040aa10c.webp?v=1714709260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc9463a63e52d2586d181cd93dbfe663bc2483eb_be7211d5-dc33-480c-91ef-bc56040aa10c.webp?v=1714709260","width":2000},{"alt":null,"id":23876198858851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474629be08c5d2c86766ac2b97e1fbe43b38aa23_6fe4d5d8-ecbc-4946-894b-a8330d49bc8e.webp?v=1714709262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474629be08c5d2c86766ac2b97e1fbe43b38aa23_6fe4d5d8-ecbc-4946-894b-a8330d49bc8e.webp?v=1714709262","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883100282979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471288156259,"product_id":7408137666659,"position":2,"created_at":"2024-05-03T12:07:24+08:00","updated_at":"2024-05-03T12:07:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244","variant_ids":[41883100282979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB0122824-PB68","featured_media":{"alt":null,"id":23876193943651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883100414051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471291695203,"product_id":7408137666659,"position":7,"created_at":"2024-05-03T12:07:35+08:00","updated_at":"2024-05-03T12:07:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255","variant_ids":[41883100414051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB0122804-PB68","featured_media":{"alt":null,"id":23876197449827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/decd5f0dec11776c5ff5f2630342c8dd68ffac4d_b1a36e13-6624-4b0b-90fa-a22ca9ceab3f.webp?v=1714709255"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883100643427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471289860195,"product_id":7408137666659,"position":3,"created_at":"2024-05-03T12:07:26+08:00","updated_at":"2024-05-03T12:07:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246","variant_ids":[41883100643427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB01228J5-PB68","featured_media":{"alt":null,"id":23876195582051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e0726f5a8b4bc577ff12e6a15af4b5d1ee2a33_c92478d3-dc39-441c-b6e7-10c6494d87ef.webp?v=1714709246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883100282979,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB68","requires_shipping":true,"taxable":true,"featured_image":{"id":31471288156259,"product_id":7408137666659,"position":2,"created_at":"2024-05-03T12:07:24+08:00","updated_at":"2024-05-03T12:07:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244","variant_ids":[41883100282979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 1-俠盜一號 - 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":"NPB0122824-PB68","featured_media":{"alt":null,"id":23876193943651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18cd0bd41395469e48bf7e1beba384bc625033da_99a88792-66f4-47e2-bd40-e9b1581d4caa.webp?v=1714709244"}},"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: "停產" }