$product = {"id":7369205219427,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Snoopy 史努比 - 曬太陽","handle":"iphone-14-pro-mod-nx-magsafe-printable-pl63","description":null,"published_at":"2024-06-11T17:31:25+08:00","created_at":"2024-04-23T15:44:23+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 14 Pro","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":41793588822115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064205411,"product_id":7369205219427,"position":6,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278","variant_ids":[41793588822115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL63","featured_media":{"alt":null,"id":23789302841443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793588887651,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387063484515,"product_id":7369205219427,"position":5,"created_at":"2024-04-23T15:44:35+08:00","updated_at":"2024-04-23T15:44:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275","variant_ids":[41793588887651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-PL63","featured_media":{"alt":null,"id":23789302186083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793589117027,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387061682275,"product_id":7369205219427,"position":2,"created_at":"2024-04-23T15:44:28+08:00","updated_at":"2024-04-23T15:44:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268","variant_ids":[41793589117027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-PL63","featured_media":{"alt":null,"id":23789300318307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72446438c40dfbbde0624f1fc9a5dce6dd86795_2a210af6-3dd1-444b-8530-3e65eeaebfa7.webp?v=1713858265","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea877c7dbd20cf841fe1d17a28744155022126e_80387871-5073-40af-886f-bc1b8031d439.webp?v=1713858270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88020a12e5bafcfbc6644cb95b812746837f1fae_aa23ae98-8167-48d6-92ac-b58f2c43d1cd.webp?v=1713858273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df00c3a9ac0e87366660936598532003a14a048_bfb82549-a4b9-4a95-8fe8-bbffca4370b7.webp?v=1713858281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb03fe5e149288e642f6bc9a1692f60d3d9c21d9_e77240de-c24a-43d8-a62b-39d6e5d858ef.webp?v=1713858284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6beb14aaae8a9c6beb962c2a5450fb9d1cd73d1b_4add75be-db25-4b04-8e3d-db4f3e3a1138.webp?v=1713858286","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcb4b270f802369cbd92c4bf25536932c5778cd_8a85c725-97c7-4638-89e7-649d6ddf18dc.webp?v=1713858288"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72446438c40dfbbde0624f1fc9a5dce6dd86795_2a210af6-3dd1-444b-8530-3e65eeaebfa7.webp?v=1713858265","options":["color"],"media":[{"alt":null,"id":23789299695715,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72446438c40dfbbde0624f1fc9a5dce6dd86795_2a210af6-3dd1-444b-8530-3e65eeaebfa7.webp?v=1713858265"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c72446438c40dfbbde0624f1fc9a5dce6dd86795_2a210af6-3dd1-444b-8530-3e65eeaebfa7.webp?v=1713858265","width":2000},{"alt":null,"id":23789300318307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268","width":2000},{"alt":null,"id":23789300908131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea877c7dbd20cf841fe1d17a28744155022126e_80387871-5073-40af-886f-bc1b8031d439.webp?v=1713858270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ea877c7dbd20cf841fe1d17a28744155022126e_80387871-5073-40af-886f-bc1b8031d439.webp?v=1713858270","width":2000},{"alt":null,"id":23789301563491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88020a12e5bafcfbc6644cb95b812746837f1fae_aa23ae98-8167-48d6-92ac-b58f2c43d1cd.webp?v=1713858273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88020a12e5bafcfbc6644cb95b812746837f1fae_aa23ae98-8167-48d6-92ac-b58f2c43d1cd.webp?v=1713858273","width":2000},{"alt":null,"id":23789302186083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275","width":2000},{"alt":null,"id":23789302841443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278","width":2000},{"alt":null,"id":23789303398499,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df00c3a9ac0e87366660936598532003a14a048_bfb82549-a4b9-4a95-8fe8-bbffca4370b7.webp?v=1713858281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df00c3a9ac0e87366660936598532003a14a048_bfb82549-a4b9-4a95-8fe8-bbffca4370b7.webp?v=1713858281","width":2000},{"alt":null,"id":23789304152163,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb03fe5e149288e642f6bc9a1692f60d3d9c21d9_e77240de-c24a-43d8-a62b-39d6e5d858ef.webp?v=1713858284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb03fe5e149288e642f6bc9a1692f60d3d9c21d9_e77240de-c24a-43d8-a62b-39d6e5d858ef.webp?v=1713858284","width":2000},{"alt":null,"id":23789304807523,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6beb14aaae8a9c6beb962c2a5450fb9d1cd73d1b_4add75be-db25-4b04-8e3d-db4f3e3a1138.webp?v=1713858286"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6beb14aaae8a9c6beb962c2a5450fb9d1cd73d1b_4add75be-db25-4b04-8e3d-db4f3e3a1138.webp?v=1713858286","width":2000},{"alt":null,"id":23789305299043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcb4b270f802369cbd92c4bf25536932c5778cd_8a85c725-97c7-4638-89e7-649d6ddf18dc.webp?v=1713858288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcb4b270f802369cbd92c4bf25536932c5778cd_8a85c725-97c7-4638-89e7-649d6ddf18dc.webp?v=1713858288","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793588822115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064205411,"product_id":7369205219427,"position":6,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278","variant_ids":[41793588822115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL63","featured_media":{"alt":null,"id":23789302841443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793588887651,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387063484515,"product_id":7369205219427,"position":5,"created_at":"2024-04-23T15:44:35+08:00","updated_at":"2024-04-23T15:44:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275","variant_ids":[41793588887651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126204-PL63","featured_media":{"alt":null,"id":23789302186083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f68f3b2711fd96c016d56149d21741a81a631a4_8a3fbdae-b7e7-4add-8718-ef463d33ff67.webp?v=1713858275"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793589117027,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387061682275,"product_id":7369205219427,"position":2,"created_at":"2024-04-23T15:44:28+08:00","updated_at":"2024-04-23T15:44:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268","variant_ids":[41793589117027]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB01262J5-PL63","featured_media":{"alt":null,"id":23789300318307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4be61bdc7e3b7657a3e445fdd41c8324aeb7a199_d260f98f-495f-4e96-94e0-bf14fbb8e7ef.webp?v=1713858268"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793588822115,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387064205411,"product_id":7369205219427,"position":6,"created_at":"2024-04-23T15:44:38+08:00","updated_at":"2024-04-23T15:44:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278","variant_ids":[41793588822115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 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":"MPB0126224-PL63","featured_media":{"alt":null,"id":23789302841443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2ab48b13f68c782b6b3274f1c0eb084cd1e2ae7_be7c613f-66e9-4ba5-b594-d42c70cb3ada.webp?v=1713858278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }