$product = {"id":7408033103971,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列","handle":"iphone-13-mini-mod-nx-printable-pb98","description":null,"published_at":"2024-06-11T16:29:36+08:00","created_at":"2024-05-03T11:45:40+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":41881940623459,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026077795,"product_id":7408033103971,"position":7,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959","variant_ids":[41881940623459]},"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-PB98","featured_media":{"alt":null,"id":23875931078755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881940688995,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026438243,"product_id":7408033103971,"position":8,"created_at":"2024-05-03T11:46:02+08:00","updated_at":"2024-05-03T11:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962","variant_ids":[41881940688995]},"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-PB98","featured_media":{"alt":null,"id":23875931471971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881940918371,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471023947875,"product_id":7408033103971,"position":3,"created_at":"2024-05-03T11:45:48+08:00","updated_at":"2024-05-03T11:45:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948","variant_ids":[41881940918371]},"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-PB98","featured_media":{"alt":null,"id":23875928981603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcdeec692a618c9731dc59b81efda8abd9303c4_1b74bd87-9863-4885-b167-56420a82c573.webp?v=1714707943","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f766017c6a161a7b61811f493af3372a21c53ba5_30c835ca-3a45-48ed-b9d6-b1f16b895ce0.webp?v=1714707945","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baddca696705f05c203a9f90c99ef9762923d02_5334a63a-61ee-4a80-b276-f2c2466ef73a.webp?v=1714707950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38027d5ba17fc9405ede4ff67c25b1c47d0127a6_646d21f8-6544-43fa-a379-1af86a3bd826.webp?v=1714707953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2a945cd5c7d23e5292b056fe65701c71e8f4112_f954e097-05e3-41d9-b029-7596d61a1285.webp?v=1714707956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3474adb9c29a6b0411daeba502262047070f2f02_743954f6-a49c-41c3-a32e-3722c0930942.webp?v=1714707964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e72d43b59aa0262e97dbb3433e13e89468838385_aec943b6-8404-495e-90ea-a117ee885ae2.webp?v=1714707967"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcdeec692a618c9731dc59b81efda8abd9303c4_1b74bd87-9863-4885-b167-56420a82c573.webp?v=1714707943","options":["color"],"media":[{"alt":null,"id":23875927900259,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcdeec692a618c9731dc59b81efda8abd9303c4_1b74bd87-9863-4885-b167-56420a82c573.webp?v=1714707943"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adcdeec692a618c9731dc59b81efda8abd9303c4_1b74bd87-9863-4885-b167-56420a82c573.webp?v=1714707943","width":2000},{"alt":null,"id":23875928719459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f766017c6a161a7b61811f493af3372a21c53ba5_30c835ca-3a45-48ed-b9d6-b1f16b895ce0.webp?v=1714707945"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f766017c6a161a7b61811f493af3372a21c53ba5_30c835ca-3a45-48ed-b9d6-b1f16b895ce0.webp?v=1714707945","width":2000},{"alt":null,"id":23875928981603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948","width":2000},{"alt":null,"id":23875929669731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baddca696705f05c203a9f90c99ef9762923d02_5334a63a-61ee-4a80-b276-f2c2466ef73a.webp?v=1714707950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1baddca696705f05c203a9f90c99ef9762923d02_5334a63a-61ee-4a80-b276-f2c2466ef73a.webp?v=1714707950","width":2000},{"alt":null,"id":23875930194019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38027d5ba17fc9405ede4ff67c25b1c47d0127a6_646d21f8-6544-43fa-a379-1af86a3bd826.webp?v=1714707953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38027d5ba17fc9405ede4ff67c25b1c47d0127a6_646d21f8-6544-43fa-a379-1af86a3bd826.webp?v=1714707953","width":2000},{"alt":null,"id":23875930488931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2a945cd5c7d23e5292b056fe65701c71e8f4112_f954e097-05e3-41d9-b029-7596d61a1285.webp?v=1714707956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2a945cd5c7d23e5292b056fe65701c71e8f4112_f954e097-05e3-41d9-b029-7596d61a1285.webp?v=1714707956","width":2000},{"alt":null,"id":23875931078755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959","width":2000},{"alt":null,"id":23875931471971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962","width":2000},{"alt":null,"id":23875931963491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3474adb9c29a6b0411daeba502262047070f2f02_743954f6-a49c-41c3-a32e-3722c0930942.webp?v=1714707964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3474adb9c29a6b0411daeba502262047070f2f02_743954f6-a49c-41c3-a32e-3722c0930942.webp?v=1714707964","width":2000},{"alt":null,"id":23875932323939,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e72d43b59aa0262e97dbb3433e13e89468838385_aec943b6-8404-495e-90ea-a117ee885ae2.webp?v=1714707967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e72d43b59aa0262e97dbb3433e13e89468838385_aec943b6-8404-495e-90ea-a117ee885ae2.webp?v=1714707967","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881940623459,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026077795,"product_id":7408033103971,"position":7,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959","variant_ids":[41881940623459]},"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-PB98","featured_media":{"alt":null,"id":23875931078755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881940688995,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026438243,"product_id":7408033103971,"position":8,"created_at":"2024-05-03T11:46:02+08:00","updated_at":"2024-05-03T11:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962","variant_ids":[41881940688995]},"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-PB98","featured_media":{"alt":null,"id":23875931471971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5ed44b9694fa7f65d3c458c40e9a1b570b0e76d_c067dc48-a4c1-4911-9c3c-68f16cd966be.webp?v=1714707962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881940918371,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471023947875,"product_id":7408033103971,"position":3,"created_at":"2024-05-03T11:45:48+08:00","updated_at":"2024-05-03T11:45:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948","variant_ids":[41881940918371]},"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-PB98","featured_media":{"alt":null,"id":23875928981603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/588af0a5356264cdaba0d851fbbebf1575d531ee_7360cbd9-297f-442a-9add-7a50cc22321b.webp?v=1714707948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881940623459,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026077795,"product_id":7408033103971,"position":7,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959","variant_ids":[41881940623459]},"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-PB98","featured_media":{"alt":null,"id":23875931078755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61824c3bbe48a66766793dcb04d01c6da127de45_ae8e9fff-84a7-4115-8fb2-68f13f3f7a82.webp?v=1714707959"}},"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: "停產" }