$product = {"id":7414660235363,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - 眾紅風暴兵","handle":"iphone-13-mini-mod-nx-magsafe-printable-pc02","description":null,"published_at":"2024-06-11T17:52:53+08:00","created_at":"2024-05-05T14:36:26+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 13 mini","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":41908120715363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485968285795,"product_id":7414660235363,"position":4,"created_at":"2024-05-05T14:36:35+08:00","updated_at":"2024-05-05T14:36:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995","variant_ids":[41908120715363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PC02","featured_media":{"alt":null,"id":23891303596131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908120813667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485963206755,"product_id":7414660235363,"position":1,"created_at":"2024-05-05T14:36:28+08:00","updated_at":"2024-05-05T14:36:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988","variant_ids":[41908120813667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PC02","featured_media":{"alt":null,"id":23891298451555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908121043043,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485973594211,"product_id":7414660235363,"position":7,"created_at":"2024-05-05T14:36:43+08:00","updated_at":"2024-05-05T14:36:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003","variant_ids":[41908121043043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PC02","featured_media":{"alt":null,"id":23891309068387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e75a07a8c5b0a8c9faed38088715bb18d6e594_778e06cc-524b-4967-9f33-a9e08c6462c6.webp?v=1714890990","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb428aabc38b9e1fce8657b4f4e300f9901fd0e5_57deb54e-d167-4720-8fae-67792386ca2a.webp?v=1714890993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab9704d171bb71152dc4137921f4d7356bd65a1_5bff7a97-4151-4f4f-a585-5a243218b8fa.webp?v=1714890998","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b712ef9bb307a9ef79de4f3c9b507de21ddc7486_a2d27e3b-1cdc-40d7-951f-b362f5754ecd.webp?v=1714891000","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da6c9c14cf9bbae078bb1b74698e6bebdc78a93_928f6662-a051-45a9-9825-eaf4483e23da.webp?v=1714891005","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c8b95eee979bde03cfd4f3c6ac37a4965e96848_1bcbfb5a-3057-424e-abe6-bcce7439b21c.webp?v=1714891007","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80c06f36f9057f8256882d3d7494cc48f2495258_a9b871dd-512a-4f74-8744-bfb5e7857933.webp?v=1714891009"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988","options":["color"],"media":[{"alt":null,"id":23891298451555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988","width":2000},{"alt":null,"id":23891301138531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e75a07a8c5b0a8c9faed38088715bb18d6e594_778e06cc-524b-4967-9f33-a9e08c6462c6.webp?v=1714890990"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7e75a07a8c5b0a8c9faed38088715bb18d6e594_778e06cc-524b-4967-9f33-a9e08c6462c6.webp?v=1714890990","width":2000},{"alt":null,"id":23891302383715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb428aabc38b9e1fce8657b4f4e300f9901fd0e5_57deb54e-d167-4720-8fae-67792386ca2a.webp?v=1714890993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb428aabc38b9e1fce8657b4f4e300f9901fd0e5_57deb54e-d167-4720-8fae-67792386ca2a.webp?v=1714890993","width":2000},{"alt":null,"id":23891303596131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995","width":2000},{"alt":null,"id":23891305726051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab9704d171bb71152dc4137921f4d7356bd65a1_5bff7a97-4151-4f4f-a585-5a243218b8fa.webp?v=1714890998"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab9704d171bb71152dc4137921f4d7356bd65a1_5bff7a97-4151-4f4f-a585-5a243218b8fa.webp?v=1714890998","width":2000},{"alt":null,"id":23891307233379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b712ef9bb307a9ef79de4f3c9b507de21ddc7486_a2d27e3b-1cdc-40d7-951f-b362f5754ecd.webp?v=1714891000"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b712ef9bb307a9ef79de4f3c9b507de21ddc7486_a2d27e3b-1cdc-40d7-951f-b362f5754ecd.webp?v=1714891000","width":2000},{"alt":null,"id":23891309068387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003","width":2000},{"alt":null,"id":23891310411875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da6c9c14cf9bbae078bb1b74698e6bebdc78a93_928f6662-a051-45a9-9825-eaf4483e23da.webp?v=1714891005"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da6c9c14cf9bbae078bb1b74698e6bebdc78a93_928f6662-a051-45a9-9825-eaf4483e23da.webp?v=1714891005","width":2000},{"alt":null,"id":23891311919203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c8b95eee979bde03cfd4f3c6ac37a4965e96848_1bcbfb5a-3057-424e-abe6-bcce7439b21c.webp?v=1714891007"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c8b95eee979bde03cfd4f3c6ac37a4965e96848_1bcbfb5a-3057-424e-abe6-bcce7439b21c.webp?v=1714891007","width":2000},{"alt":null,"id":23891313098851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80c06f36f9057f8256882d3d7494cc48f2495258_a9b871dd-512a-4f74-8744-bfb5e7857933.webp?v=1714891009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80c06f36f9057f8256882d3d7494cc48f2495258_a9b871dd-512a-4f74-8744-bfb5e7857933.webp?v=1714891009","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41908120715363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485968285795,"product_id":7414660235363,"position":4,"created_at":"2024-05-05T14:36:35+08:00","updated_at":"2024-05-05T14:36:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995","variant_ids":[41908120715363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PC02","featured_media":{"alt":null,"id":23891303596131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908120813667,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485963206755,"product_id":7414660235363,"position":1,"created_at":"2024-05-05T14:36:28+08:00","updated_at":"2024-05-05T14:36:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988","variant_ids":[41908120813667]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122804-PC02","featured_media":{"alt":null,"id":23891298451555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf7ae3a4c712552a63e22b7799b6717cd8886521_2376c4f9-b070-4330-9620-4b20f7f0f0f6.webp?v=1714890988"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908121043043,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485973594211,"product_id":7414660235363,"position":7,"created_at":"2024-05-05T14:36:43+08:00","updated_at":"2024-05-05T14:36:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003","variant_ids":[41908121043043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB01228J5-PC02","featured_media":{"alt":null,"id":23891309068387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d741cacfbc588b3f4556c8828a7b045d6db24b93_7e357898-ff9e-4047-bf50-992519dab9a2.webp?v=1714891003"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41908120715363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PC02","requires_shipping":true,"taxable":true,"featured_image":{"id":31485968285795,"product_id":7414660235363,"position":4,"created_at":"2024-05-05T14:36:35+08:00","updated_at":"2024-05-05T14:36:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995","variant_ids":[41908120715363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 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":"MPB0122824-PC02","featured_media":{"alt":null,"id":23891303596131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7731556573502c02f88789f53418a49fe8108b4c_b87cea18-53ce-47b7-a930-09f20f80fc8a.webp?v=1714890995"}},"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: "停產" }