$product = {"id":7408165453923,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術","handle":"iphone-13-mini-mod-nx-printable-pb38","description":null,"published_at":"2024-06-11T16:33:09+08:00","created_at":"2024-05-03T12:12:36+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":41883409711203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471360868451,"product_id":7408165453923,"position":5,"created_at":"2024-05-03T12:12:48+08:00","updated_at":"2024-05-03T12:12:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568","variant_ids":[41883409711203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876266819683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883409776739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471359033443,"product_id":7408165453923,"position":1,"created_at":"2024-05-03T12:12:39+08:00","updated_at":"2024-05-03T12:12:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559","variant_ids":[41883409776739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876264951907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883410235491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471360475235,"product_id":7408165453923,"position":4,"created_at":"2024-05-03T12:12:46+08:00","updated_at":"2024-05-03T12:12:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566","variant_ids":[41883410235491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876266492003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b02e8b2df714de77744348cd13743176a1e7bbe_2e6ec26a-b23f-45be-98b5-a3caf0d80b96.webp?v=1714709561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b7356780aea4a83fcc1cfabe11a4acbbea4bc_1c4a0ba3-d75c-4d25-92d8-6a25265dbf40.webp?v=1714709564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f05d6a10215c2ffd9d58e6940574470d3f3789_0a691b91-b1c4-48c0-9d22-9dfb66701491.webp?v=1714709570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1619bb955e26967b301ba0844a1622dc2d0cb635_373d429b-2ac5-42e4-8b7f-dccaa44d5099.webp?v=1714709573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5710dd26bf40987dd5a08e6a15d6f1d6c128b470_b53893ca-f16c-418d-bcdd-eef4ffad92a1.webp?v=1714709575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19dfd097c77d6bf96333dd27614620ae9ddbfb14_3419e18d-72a0-4b35-bc18-c343bbb93b60.webp?v=1714709577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46cecb35d328841c5c5947af1e6b9bb16340bbad_dc536a9a-b70e-4139-9aa8-2187ba3c8450.webp?v=1714709580"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559","options":["color"],"media":[{"alt":null,"id":23876264951907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559","width":2000},{"alt":null,"id":23876265476195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b02e8b2df714de77744348cd13743176a1e7bbe_2e6ec26a-b23f-45be-98b5-a3caf0d80b96.webp?v=1714709561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b02e8b2df714de77744348cd13743176a1e7bbe_2e6ec26a-b23f-45be-98b5-a3caf0d80b96.webp?v=1714709561","width":2000},{"alt":null,"id":23876265934947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b7356780aea4a83fcc1cfabe11a4acbbea4bc_1c4a0ba3-d75c-4d25-92d8-6a25265dbf40.webp?v=1714709564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b7356780aea4a83fcc1cfabe11a4acbbea4bc_1c4a0ba3-d75c-4d25-92d8-6a25265dbf40.webp?v=1714709564","width":2000},{"alt":null,"id":23876266492003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566","width":2000},{"alt":null,"id":23876266819683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568","width":2000},{"alt":null,"id":23876267245667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f05d6a10215c2ffd9d58e6940574470d3f3789_0a691b91-b1c4-48c0-9d22-9dfb66701491.webp?v=1714709570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24f05d6a10215c2ffd9d58e6940574470d3f3789_0a691b91-b1c4-48c0-9d22-9dfb66701491.webp?v=1714709570","width":2000},{"alt":null,"id":23876267671651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1619bb955e26967b301ba0844a1622dc2d0cb635_373d429b-2ac5-42e4-8b7f-dccaa44d5099.webp?v=1714709573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1619bb955e26967b301ba0844a1622dc2d0cb635_373d429b-2ac5-42e4-8b7f-dccaa44d5099.webp?v=1714709573","width":2000},{"alt":null,"id":23876268064867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5710dd26bf40987dd5a08e6a15d6f1d6c128b470_b53893ca-f16c-418d-bcdd-eef4ffad92a1.webp?v=1714709575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5710dd26bf40987dd5a08e6a15d6f1d6c128b470_b53893ca-f16c-418d-bcdd-eef4ffad92a1.webp?v=1714709575","width":2000},{"alt":null,"id":23876268621923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19dfd097c77d6bf96333dd27614620ae9ddbfb14_3419e18d-72a0-4b35-bc18-c343bbb93b60.webp?v=1714709577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19dfd097c77d6bf96333dd27614620ae9ddbfb14_3419e18d-72a0-4b35-bc18-c343bbb93b60.webp?v=1714709577","width":2000},{"alt":null,"id":23876269015139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46cecb35d328841c5c5947af1e6b9bb16340bbad_dc536a9a-b70e-4139-9aa8-2187ba3c8450.webp?v=1714709580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46cecb35d328841c5c5947af1e6b9bb16340bbad_dc536a9a-b70e-4139-9aa8-2187ba3c8450.webp?v=1714709580","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883409711203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471360868451,"product_id":7408165453923,"position":5,"created_at":"2024-05-03T12:12:48+08:00","updated_at":"2024-05-03T12:12:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568","variant_ids":[41883409711203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876266819683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883409776739,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471359033443,"product_id":7408165453923,"position":1,"created_at":"2024-05-03T12:12:39+08:00","updated_at":"2024-05-03T12:12:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559","variant_ids":[41883409776739]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876264951907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cf31db0a7e7aea131bbbd33a74563e90905a38f_4d82f6d9-8207-4697-899e-afc267c26f96.webp?v=1714709559"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883410235491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471360475235,"product_id":7408165453923,"position":4,"created_at":"2024-05-03T12:12:46+08:00","updated_at":"2024-05-03T12:12:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566","variant_ids":[41883410235491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876266492003,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a07720437b5c772461a29e44fb07e4ec1e98572_28f0c383-77f1-4e7b-a779-aef65be33dff.webp?v=1714709566"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883409711203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31471360868451,"product_id":7408165453923,"position":5,"created_at":"2024-05-03T12:12:48+08:00","updated_at":"2024-05-03T12:12:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568","variant_ids":[41883409711203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23876266819683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f27cdae06066861f5b728695a983aa24041ae6c5_34ac6654-2d83-48da-abdd-2e011f71ddd7.webp?v=1714709568"}},"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: "停產" }