$product = {"id":7411321536611,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb96","description":null,"published_at":"2024-06-11T17:41:47+08:00","created_at":"2024-05-05T00:07:07+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":41897411543139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480134041699,"product_id":7411321536611,"position":2,"created_at":"2024-05-05T00:07:12+08:00","updated_at":"2024-05-05T00:07:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832","variant_ids":[41897411543139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885384941667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897411674211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480133681251,"product_id":7411321536611,"position":1,"created_at":"2024-05-05T00:07:10+08:00","updated_at":"2024-05-05T00:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830","variant_ids":[41897411674211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885384548451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897412100195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480137023587,"product_id":7411321536611,"position":8,"created_at":"2024-05-05T00:07:27+08:00","updated_at":"2024-05-05T00:07:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847","variant_ids":[41897412100195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885387956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67e6d006993741e5ad815bee38cfac1975cda879_9435f86a-89c2-4cba-a9d1-010946a05304.webp?v=1714838835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a457e2ca1f77328c75f8dc890539db015b8be437_b3cbe6bf-8d1e-4d50-a1ca-b0800da43bad.webp?v=1714838837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7217fa65277d4d109d9c01bdedbd760fd850324_25d54aeb-bcea-4341-814b-815e95ded38a.webp?v=1714838840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc16557a7da60ad56b9488338ac6e7713a5f322f_9e5d21be-bf82-4817-8bf2-e203ce2796a6.webp?v=1714838842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/887cd8e69631227b36a4df53f19fed4ba1918b93_8a9b1f5d-4709-45a7-9495-e9a398700ffa.webp?v=1714838845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71da4c294d9babc87fc17be91f53f977b2d61f82_57368dff-b531-4445-a53c-5c7171cf555d.webp?v=1714838850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60e4c28dcc546da46f2b391839ec1987795451a_4e3cb4dd-4d7a-47d0-9ccc-12ac353131b5.webp?v=1714838852"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830","options":["color"],"media":[{"alt":null,"id":23885384548451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830","width":2000},{"alt":null,"id":23885384941667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832","width":2000},{"alt":null,"id":23885385531491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67e6d006993741e5ad815bee38cfac1975cda879_9435f86a-89c2-4cba-a9d1-010946a05304.webp?v=1714838835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67e6d006993741e5ad815bee38cfac1975cda879_9435f86a-89c2-4cba-a9d1-010946a05304.webp?v=1714838835","width":2000},{"alt":null,"id":23885385924707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a457e2ca1f77328c75f8dc890539db015b8be437_b3cbe6bf-8d1e-4d50-a1ca-b0800da43bad.webp?v=1714838837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a457e2ca1f77328c75f8dc890539db015b8be437_b3cbe6bf-8d1e-4d50-a1ca-b0800da43bad.webp?v=1714838837","width":2000},{"alt":null,"id":23885386317923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7217fa65277d4d109d9c01bdedbd760fd850324_25d54aeb-bcea-4341-814b-815e95ded38a.webp?v=1714838840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7217fa65277d4d109d9c01bdedbd760fd850324_25d54aeb-bcea-4341-814b-815e95ded38a.webp?v=1714838840","width":2000},{"alt":null,"id":23885386776675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc16557a7da60ad56b9488338ac6e7713a5f322f_9e5d21be-bf82-4817-8bf2-e203ce2796a6.webp?v=1714838842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc16557a7da60ad56b9488338ac6e7713a5f322f_9e5d21be-bf82-4817-8bf2-e203ce2796a6.webp?v=1714838842","width":2000},{"alt":null,"id":23885387366499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/887cd8e69631227b36a4df53f19fed4ba1918b93_8a9b1f5d-4709-45a7-9495-e9a398700ffa.webp?v=1714838845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/887cd8e69631227b36a4df53f19fed4ba1918b93_8a9b1f5d-4709-45a7-9495-e9a398700ffa.webp?v=1714838845","width":2000},{"alt":null,"id":23885387956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847","width":2000},{"alt":null,"id":23885388546147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71da4c294d9babc87fc17be91f53f977b2d61f82_57368dff-b531-4445-a53c-5c7171cf555d.webp?v=1714838850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71da4c294d9babc87fc17be91f53f977b2d61f82_57368dff-b531-4445-a53c-5c7171cf555d.webp?v=1714838850","width":2000},{"alt":null,"id":23885389037667,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60e4c28dcc546da46f2b391839ec1987795451a_4e3cb4dd-4d7a-47d0-9ccc-12ac353131b5.webp?v=1714838852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60e4c28dcc546da46f2b391839ec1987795451a_4e3cb4dd-4d7a-47d0-9ccc-12ac353131b5.webp?v=1714838852","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897411543139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480134041699,"product_id":7411321536611,"position":2,"created_at":"2024-05-05T00:07:12+08:00","updated_at":"2024-05-05T00:07:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832","variant_ids":[41897411543139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885384941667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897411674211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480133681251,"product_id":7411321536611,"position":1,"created_at":"2024-05-05T00:07:10+08:00","updated_at":"2024-05-05T00:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830","variant_ids":[41897411674211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885384548451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bedfa27e15249c741085979765bec4479de04bf_ba636fb9-78de-444b-abce-2f8d99081b64.webp?v=1714838830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897412100195,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480137023587,"product_id":7411321536611,"position":8,"created_at":"2024-05-05T00:07:27+08:00","updated_at":"2024-05-05T00:07:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847","variant_ids":[41897412100195]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885387956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c2b28171508bc2558ac80fa7522c022c3ac705_2ee1135f-b3da-4eb4-aefb-2608577fda82.webp?v=1714838847"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897411543139,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB96","requires_shipping":true,"taxable":true,"featured_image":{"id":31480134041699,"product_id":7411321536611,"position":2,"created_at":"2024-05-05T00:07:12+08:00","updated_at":"2024-05-05T00:07:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832","variant_ids":[41897411543139]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 黑武士-Useless to Resist - 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-PB96","featured_media":{"alt":null,"id":23885384941667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9aad9393e9775a2c65c78dcbafaa8eaa94d65681_4dcbff34-4963-43d7-878e-77fe8f32a423.webp?v=1714838832"}},"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: "停產" }