$product = {"id":7408071934051,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機","handle":"iphone-13-mini-mod-nx-printable-pb28","description":null,"published_at":"2024-06-11T16:30:38+08:00","created_at":"2024-05-03T11:53:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41882356711523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471120384099,"product_id":7408071934051,"position":8,"created_at":"2024-05-03T11:54:02+08:00","updated_at":"2024-05-03T11:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442","variant_ids":[41882356711523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB28","featured_media":{"alt":null,"id":23876025581667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882356777059,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471117566051,"product_id":7408071934051,"position":3,"created_at":"2024-05-03T11:53:49+08:00","updated_at":"2024-05-03T11:53:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429","variant_ids":[41882356777059]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB28","featured_media":{"alt":null,"id":23876022796387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882357006435,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471121104995,"product_id":7408071934051,"position":10,"created_at":"2024-05-03T11:54:08+08:00","updated_at":"2024-05-03T11:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448","variant_ids":[41882357006435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB28","featured_media":{"alt":null,"id":23876026335331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0045d2ae547a5766b8d7a952f464d6c5fcd4e9_a43a0c12-7efd-45fd-bc37-424e7620e577.webp?v=1714708424","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83960b7340e50232b5f5e62fddf2609f69dda40c_8764ac4a-ab2f-43f2-b22f-670626bc2949.webp?v=1714708426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d14423732cd409466434c2099f0bd489cb19a11_c8772943-1749-4136-b9f8-ab8c829be8ab.webp?v=1714708431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d37de4c8910b460912d31c6d2f6794a667b325_43db7f69-1ff5-4ba5-871a-4ea9a0b7995e.webp?v=1714708434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31203b0df1b4fd6ab6253c2e1ff2399c0c5561d5_93c8eb30-c078-48e2-8114-4795ed7891fa.webp?v=1714708437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87adb7c474a1dad40258f91d011ed33dade0a0e6_4b3ea546-8b83-4014-ab14-9496084147eb.webp?v=1714708439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b7160059cb58db56ef73f2fc633c1de8e7aee13_7d3d139a-8f64-4558-a3e6-51404e01453f.webp?v=1714708445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0045d2ae547a5766b8d7a952f464d6c5fcd4e9_a43a0c12-7efd-45fd-bc37-424e7620e577.webp?v=1714708424","options":["color"],"media":[{"alt":null,"id":23876021977187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0045d2ae547a5766b8d7a952f464d6c5fcd4e9_a43a0c12-7efd-45fd-bc37-424e7620e577.webp?v=1714708424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd0045d2ae547a5766b8d7a952f464d6c5fcd4e9_a43a0c12-7efd-45fd-bc37-424e7620e577.webp?v=1714708424","width":2000},{"alt":null,"id":23876022435939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83960b7340e50232b5f5e62fddf2609f69dda40c_8764ac4a-ab2f-43f2-b22f-670626bc2949.webp?v=1714708426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83960b7340e50232b5f5e62fddf2609f69dda40c_8764ac4a-ab2f-43f2-b22f-670626bc2949.webp?v=1714708426","width":2000},{"alt":null,"id":23876022796387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429","width":2000},{"alt":null,"id":23876023353443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d14423732cd409466434c2099f0bd489cb19a11_c8772943-1749-4136-b9f8-ab8c829be8ab.webp?v=1714708431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d14423732cd409466434c2099f0bd489cb19a11_c8772943-1749-4136-b9f8-ab8c829be8ab.webp?v=1714708431","width":2000},{"alt":null,"id":23876023943267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d37de4c8910b460912d31c6d2f6794a667b325_43db7f69-1ff5-4ba5-871a-4ea9a0b7995e.webp?v=1714708434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17d37de4c8910b460912d31c6d2f6794a667b325_43db7f69-1ff5-4ba5-871a-4ea9a0b7995e.webp?v=1714708434","width":2000},{"alt":null,"id":23876024533091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31203b0df1b4fd6ab6253c2e1ff2399c0c5561d5_93c8eb30-c078-48e2-8114-4795ed7891fa.webp?v=1714708437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31203b0df1b4fd6ab6253c2e1ff2399c0c5561d5_93c8eb30-c078-48e2-8114-4795ed7891fa.webp?v=1714708437","width":2000},{"alt":null,"id":23876024893539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87adb7c474a1dad40258f91d011ed33dade0a0e6_4b3ea546-8b83-4014-ab14-9496084147eb.webp?v=1714708439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87adb7c474a1dad40258f91d011ed33dade0a0e6_4b3ea546-8b83-4014-ab14-9496084147eb.webp?v=1714708439","width":2000},{"alt":null,"id":23876025581667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442","width":2000},{"alt":null,"id":23876026007651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b7160059cb58db56ef73f2fc633c1de8e7aee13_7d3d139a-8f64-4558-a3e6-51404e01453f.webp?v=1714708445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b7160059cb58db56ef73f2fc633c1de8e7aee13_7d3d139a-8f64-4558-a3e6-51404e01453f.webp?v=1714708445","width":2000},{"alt":null,"id":23876026335331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882356711523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471120384099,"product_id":7408071934051,"position":8,"created_at":"2024-05-03T11:54:02+08:00","updated_at":"2024-05-03T11:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442","variant_ids":[41882356711523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB28","featured_media":{"alt":null,"id":23876025581667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882356777059,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471117566051,"product_id":7408071934051,"position":3,"created_at":"2024-05-03T11:53:49+08:00","updated_at":"2024-05-03T11:53:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429","variant_ids":[41882356777059]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB28","featured_media":{"alt":null,"id":23876022796387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce8b659c0afc6395ff8dbfdfc983c89fc1b838f_ec441142-3271-4815-ac19-96596c6891f4.webp?v=1714708429"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882357006435,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471121104995,"product_id":7408071934051,"position":10,"created_at":"2024-05-03T11:54:08+08:00","updated_at":"2024-05-03T11:54:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448","variant_ids":[41882357006435]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB28","featured_media":{"alt":null,"id":23876026335331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da169e8f0e1da3ae721de187344aa906751bcf7c_1e6c7f3a-b006-4dc1-a2ba-cd22a2425f8e.webp?v=1714708448"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882356711523,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB28","requires_shipping":true,"taxable":true,"featured_image":{"id":31471120384099,"product_id":7408071934051,"position":8,"created_at":"2024-05-03T11:54:02+08:00","updated_at":"2024-05-03T11:54:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442","variant_ids":[41882356711523]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP X戰機 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB28","featured_media":{"alt":null,"id":23876025581667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de4ae778289bc1102778854d3dc8a024a368a1e7_ae2f1e60-cfaa-4337-8f86-a54fdd680232.webp?v=1714708442"}},"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: "停產" }