$product = {"id":7369210789987,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡","handle":"iphone-13-mini-mod-nx-magsafe-printable-pl64","description":null,"published_at":"2024-06-11T17:31:31+08:00","created_at":"2024-04-23T15:45:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793642922083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387076821091,"product_id":7369210789987,"position":4,"created_at":"2024-04-23T15:45:29+08:00","updated_at":"2024-04-23T15:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329","variant_ids":[41793642922083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB0122824-PL64","featured_media":{"alt":null,"id":23789315555427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793642987619,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387077541987,"product_id":7369210789987,"position":5,"created_at":"2024-04-23T15:45:31+08:00","updated_at":"2024-04-23T15:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331","variant_ids":[41793642987619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB0122804-PL64","featured_media":{"alt":null,"id":23789316210787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793643216995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387077902435,"product_id":7369210789987,"position":6,"created_at":"2024-04-23T15:45:33+08:00","updated_at":"2024-04-23T15:45:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333","variant_ids":[41793643216995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB01228J5-PL64","featured_media":{"alt":null,"id":23789316571235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c27f57d6ea569faeb54a51c55dfbf719d784f_ebc86883-18c1-4912-b6e0-9e078fc7f66b.webp?v=1713858322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e433e2d07dd4bf6a1975d945f8a642a4c017a634_9e896e07-8407-4a20-8af3-a84fbcb09c8d.webp?v=1713858324","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8844e278a44659a12ab767ac537e2e6b3a2cf58a_32340b6d-bd2d-43e8-bf51-5d1ec263d265.webp?v=1713858326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0486de204c3376c0a98ad4518a58b8db253729f3_32cb6424-bb74-4cfa-a9c0-4c0ed11d529f.webp?v=1713858335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7d3641716e08ef470f887b7128492594b063b8_dd999893-e5e8-4a4f-87cc-571f4e497180.webp?v=1713858338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b43dab9a3be8eb17407d37a54a65edabc1855e1e_b429c22d-9fdb-4db5-8944-bbe11afcbf25.webp?v=1713858340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2099923889c46447f575bd466f8c304351fbf26f_ca5edf50-d14c-4466-b215-bbc18bc2b1a2.webp?v=1713858343"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c27f57d6ea569faeb54a51c55dfbf719d784f_ebc86883-18c1-4912-b6e0-9e078fc7f66b.webp?v=1713858322","options":["color"],"media":[{"alt":null,"id":23789313818723,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c27f57d6ea569faeb54a51c55dfbf719d784f_ebc86883-18c1-4912-b6e0-9e078fc7f66b.webp?v=1713858322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb8c27f57d6ea569faeb54a51c55dfbf719d784f_ebc86883-18c1-4912-b6e0-9e078fc7f66b.webp?v=1713858322","width":2000},{"alt":null,"id":23789314441315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e433e2d07dd4bf6a1975d945f8a642a4c017a634_9e896e07-8407-4a20-8af3-a84fbcb09c8d.webp?v=1713858324"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e433e2d07dd4bf6a1975d945f8a642a4c017a634_9e896e07-8407-4a20-8af3-a84fbcb09c8d.webp?v=1713858324","width":2000},{"alt":null,"id":23789314965603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8844e278a44659a12ab767ac537e2e6b3a2cf58a_32340b6d-bd2d-43e8-bf51-5d1ec263d265.webp?v=1713858326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8844e278a44659a12ab767ac537e2e6b3a2cf58a_32340b6d-bd2d-43e8-bf51-5d1ec263d265.webp?v=1713858326","width":2000},{"alt":null,"id":23789315555427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329","width":2000},{"alt":null,"id":23789316210787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331","width":2000},{"alt":null,"id":23789316571235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333","width":2000},{"alt":null,"id":23789317226595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0486de204c3376c0a98ad4518a58b8db253729f3_32cb6424-bb74-4cfa-a9c0-4c0ed11d529f.webp?v=1713858335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0486de204c3376c0a98ad4518a58b8db253729f3_32cb6424-bb74-4cfa-a9c0-4c0ed11d529f.webp?v=1713858335","width":2000},{"alt":null,"id":23789317587043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7d3641716e08ef470f887b7128492594b063b8_dd999893-e5e8-4a4f-87cc-571f4e497180.webp?v=1713858338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be7d3641716e08ef470f887b7128492594b063b8_dd999893-e5e8-4a4f-87cc-571f4e497180.webp?v=1713858338","width":2000},{"alt":null,"id":23789318209635,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b43dab9a3be8eb17407d37a54a65edabc1855e1e_b429c22d-9fdb-4db5-8944-bbe11afcbf25.webp?v=1713858340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b43dab9a3be8eb17407d37a54a65edabc1855e1e_b429c22d-9fdb-4db5-8944-bbe11afcbf25.webp?v=1713858340","width":2000},{"alt":null,"id":23789318733923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2099923889c46447f575bd466f8c304351fbf26f_ca5edf50-d14c-4466-b215-bbc18bc2b1a2.webp?v=1713858343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2099923889c46447f575bd466f8c304351fbf26f_ca5edf50-d14c-4466-b215-bbc18bc2b1a2.webp?v=1713858343","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793642922083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387076821091,"product_id":7369210789987,"position":4,"created_at":"2024-04-23T15:45:29+08:00","updated_at":"2024-04-23T15:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329","variant_ids":[41793642922083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB0122824-PL64","featured_media":{"alt":null,"id":23789315555427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793642987619,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387077541987,"product_id":7369210789987,"position":5,"created_at":"2024-04-23T15:45:31+08:00","updated_at":"2024-04-23T15:45:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331","variant_ids":[41793642987619]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB0122804-PL64","featured_media":{"alt":null,"id":23789316210787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/134e01732119ddc09109cdb8519d6b9e0afc16cd_4da60dec-b6a8-47b5-b63a-c49bad4d8229.webp?v=1713858331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793643216995,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387077902435,"product_id":7369210789987,"position":6,"created_at":"2024-04-23T15:45:33+08:00","updated_at":"2024-04-23T15:45:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333","variant_ids":[41793643216995]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB01228J5-PL64","featured_media":{"alt":null,"id":23789316571235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f0f649abe8d3d5f6bd4e2d6637de348f1a5d05_253cae18-c992-4a0f-8739-e73ee87c279d.webp?v=1713858333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793642922083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31387076821091,"product_id":7369210789987,"position":4,"created_at":"2024-04-23T15:45:29+08:00","updated_at":"2024-04-23T15:45:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329","variant_ids":[41793642922083]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 愛心墨鏡 - 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":"MPB0122824-PL64","featured_media":{"alt":null,"id":23789315555427,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d650e08cf2446ba41af0857d2c90cec8cc07f791_ac03c45b-5be9-4b1d-94a8-553adc064929.webp?v=1713858329"}},"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: "停產" }