$product = {"id":7407649521763,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白","handle":"iphone-14-pro-mod-nx-printable-pb18","description":null,"published_at":"2024-06-11T16:21:32+08:00","created_at":"2024-05-03T10:37:22+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 14 Pro","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":41877188804707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470150844515,"product_id":7407649521763,"position":3,"created_at":"2024-05-03T10:37:29+08:00","updated_at":"2024-05-03T10:37:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849","variant_ids":[41877188804707]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB18","featured_media":{"alt":null,"id":23875053748323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877188870243,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470148386915,"product_id":7407649521763,"position":1,"created_at":"2024-05-03T10:37:25+08:00","updated_at":"2024-05-03T10:37:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845","variant_ids":[41877188870243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB18","featured_media":{"alt":null,"id":23875051257955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877189132387,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470156611683,"product_id":7407649521763,"position":10,"created_at":"2024-05-03T10:37:48+08:00","updated_at":"2024-05-03T10:37:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868","variant_ids":[41877189132387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB18","featured_media":{"alt":null,"id":23875059417187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010e290a0cc5234d8d0cf91261ba8fd0dd934732_a47d1b0e-0500-417f-b590-0704860d412b.webp?v=1714703847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260c07f0d87017ca2ca240bffd05d1611ee819f6_2b950f11-c497-4183-bf1f-480e6c4d4492.webp?v=1714703852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1639062fc36a3c3781e8e523ad44041f5cd275c7_38ea4aff-94b1-422b-b744-e16df77562cb.webp?v=1714703854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d1f3a91258452f1ad508b3d6a6c8b7e3fdf9ac_9a4bc33a-625c-4ea6-bf78-9da95591343c.webp?v=1714703857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd68ae2e14461eb8b3d8d39126988c556683c51f_43187e64-3304-48c9-9113-01cff1b46a12.webp?v=1714703860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874587a9a4dcf166d9cfd62a56576d7d69a71422_bb3e95e7-b010-4113-9e46-b87bbd9f69f5.webp?v=1714703863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9514af0084dc7e7cd596f414796d6e0abc6f6721_d057a95e-00d7-4542-bc55-8805f7565591.webp?v=1714703865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845","options":["color"],"media":[{"alt":null,"id":23875051257955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845","width":2000},{"alt":null,"id":23875053060195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010e290a0cc5234d8d0cf91261ba8fd0dd934732_a47d1b0e-0500-417f-b590-0704860d412b.webp?v=1714703847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010e290a0cc5234d8d0cf91261ba8fd0dd934732_a47d1b0e-0500-417f-b590-0704860d412b.webp?v=1714703847","width":2000},{"alt":null,"id":23875053748323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849","width":2000},{"alt":null,"id":23875054665827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260c07f0d87017ca2ca240bffd05d1611ee819f6_2b950f11-c497-4183-bf1f-480e6c4d4492.webp?v=1714703852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260c07f0d87017ca2ca240bffd05d1611ee819f6_2b950f11-c497-4183-bf1f-480e6c4d4492.webp?v=1714703852","width":2000},{"alt":null,"id":23875055353955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1639062fc36a3c3781e8e523ad44041f5cd275c7_38ea4aff-94b1-422b-b744-e16df77562cb.webp?v=1714703854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1639062fc36a3c3781e8e523ad44041f5cd275c7_38ea4aff-94b1-422b-b744-e16df77562cb.webp?v=1714703854","width":2000},{"alt":null,"id":23875056304227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d1f3a91258452f1ad508b3d6a6c8b7e3fdf9ac_9a4bc33a-625c-4ea6-bf78-9da95591343c.webp?v=1714703857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d1f3a91258452f1ad508b3d6a6c8b7e3fdf9ac_9a4bc33a-625c-4ea6-bf78-9da95591343c.webp?v=1714703857","width":2000},{"alt":null,"id":23875057287267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd68ae2e14461eb8b3d8d39126988c556683c51f_43187e64-3304-48c9-9113-01cff1b46a12.webp?v=1714703860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd68ae2e14461eb8b3d8d39126988c556683c51f_43187e64-3304-48c9-9113-01cff1b46a12.webp?v=1714703860","width":2000},{"alt":null,"id":23875057844323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874587a9a4dcf166d9cfd62a56576d7d69a71422_bb3e95e7-b010-4113-9e46-b87bbd9f69f5.webp?v=1714703863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874587a9a4dcf166d9cfd62a56576d7d69a71422_bb3e95e7-b010-4113-9e46-b87bbd9f69f5.webp?v=1714703863","width":2000},{"alt":null,"id":23875058532451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9514af0084dc7e7cd596f414796d6e0abc6f6721_d057a95e-00d7-4542-bc55-8805f7565591.webp?v=1714703865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9514af0084dc7e7cd596f414796d6e0abc6f6721_d057a95e-00d7-4542-bc55-8805f7565591.webp?v=1714703865","width":2000},{"alt":null,"id":23875059417187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41877188804707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470150844515,"product_id":7407649521763,"position":3,"created_at":"2024-05-03T10:37:29+08:00","updated_at":"2024-05-03T10:37:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849","variant_ids":[41877188804707]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB18","featured_media":{"alt":null,"id":23875053748323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877188870243,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470148386915,"product_id":7407649521763,"position":1,"created_at":"2024-05-03T10:37:25+08:00","updated_at":"2024-05-03T10:37:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845","variant_ids":[41877188870243]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126204-PB18","featured_media":{"alt":null,"id":23875051257955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ceaa76cd25f533d85bdd8c9f4c23493b5466505_a5803355-de3c-4a68-ab60-de8eaafad1a5.webp?v=1714703845"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877189132387,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470156611683,"product_id":7407649521763,"position":10,"created_at":"2024-05-03T10:37:48+08:00","updated_at":"2024-05-03T10:37:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868","variant_ids":[41877189132387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB01262J5-PB18","featured_media":{"alt":null,"id":23875059417187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a5de9d7f5e9cb57306e76e943afb7df62f0aba7_4efd6536-9d20-4f2b-8506-5c0a366f581a.webp?v=1714703868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877188804707,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31470150844515,"product_id":7407649521763,"position":3,"created_at":"2024-05-03T10:37:29+08:00","updated_at":"2024-05-03T10:37:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849","variant_ids":[41877188804707]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0126224-PB18","featured_media":{"alt":null,"id":23875053748323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/856a1e0276335a4b12525530a834babb83ca6bd6_07013810-5d9f-4904-b930-6555b215b480.webp?v=1714703849"}},"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: "停產" }