$product = {"id":7411379175523,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb45","description":null,"published_at":"2024-06-11T17:43:22+08:00","created_at":"2024-05-05T00:18:22+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":41898141352035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480275468387,"product_id":7411379175523,"position":2,"created_at":"2024-05-05T00:18:27+08:00","updated_at":"2024-05-05T00:18:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507","variant_ids":[41898141352035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885526794339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898141417571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480279269475,"product_id":7411379175523,"position":8,"created_at":"2024-05-05T00:18:41+08:00","updated_at":"2024-05-05T00:18:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521","variant_ids":[41898141417571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885530595427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898141646947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480278253667,"product_id":7411379175523,"position":6,"created_at":"2024-05-05T00:18:37+08:00","updated_at":"2024-05-05T00:18:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517","variant_ids":[41898141646947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885529579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57938669a17144c2374a81c7e59da9630422eff_eddd0259-01f5-4d2f-9296-8a0600113e25.webp?v=1714839504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb2b3d1e48499cf1578b6b763c96f8213462535_1ef28029-8e97-4a40-9d30-a33ce4d2193f.webp?v=1714839509","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d90761b4baf2adbb4527e94d8651102c3fd44cb_a84300dc-11bb-4a28-a5b0-51f0aa68e9a9.webp?v=1714839511","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c2249dbfb0f801b274d6caf26fa08a59cac92c_e1e1bba3-56e7-465d-9b57-a723b0b59f25.webp?v=1714839514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c731f02e86542800bd4b1657104529d27411af2_cd4124fe-6625-4870-b44d-c78710c15d0e.webp?v=1714839519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/612add4d8f9507e572d53a8d05b30b1335f15b83_abaa67ed-73a7-4e63-8687-bfe52df7f3c9.webp?v=1714839524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7c0d540e1534204fbd2143b19986970942e013_46b15a0a-32f6-455e-bcdb-4e0fc4c6698e.webp?v=1714839526"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57938669a17144c2374a81c7e59da9630422eff_eddd0259-01f5-4d2f-9296-8a0600113e25.webp?v=1714839504","options":["color"],"media":[{"alt":null,"id":23885526204515,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57938669a17144c2374a81c7e59da9630422eff_eddd0259-01f5-4d2f-9296-8a0600113e25.webp?v=1714839504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57938669a17144c2374a81c7e59da9630422eff_eddd0259-01f5-4d2f-9296-8a0600113e25.webp?v=1714839504","width":2000},{"alt":null,"id":23885526794339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507","width":2000},{"alt":null,"id":23885527220323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb2b3d1e48499cf1578b6b763c96f8213462535_1ef28029-8e97-4a40-9d30-a33ce4d2193f.webp?v=1714839509"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb2b3d1e48499cf1578b6b763c96f8213462535_1ef28029-8e97-4a40-9d30-a33ce4d2193f.webp?v=1714839509","width":2000},{"alt":null,"id":23885527810147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d90761b4baf2adbb4527e94d8651102c3fd44cb_a84300dc-11bb-4a28-a5b0-51f0aa68e9a9.webp?v=1714839511"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d90761b4baf2adbb4527e94d8651102c3fd44cb_a84300dc-11bb-4a28-a5b0-51f0aa68e9a9.webp?v=1714839511","width":2000},{"alt":null,"id":23885528367203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c2249dbfb0f801b274d6caf26fa08a59cac92c_e1e1bba3-56e7-465d-9b57-a723b0b59f25.webp?v=1714839514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c2249dbfb0f801b274d6caf26fa08a59cac92c_e1e1bba3-56e7-465d-9b57-a723b0b59f25.webp?v=1714839514","width":2000},{"alt":null,"id":23885529579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517","width":2000},{"alt":null,"id":23885530103907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c731f02e86542800bd4b1657104529d27411af2_cd4124fe-6625-4870-b44d-c78710c15d0e.webp?v=1714839519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c731f02e86542800bd4b1657104529d27411af2_cd4124fe-6625-4870-b44d-c78710c15d0e.webp?v=1714839519","width":2000},{"alt":null,"id":23885530595427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521","width":2000},{"alt":null,"id":23885531185251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/612add4d8f9507e572d53a8d05b30b1335f15b83_abaa67ed-73a7-4e63-8687-bfe52df7f3c9.webp?v=1714839524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/612add4d8f9507e572d53a8d05b30b1335f15b83_abaa67ed-73a7-4e63-8687-bfe52df7f3c9.webp?v=1714839524","width":2000},{"alt":null,"id":23885531840611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7c0d540e1534204fbd2143b19986970942e013_46b15a0a-32f6-455e-bcdb-4e0fc4c6698e.webp?v=1714839526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e7c0d540e1534204fbd2143b19986970942e013_46b15a0a-32f6-455e-bcdb-4e0fc4c6698e.webp?v=1714839526","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898141352035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480275468387,"product_id":7411379175523,"position":2,"created_at":"2024-05-05T00:18:27+08:00","updated_at":"2024-05-05T00:18:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507","variant_ids":[41898141352035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885526794339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898141417571,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480279269475,"product_id":7411379175523,"position":8,"created_at":"2024-05-05T00:18:41+08:00","updated_at":"2024-05-05T00:18:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521","variant_ids":[41898141417571]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885530595427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcbe93d1277a46e03e85dec7f8798d6eb69d818a_aa4ad56d-2229-41cb-9929-9ed8eb857c5f.webp?v=1714839521"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898141646947,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480278253667,"product_id":7411379175523,"position":6,"created_at":"2024-05-05T00:18:37+08:00","updated_at":"2024-05-05T00:18:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517","variant_ids":[41898141646947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885529579619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba9b1c5f198b8373e2dd18d9a45b65f59ce0376c_38a590f5-754a-4035-97c9-965c492ee562.webp?v=1714839517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898141352035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB45","requires_shipping":true,"taxable":true,"featured_image":{"id":31480275468387,"product_id":7411379175523,"position":2,"created_at":"2024-05-05T00:18:27+08:00","updated_at":"2024-05-05T00:18:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507","variant_ids":[41898141352035]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星戰Logo黑武士款 - 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-PB45","featured_media":{"alt":null,"id":23885526794339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d13db64f396fa12bb928296735943cf25c132116_dc4183ca-698e-4c03-83b1-d09285b2f542.webp?v=1714839507"}},"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: "停產" }