$product = {"id":7414240804963,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑","handle":"iphone-13-mini-mod-nx-magsafe-printable-sb13","description":null,"published_at":"2024-06-11T17:50:11+08:00","created_at":"2024-05-05T14:18:06+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","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":41905129357411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484990390371,"product_id":7414240804963,"position":2,"created_at":"2024-05-05T14:18:10+08:00","updated_at":"2024-05-05T14:18:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891","variant_ids":[41905129357411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890304761955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905129586787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484997992547,"product_id":7414240804963,"position":8,"created_at":"2024-05-05T14:18:25+08:00","updated_at":"2024-05-05T14:18:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905","variant_ids":[41905129586787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890312265827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905129914467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484996616291,"product_id":7414240804963,"position":7,"created_at":"2024-05-05T14:18:22+08:00","updated_at":"2024-05-05T14:18:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902","variant_ids":[41905129914467]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890310955107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9bf522c8dc9f10afe746646b55b0a4f5476e7d4_7473a66a-d64b-4416-ab41-a77958412e12.webp?v=1714889888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d939eb14f31514e0deb38d07a6bc8479d63ef3_be6e8ebd-e3aa-4951-a632-e4a1f218f9d0.webp?v=1714889893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2094febee202732d35bcedf6d6125752e661faf4_0acb7e5e-e7ef-4823-8d95-e586283e87d5.webp?v=1714889895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e8191302a7add527624cbdebf8a7654101b3e84_472507cc-49d0-4bf4-9145-187cffaf6ffb.webp?v=1714889897","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daba94c6f55a4f79eeb2fd7280c1abb8b90a057b_6646f2b6-1eea-4f57-ac22-d6d4e8c38ea8.webp?v=1714889900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce120cb134c66571fdfe5edce06c798b519f818_6564de70-d5c1-4b1c-9354-765768a9f1e7.webp?v=1714889907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e188fca3d9f9fc97fb3fdc5d9762b81bb2f161f3_c71a2c07-f240-45b9-969a-d2b3e7398659.webp?v=1714889909"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9bf522c8dc9f10afe746646b55b0a4f5476e7d4_7473a66a-d64b-4416-ab41-a77958412e12.webp?v=1714889888","options":["color"],"media":[{"alt":null,"id":23890303484003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9bf522c8dc9f10afe746646b55b0a4f5476e7d4_7473a66a-d64b-4416-ab41-a77958412e12.webp?v=1714889888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9bf522c8dc9f10afe746646b55b0a4f5476e7d4_7473a66a-d64b-4416-ab41-a77958412e12.webp?v=1714889888","width":2000},{"alt":null,"id":23890304761955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891","width":2000},{"alt":null,"id":23890305876067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d939eb14f31514e0deb38d07a6bc8479d63ef3_be6e8ebd-e3aa-4951-a632-e4a1f218f9d0.webp?v=1714889893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d939eb14f31514e0deb38d07a6bc8479d63ef3_be6e8ebd-e3aa-4951-a632-e4a1f218f9d0.webp?v=1714889893","width":2000},{"alt":null,"id":23890306957411,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2094febee202732d35bcedf6d6125752e661faf4_0acb7e5e-e7ef-4823-8d95-e586283e87d5.webp?v=1714889895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2094febee202732d35bcedf6d6125752e661faf4_0acb7e5e-e7ef-4823-8d95-e586283e87d5.webp?v=1714889895","width":2000},{"alt":null,"id":23890308169827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e8191302a7add527624cbdebf8a7654101b3e84_472507cc-49d0-4bf4-9145-187cffaf6ffb.webp?v=1714889897"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e8191302a7add527624cbdebf8a7654101b3e84_472507cc-49d0-4bf4-9145-187cffaf6ffb.webp?v=1714889897","width":2000},{"alt":null,"id":23890309578851,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daba94c6f55a4f79eeb2fd7280c1abb8b90a057b_6646f2b6-1eea-4f57-ac22-d6d4e8c38ea8.webp?v=1714889900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/daba94c6f55a4f79eeb2fd7280c1abb8b90a057b_6646f2b6-1eea-4f57-ac22-d6d4e8c38ea8.webp?v=1714889900","width":2000},{"alt":null,"id":23890310955107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902","width":2000},{"alt":null,"id":23890312265827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905","width":2000},{"alt":null,"id":23890313347171,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce120cb134c66571fdfe5edce06c798b519f818_6564de70-d5c1-4b1c-9354-765768a9f1e7.webp?v=1714889907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ce120cb134c66571fdfe5edce06c798b519f818_6564de70-d5c1-4b1c-9354-765768a9f1e7.webp?v=1714889907","width":2000},{"alt":null,"id":23890314526819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e188fca3d9f9fc97fb3fdc5d9762b81bb2f161f3_c71a2c07-f240-45b9-969a-d2b3e7398659.webp?v=1714889909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e188fca3d9f9fc97fb3fdc5d9762b81bb2f161f3_c71a2c07-f240-45b9-969a-d2b3e7398659.webp?v=1714889909","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41905129357411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484990390371,"product_id":7414240804963,"position":2,"created_at":"2024-05-05T14:18:10+08:00","updated_at":"2024-05-05T14:18:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891","variant_ids":[41905129357411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890304761955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905129586787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484997992547,"product_id":7414240804963,"position":8,"created_at":"2024-05-05T14:18:25+08:00","updated_at":"2024-05-05T14:18:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905","variant_ids":[41905129586787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890312265827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a0f37c88957c45b01eb65149ad5aa5dd5afddcf_aaaf08a8-7b9c-4484-9f34-a026fa03dc84.webp?v=1714889905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905129914467,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484996616291,"product_id":7414240804963,"position":7,"created_at":"2024-05-05T14:18:22+08:00","updated_at":"2024-05-05T14:18:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902","variant_ids":[41905129914467]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890310955107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc13e433bd2b5e1431c6a0c47a716c24ff7bbea0_87fa43f8-453a-49b9-a494-d38a5c199108.webp?v=1714889902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41905129357411,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31484990390371,"product_id":7414240804963,"position":2,"created_at":"2024-05-05T14:18:10+08:00","updated_at":"2024-05-05T14:18:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891","variant_ids":[41905129357411]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 黑白畫風-小丑 - 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-SB13","featured_media":{"alt":null,"id":23890304761955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f82abbc1f2c2a2e9746cff08bceed56dab1cbcd_7c929e45-95c5-4d70-996f-025e18517c37.webp?v=1714889891"}},"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: "停產" }