$product = {"id":7411435339875,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡","handle":"iphone-14-pro-mod-nx-magsafe-printable-sr06","description":null,"published_at":"2024-06-11T17:44:56+08:00","created_at":"2024-05-05T00:29:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區The Powerpuff Girls","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-the-power-puff-girls","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":41898854875235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480419680355,"product_id":7411435339875,"position":4,"created_at":"2024-05-05T00:29:31+08:00","updated_at":"2024-05-05T00:29:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171","variant_ids":[41898854875235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885671465059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898854940771,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480421515363,"product_id":7411435339875,"position":7,"created_at":"2024-05-05T00:29:39+08:00","updated_at":"2024-05-05T00:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179","variant_ids":[41898854940771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885673332835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898855170147,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480420925539,"product_id":7411435339875,"position":6,"created_at":"2024-05-05T00:29:36+08:00","updated_at":"2024-05-05T00:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176","variant_ids":[41898855170147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885672710243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c88b7d0844b0e6bc894bf8ca57b30f8ddd80d8e_5814ea14-bede-4668-8f95-be8ca36df066.webp?v=1714840163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d357c29a3369631869fccdaf9422b263ab6f4f_1f1d8092-92c7-4a6e-a3ec-8ab8524f63da.webp?v=1714840165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ee1ffc2c46cf121184473fa0b0876a53d67761_e717c8ab-af2c-4b41-a27b-ea3e5f0cf002.webp?v=1714840168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c14658a760f73e5da38c7d98afcd160dab915e7d_fb929ab7-98ba-48b8-9df4-b7a481b5371f.webp?v=1714840173","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9681c574edcd139f7c07a4a0152fa4716ddf53b_c0211cf7-647b-43a0-b62e-ccf50c2d3b91.webp?v=1714840181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea11bdf743cf9b5498a66461ea37429962f70a5_4d218e96-5931-45e6-8e62-afbe97a42953.webp?v=1714840184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b97cf3d0ff806095bab55f1e46a4aea94c0a99f4_0aff5fd7-7a30-4c9d-88ea-e1eb6723bbd9.webp?v=1714840186"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c88b7d0844b0e6bc894bf8ca57b30f8ddd80d8e_5814ea14-bede-4668-8f95-be8ca36df066.webp?v=1714840163","options":["color"],"media":[{"alt":null,"id":23885669105763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c88b7d0844b0e6bc894bf8ca57b30f8ddd80d8e_5814ea14-bede-4668-8f95-be8ca36df066.webp?v=1714840163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c88b7d0844b0e6bc894bf8ca57b30f8ddd80d8e_5814ea14-bede-4668-8f95-be8ca36df066.webp?v=1714840163","width":2000},{"alt":null,"id":23885670187107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d357c29a3369631869fccdaf9422b263ab6f4f_1f1d8092-92c7-4a6e-a3ec-8ab8524f63da.webp?v=1714840165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d357c29a3369631869fccdaf9422b263ab6f4f_1f1d8092-92c7-4a6e-a3ec-8ab8524f63da.webp?v=1714840165","width":2000},{"alt":null,"id":23885670875235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ee1ffc2c46cf121184473fa0b0876a53d67761_e717c8ab-af2c-4b41-a27b-ea3e5f0cf002.webp?v=1714840168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4ee1ffc2c46cf121184473fa0b0876a53d67761_e717c8ab-af2c-4b41-a27b-ea3e5f0cf002.webp?v=1714840168","width":2000},{"alt":null,"id":23885671465059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171","width":2000},{"alt":null,"id":23885671956579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c14658a760f73e5da38c7d98afcd160dab915e7d_fb929ab7-98ba-48b8-9df4-b7a481b5371f.webp?v=1714840173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c14658a760f73e5da38c7d98afcd160dab915e7d_fb929ab7-98ba-48b8-9df4-b7a481b5371f.webp?v=1714840173","width":2000},{"alt":null,"id":23885672710243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176","width":2000},{"alt":null,"id":23885673332835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179","width":2000},{"alt":null,"id":23885673824355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9681c574edcd139f7c07a4a0152fa4716ddf53b_c0211cf7-647b-43a0-b62e-ccf50c2d3b91.webp?v=1714840181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9681c574edcd139f7c07a4a0152fa4716ddf53b_c0211cf7-647b-43a0-b62e-ccf50c2d3b91.webp?v=1714840181","width":2000},{"alt":null,"id":23885674283107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea11bdf743cf9b5498a66461ea37429962f70a5_4d218e96-5931-45e6-8e62-afbe97a42953.webp?v=1714840184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea11bdf743cf9b5498a66461ea37429962f70a5_4d218e96-5931-45e6-8e62-afbe97a42953.webp?v=1714840184","width":2000},{"alt":null,"id":23885674643555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b97cf3d0ff806095bab55f1e46a4aea94c0a99f4_0aff5fd7-7a30-4c9d-88ea-e1eb6723bbd9.webp?v=1714840186"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b97cf3d0ff806095bab55f1e46a4aea94c0a99f4_0aff5fd7-7a30-4c9d-88ea-e1eb6723bbd9.webp?v=1714840186","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898854875235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480419680355,"product_id":7411435339875,"position":4,"created_at":"2024-05-05T00:29:31+08:00","updated_at":"2024-05-05T00:29:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171","variant_ids":[41898854875235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885671465059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898854940771,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480421515363,"product_id":7411435339875,"position":7,"created_at":"2024-05-05T00:29:39+08:00","updated_at":"2024-05-05T00:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179","variant_ids":[41898854940771]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885673332835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29c5bbfa93858a498a772b9c7ae76d6655c24f1d_a8401d5f-d93e-42d3-b7fc-ae4eb6d4066d.webp?v=1714840179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898855170147,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480420925539,"product_id":7411435339875,"position":6,"created_at":"2024-05-05T00:29:36+08:00","updated_at":"2024-05-05T00:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176","variant_ids":[41898855170147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885672710243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5151dcf2c8768d8ab1af02baac518ac9790dda5e_60240b78-03c3-4122-89d8-b68adcf4f774.webp?v=1714840176"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898854875235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SR06","requires_shipping":true,"taxable":true,"featured_image":{"id":31480419680355,"product_id":7411435339875,"position":4,"created_at":"2024-05-05T00:29:31+08:00","updated_at":"2024-05-05T00:29:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171","variant_ids":[41898854875235]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - The Powerpuff Girls - 泡泡 - 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-SR06","featured_media":{"alt":null,"id":23885671465059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6d49af915236e454cbdb285d0cc77085e13c760_94556c17-7af8-4866-98b1-84d6d029d36c.webp?v=1714840171"}},"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: "停產" }