$product = {"id":7411256328291,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb98","description":null,"published_at":"2024-06-11T17:40:04+08:00","created_at":"2024-05-04T23:54:48+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":41896608989283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479972593763,"product_id":7411256328291,"position":1,"created_at":"2024-05-04T23:54:51+08:00","updated_at":"2024-05-04T23:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","variant_ids":[41896608989283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885223034979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896609120355,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479975706723,"product_id":7411256328291,"position":7,"created_at":"2024-05-04T23:55:05+08:00","updated_at":"2024-05-04T23:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105","variant_ids":[41896609120355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885226180707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896609677411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479976689763,"product_id":7411256328291,"position":9,"created_at":"2024-05-04T23:55:10+08:00","updated_at":"2024-05-04T23:55:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110","variant_ids":[41896609677411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885227163747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed69c259b1b5172762c2c59cb5cac50663b05866_73b47951-0347-46b7-b16b-691f9ef8af0f.webp?v=1714838093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74e0c4e8cf36cbdbf788029c90c699fb788c32d_0c54091d-a7e0-47c4-95b6-a3fc6699879a.webp?v=1714838096","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9687a58103f63dfb544e76a5556a8a8098eac0dd_d7dbb1ac-814f-446f-b05e-7ebb32bc19e1.webp?v=1714838098","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd0f81d99a4d903c3828613fc7c15252770d0889_052c5373-950e-42ed-aacb-67d54b90d50e.webp?v=1714838101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4111cb618dc07a1ed274671b70af51cbcba725_e438feeb-5a64-485e-b3f1-9a144d606321.webp?v=1714838103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c4f468cac99f25a31d6101467cf43e5aeee0c6_70809f5a-cb3d-4993-b496-0a1b2ada3516.webp?v=1714838108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86d25e107e8607cb9c44e69462c3a7566b8f952_22b54e7e-76bc-4746-92ce-2bb9bb471552.webp?v=1714838113"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","options":["color"],"media":[{"alt":null,"id":23885223034979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","width":2000},{"alt":null,"id":23885223657571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed69c259b1b5172762c2c59cb5cac50663b05866_73b47951-0347-46b7-b16b-691f9ef8af0f.webp?v=1714838093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed69c259b1b5172762c2c59cb5cac50663b05866_73b47951-0347-46b7-b16b-691f9ef8af0f.webp?v=1714838093","width":2000},{"alt":null,"id":23885224083555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74e0c4e8cf36cbdbf788029c90c699fb788c32d_0c54091d-a7e0-47c4-95b6-a3fc6699879a.webp?v=1714838096"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c74e0c4e8cf36cbdbf788029c90c699fb788c32d_0c54091d-a7e0-47c4-95b6-a3fc6699879a.webp?v=1714838096","width":2000},{"alt":null,"id":23885224575075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9687a58103f63dfb544e76a5556a8a8098eac0dd_d7dbb1ac-814f-446f-b05e-7ebb32bc19e1.webp?v=1714838098"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9687a58103f63dfb544e76a5556a8a8098eac0dd_d7dbb1ac-814f-446f-b05e-7ebb32bc19e1.webp?v=1714838098","width":2000},{"alt":null,"id":23885225164899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd0f81d99a4d903c3828613fc7c15252770d0889_052c5373-950e-42ed-aacb-67d54b90d50e.webp?v=1714838101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd0f81d99a4d903c3828613fc7c15252770d0889_052c5373-950e-42ed-aacb-67d54b90d50e.webp?v=1714838101","width":2000},{"alt":null,"id":23885225656419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4111cb618dc07a1ed274671b70af51cbcba725_e438feeb-5a64-485e-b3f1-9a144d606321.webp?v=1714838103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4111cb618dc07a1ed274671b70af51cbcba725_e438feeb-5a64-485e-b3f1-9a144d606321.webp?v=1714838103","width":2000},{"alt":null,"id":23885226180707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105","width":2000},{"alt":null,"id":23885226508387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c4f468cac99f25a31d6101467cf43e5aeee0c6_70809f5a-cb3d-4993-b496-0a1b2ada3516.webp?v=1714838108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9c4f468cac99f25a31d6101467cf43e5aeee0c6_70809f5a-cb3d-4993-b496-0a1b2ada3516.webp?v=1714838108","width":2000},{"alt":null,"id":23885227163747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110","width":2000},{"alt":null,"id":23885227524195,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86d25e107e8607cb9c44e69462c3a7566b8f952_22b54e7e-76bc-4746-92ce-2bb9bb471552.webp?v=1714838113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c86d25e107e8607cb9c44e69462c3a7566b8f952_22b54e7e-76bc-4746-92ce-2bb9bb471552.webp?v=1714838113","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896608989283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479972593763,"product_id":7411256328291,"position":1,"created_at":"2024-05-04T23:54:51+08:00","updated_at":"2024-05-04T23:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","variant_ids":[41896608989283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885223034979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896609120355,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479975706723,"product_id":7411256328291,"position":7,"created_at":"2024-05-04T23:55:05+08:00","updated_at":"2024-05-04T23:55:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105","variant_ids":[41896609120355]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885226180707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3d56072761c0c026c99fafe92378737cc4bc840_c9c3f485-059d-46e8-b817-6def17552263.webp?v=1714838105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896609677411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479976689763,"product_id":7411256328291,"position":9,"created_at":"2024-05-04T23:55:10+08:00","updated_at":"2024-05-04T23:55:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110","variant_ids":[41896609677411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885227163747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/395e4b72c2008a5c48ca94316ba431a434d4fb4f_d7543758-4ec8-4032-adc8-9d07817ebec0.webp?v=1714838110"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896608989283,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31479972593763,"product_id":7411256328291,"position":1,"created_at":"2024-05-04T23:54:51+08:00","updated_at":"2024-05-04T23:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091","variant_ids":[41896608989283]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列 - 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-PB98","featured_media":{"alt":null,"id":23885223034979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/579d6c8faf00a8d29d5957748d9b841771ae2bf6_3d34aca7-3549-404f-9eb9-b6d9db1f6a95.webp?v=1714838091"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }