$product = {"id":7408168337507,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星際大戰徽章-潮流系列","handle":"iphone-13-mini-mod-nx-printable-pb50","description":null,"published_at":"2024-06-11T16:33:14+08:00","created_at":"2024-05-03T12:13:08+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":41883438547043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471368306787,"product_id":7408168337507,"position":4,"created_at":"2024-05-03T12:13:19+08:00","updated_at":"2024-05-03T12:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599","variant_ids":[41883438547043]},"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-PB50","featured_media":{"alt":null,"id":23876274323555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883438612579,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471369224291,"product_id":7408168337507,"position":6,"created_at":"2024-05-03T12:13:23+08:00","updated_at":"2024-05-03T12:13:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603","variant_ids":[41883438612579]},"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-PB50","featured_media":{"alt":null,"id":23876275339363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883438841955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471365488739,"product_id":7408168337507,"position":1,"created_at":"2024-05-03T12:13:11+08:00","updated_at":"2024-05-03T12:13:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591","variant_ids":[41883438841955]},"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-PB50","featured_media":{"alt":null,"id":23876271439971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2eab5af18942438a0e01d49b12500ad8ff072ef_20941733-c711-4852-be64-020f5cb3c699.webp?v=1714709594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee292e744868cd53b38945d873393ced1cb63aae_a38d67a5-918b-4734-9828-305e9997f9d3.webp?v=1714709596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63a3a54c0bb06b0e047ec8f391d1a197442175f0_30d2e241-9458-4e33-9369-7842dc8551e6.webp?v=1714709601","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c778ae8b7efe891ef57a63bd65265d41f31335af_99b2ba52-0965-4132-8c64-dadaf56ccbd9.webp?v=1714709606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e818fb02ec8cab655448880739781e21abd265a_7fa54e29-c6d5-4185-9155-265ead3c773a.webp?v=1714709608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f81b78d3ed013c40edfe6715988d88fa40331912_42671262-b51f-4506-bf7a-12511ac902e4.webp?v=1714709611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1b979b4da6e343404df3e57106520aa62062910_cfbe8e80-8154-42b1-82b2-b6996c33a82d.webp?v=1714709613"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591","options":["color"],"media":[{"alt":null,"id":23876271439971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591","width":2000},{"alt":null,"id":23876273242211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2eab5af18942438a0e01d49b12500ad8ff072ef_20941733-c711-4852-be64-020f5cb3c699.webp?v=1714709594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2eab5af18942438a0e01d49b12500ad8ff072ef_20941733-c711-4852-be64-020f5cb3c699.webp?v=1714709594","width":2000},{"alt":null,"id":23876273799267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee292e744868cd53b38945d873393ced1cb63aae_a38d67a5-918b-4734-9828-305e9997f9d3.webp?v=1714709596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee292e744868cd53b38945d873393ced1cb63aae_a38d67a5-918b-4734-9828-305e9997f9d3.webp?v=1714709596","width":2000},{"alt":null,"id":23876274323555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599","width":2000},{"alt":null,"id":23876274847843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63a3a54c0bb06b0e047ec8f391d1a197442175f0_30d2e241-9458-4e33-9369-7842dc8551e6.webp?v=1714709601"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63a3a54c0bb06b0e047ec8f391d1a197442175f0_30d2e241-9458-4e33-9369-7842dc8551e6.webp?v=1714709601","width":2000},{"alt":null,"id":23876275339363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603","width":2000},{"alt":null,"id":23876275765347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c778ae8b7efe891ef57a63bd65265d41f31335af_99b2ba52-0965-4132-8c64-dadaf56ccbd9.webp?v=1714709606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c778ae8b7efe891ef57a63bd65265d41f31335af_99b2ba52-0965-4132-8c64-dadaf56ccbd9.webp?v=1714709606","width":2000},{"alt":null,"id":23876276289635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e818fb02ec8cab655448880739781e21abd265a_7fa54e29-c6d5-4185-9155-265ead3c773a.webp?v=1714709608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e818fb02ec8cab655448880739781e21abd265a_7fa54e29-c6d5-4185-9155-265ead3c773a.webp?v=1714709608","width":2000},{"alt":null,"id":23876276715619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f81b78d3ed013c40edfe6715988d88fa40331912_42671262-b51f-4506-bf7a-12511ac902e4.webp?v=1714709611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f81b78d3ed013c40edfe6715988d88fa40331912_42671262-b51f-4506-bf7a-12511ac902e4.webp?v=1714709611","width":2000},{"alt":null,"id":23876277239907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1b979b4da6e343404df3e57106520aa62062910_cfbe8e80-8154-42b1-82b2-b6996c33a82d.webp?v=1714709613"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1b979b4da6e343404df3e57106520aa62062910_cfbe8e80-8154-42b1-82b2-b6996c33a82d.webp?v=1714709613","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883438547043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471368306787,"product_id":7408168337507,"position":4,"created_at":"2024-05-03T12:13:19+08:00","updated_at":"2024-05-03T12:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599","variant_ids":[41883438547043]},"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-PB50","featured_media":{"alt":null,"id":23876274323555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883438612579,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471369224291,"product_id":7408168337507,"position":6,"created_at":"2024-05-03T12:13:23+08:00","updated_at":"2024-05-03T12:13:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603","variant_ids":[41883438612579]},"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-PB50","featured_media":{"alt":null,"id":23876275339363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ab55865d1e4c207d05c875d8204d44e6f567220_989d74eb-d8ce-47ad-b5cb-9732a4176c84.webp?v=1714709603"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883438841955,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471365488739,"product_id":7408168337507,"position":1,"created_at":"2024-05-03T12:13:11+08:00","updated_at":"2024-05-03T12:13:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591","variant_ids":[41883438841955]},"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-PB50","featured_media":{"alt":null,"id":23876271439971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526847c66f3ac5a5be9af6d45ea7f7c0685e7a15_d422598c-9031-4a9f-88d6-686cbd658bed.webp?v=1714709591"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883438547043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31471368306787,"product_id":7408168337507,"position":4,"created_at":"2024-05-03T12:13:19+08:00","updated_at":"2024-05-03T12:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599","variant_ids":[41883438547043]},"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-PB50","featured_media":{"alt":null,"id":23876274323555,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e908491761f7b52d0cc5a417eb5b4b8f7e124e99_df403591-a42f-4be8-b0de-767ee4c06ce2.webp?v=1714709599"}},"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: "停產" }