$product = {"id":7408184852579,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白","handle":"iphone-13-mini-mod-nx-printable-pb14","description":null,"published_at":"2024-06-11T16:33:40+08:00","created_at":"2024-05-03T12:16:28+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":41883618050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471414149219,"product_id":7408184852579,"position":7,"created_at":"2024-05-03T12:16:44+08:00","updated_at":"2024-05-03T12:16:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804","variant_ids":[41883618050147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876320428131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883618115683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471415656547,"product_id":7408184852579,"position":9,"created_at":"2024-05-03T12:16:49+08:00","updated_at":"2024-05-03T12:16:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809","variant_ids":[41883618115683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876321968227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883618345059,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471413330019,"product_id":7408184852579,"position":6,"created_at":"2024-05-03T12:16:41+08:00","updated_at":"2024-05-03T12:16:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801","variant_ids":[41883618345059]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876319608931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1595e46596e7ff70da43a9543f2dee4e5508e88_96ef6d36-513f-4a84-b242-d6d9f4972d96.webp?v=1714709790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbf04581c3a8b238abc6d3b447d412d0e57af438_e2ae6818-9880-43ad-ba1c-1f683489db2b.webp?v=1714709792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3026cef2e4b7bd3d83d4946184714e90b699b45f_bab14a77-7fe3-4bf6-8be0-64cea508fc5a.webp?v=1714709795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c14d021e844315eaabfc91420deb59b05f3154_f13b266f-2e4a-42ea-b56d-07317eed8b7f.webp?v=1714709797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8235fa6e49b28ede98502b0e7a7b2d42af9ca38c_84eb8ae6-3c06-459d-9120-86414aace2f7.webp?v=1714709799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4d86df0549812dad4a29693b8dbbec603503b9_46a70031-6755-4ef2-a880-2b4d1f9dcdd9.webp?v=1714709806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2bb499818749f09eabac67d51f5675a0051ace3_114dadc8-86d5-46c6-874b-9de4548a9179.webp?v=1714709811"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1595e46596e7ff70da43a9543f2dee4e5508e88_96ef6d36-513f-4a84-b242-d6d9f4972d96.webp?v=1714709790","options":["color"],"media":[{"alt":null,"id":23876317216867,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1595e46596e7ff70da43a9543f2dee4e5508e88_96ef6d36-513f-4a84-b242-d6d9f4972d96.webp?v=1714709790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1595e46596e7ff70da43a9543f2dee4e5508e88_96ef6d36-513f-4a84-b242-d6d9f4972d96.webp?v=1714709790","width":2000},{"alt":null,"id":23876317773923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbf04581c3a8b238abc6d3b447d412d0e57af438_e2ae6818-9880-43ad-ba1c-1f683489db2b.webp?v=1714709792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbf04581c3a8b238abc6d3b447d412d0e57af438_e2ae6818-9880-43ad-ba1c-1f683489db2b.webp?v=1714709792","width":2000},{"alt":null,"id":23876318232675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3026cef2e4b7bd3d83d4946184714e90b699b45f_bab14a77-7fe3-4bf6-8be0-64cea508fc5a.webp?v=1714709795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3026cef2e4b7bd3d83d4946184714e90b699b45f_bab14a77-7fe3-4bf6-8be0-64cea508fc5a.webp?v=1714709795","width":2000},{"alt":null,"id":23876318658659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c14d021e844315eaabfc91420deb59b05f3154_f13b266f-2e4a-42ea-b56d-07317eed8b7f.webp?v=1714709797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c14d021e844315eaabfc91420deb59b05f3154_f13b266f-2e4a-42ea-b56d-07317eed8b7f.webp?v=1714709797","width":2000},{"alt":null,"id":23876319215715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8235fa6e49b28ede98502b0e7a7b2d42af9ca38c_84eb8ae6-3c06-459d-9120-86414aace2f7.webp?v=1714709799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8235fa6e49b28ede98502b0e7a7b2d42af9ca38c_84eb8ae6-3c06-459d-9120-86414aace2f7.webp?v=1714709799","width":2000},{"alt":null,"id":23876319608931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801","width":2000},{"alt":null,"id":23876320428131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804","width":2000},{"alt":null,"id":23876321443939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4d86df0549812dad4a29693b8dbbec603503b9_46a70031-6755-4ef2-a880-2b4d1f9dcdd9.webp?v=1714709806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4d86df0549812dad4a29693b8dbbec603503b9_46a70031-6755-4ef2-a880-2b4d1f9dcdd9.webp?v=1714709806","width":2000},{"alt":null,"id":23876321968227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809","width":2000},{"alt":null,"id":23876322492515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2bb499818749f09eabac67d51f5675a0051ace3_114dadc8-86d5-46c6-874b-9de4548a9179.webp?v=1714709811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2bb499818749f09eabac67d51f5675a0051ace3_114dadc8-86d5-46c6-874b-9de4548a9179.webp?v=1714709811","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41883618050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471414149219,"product_id":7408184852579,"position":7,"created_at":"2024-05-03T12:16:44+08:00","updated_at":"2024-05-03T12:16:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804","variant_ids":[41883618050147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876320428131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883618115683,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471415656547,"product_id":7408184852579,"position":9,"created_at":"2024-05-03T12:16:49+08:00","updated_at":"2024-05-03T12:16:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809","variant_ids":[41883618115683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876321968227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d960582513898f9ce8adc2c9a19b0f596120229_87b76212-c5ff-45fb-8354-53549942d2f7.webp?v=1714709809"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883618345059,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471413330019,"product_id":7408184852579,"position":6,"created_at":"2024-05-03T12:16:41+08:00","updated_at":"2024-05-03T12:16:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801","variant_ids":[41883618345059]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876319608931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38a81dea8b7d48d2eb822dc0e3f340af3f5794da_fec06614-41fc-423e-9247-930801d39590.webp?v=1714709801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883618050147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471414149219,"product_id":7408184852579,"position":7,"created_at":"2024-05-03T12:16:44+08:00","updated_at":"2024-05-03T12:16:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804","variant_ids":[41883618050147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - 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-PB14","featured_media":{"alt":null,"id":23876320428131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33cbe793f960df25173414e80f7e189cda27e8f_08aa8429-4f41-4f7f-9f2b-dca796607b47.webp?v=1714709804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }