$product = {"id":7407743959139,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈","handle":"iphone-14-pro-mod-nx-printable-yf07","description":null,"published_at":"2024-06-11T16:22:40+08:00","created_at":"2024-05-03T10:47:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41878318252131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470308261987,"product_id":7407743959139,"position":4,"created_at":"2024-05-03T10:47:18+08:00","updated_at":"2024-05-03T10:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439","variant_ids":[41878318252131]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB0126224-YF07","featured_media":{"alt":null,"id":23875211427939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878318415971,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470306721891,"product_id":7407743959139,"position":2,"created_at":"2024-05-03T10:47:13+08:00","updated_at":"2024-05-03T10:47:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433","variant_ids":[41878318415971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB0126204-YF07","featured_media":{"alt":null,"id":23875209920611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878318907491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470309933155,"product_id":7407743959139,"position":6,"created_at":"2024-05-03T10:47:23+08:00","updated_at":"2024-05-03T10:47:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443","variant_ids":[41878318907491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB01262J5-YF07","featured_media":{"alt":null,"id":23875213131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22242d7c8cfa0daecb40025aadbadbfc1871e54e_815b4e4f-8537-4df6-baa8-09e49e9f0ed8.webp?v=1714704431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677c9ed54e3b1609e936c7ca77327fa427557d93_99d3dc69-fcfb-4199-b62b-7610ae9fc6d1.webp?v=1714704436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98afe516f04e59d3a35fba942d628bc3d914c8ec_5e7034d0-5510-40b8-b170-d38213bd3d8d.webp?v=1714704441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb24e85c93bb2919933eadbd2d54ebaa6616a56_89b1e4d9-91cf-48d7-b9e5-c9247bf3838d.webp?v=1714704446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f725052cf5d44c8cca90f6e95e15282b2699e3_d80d81d4-03ea-4063-9299-53456092441f.webp?v=1714704449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2599008c3116cd8ea779c19e718b5500fdeae033_fcbed416-bcd3-4e86-a6eb-a4db97057c37.webp?v=1714704451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4e9886ee76370c792202a799823aba8cd8dc21_dca6920d-fbf7-4c76-a524-ce4d9f2aca12.webp?v=1714704454"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22242d7c8cfa0daecb40025aadbadbfc1871e54e_815b4e4f-8537-4df6-baa8-09e49e9f0ed8.webp?v=1714704431","options":["color"],"media":[{"alt":null,"id":23875209298019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22242d7c8cfa0daecb40025aadbadbfc1871e54e_815b4e4f-8537-4df6-baa8-09e49e9f0ed8.webp?v=1714704431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22242d7c8cfa0daecb40025aadbadbfc1871e54e_815b4e4f-8537-4df6-baa8-09e49e9f0ed8.webp?v=1714704431","width":2000},{"alt":null,"id":23875209920611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433","width":2000},{"alt":null,"id":23875210641507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677c9ed54e3b1609e936c7ca77327fa427557d93_99d3dc69-fcfb-4199-b62b-7610ae9fc6d1.webp?v=1714704436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677c9ed54e3b1609e936c7ca77327fa427557d93_99d3dc69-fcfb-4199-b62b-7610ae9fc6d1.webp?v=1714704436","width":2000},{"alt":null,"id":23875211427939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439","width":2000},{"alt":null,"id":23875212247139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98afe516f04e59d3a35fba942d628bc3d914c8ec_5e7034d0-5510-40b8-b170-d38213bd3d8d.webp?v=1714704441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98afe516f04e59d3a35fba942d628bc3d914c8ec_5e7034d0-5510-40b8-b170-d38213bd3d8d.webp?v=1714704441","width":2000},{"alt":null,"id":23875213131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443","width":2000},{"alt":null,"id":23875213656163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb24e85c93bb2919933eadbd2d54ebaa6616a56_89b1e4d9-91cf-48d7-b9e5-c9247bf3838d.webp?v=1714704446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb24e85c93bb2919933eadbd2d54ebaa6616a56_89b1e4d9-91cf-48d7-b9e5-c9247bf3838d.webp?v=1714704446","width":2000},{"alt":null,"id":23875214377059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f725052cf5d44c8cca90f6e95e15282b2699e3_d80d81d4-03ea-4063-9299-53456092441f.webp?v=1714704449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f725052cf5d44c8cca90f6e95e15282b2699e3_d80d81d4-03ea-4063-9299-53456092441f.webp?v=1714704449","width":2000},{"alt":null,"id":23875215753315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2599008c3116cd8ea779c19e718b5500fdeae033_fcbed416-bcd3-4e86-a6eb-a4db97057c37.webp?v=1714704451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2599008c3116cd8ea779c19e718b5500fdeae033_fcbed416-bcd3-4e86-a6eb-a4db97057c37.webp?v=1714704451","width":2000},{"alt":null,"id":23875216572515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4e9886ee76370c792202a799823aba8cd8dc21_dca6920d-fbf7-4c76-a524-ce4d9f2aca12.webp?v=1714704454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be4e9886ee76370c792202a799823aba8cd8dc21_dca6920d-fbf7-4c76-a524-ce4d9f2aca12.webp?v=1714704454","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878318252131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470308261987,"product_id":7407743959139,"position":4,"created_at":"2024-05-03T10:47:18+08:00","updated_at":"2024-05-03T10:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439","variant_ids":[41878318252131]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB0126224-YF07","featured_media":{"alt":null,"id":23875211427939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878318415971,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470306721891,"product_id":7407743959139,"position":2,"created_at":"2024-05-03T10:47:13+08:00","updated_at":"2024-05-03T10:47:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433","variant_ids":[41878318415971]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB0126204-YF07","featured_media":{"alt":null,"id":23875209920611,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80683ea67d17dd631a630b1f7290c5aa5f50d6e7_5c31cf04-e12e-4b3e-a9ac-d18956d6f80c.webp?v=1714704433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878318907491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470309933155,"product_id":7407743959139,"position":6,"created_at":"2024-05-03T10:47:23+08:00","updated_at":"2024-05-03T10:47:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443","variant_ids":[41878318907491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB01262J5-YF07","featured_media":{"alt":null,"id":23875213131875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1c9509dd9ee8f801d578b0b0f5dbf16afb2a24_39370fff-6a3a-4e80-8905-77503e2cc95d.webp?v=1714704443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878318252131,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31470308261987,"product_id":7407743959139,"position":4,"created_at":"2024-05-03T10:47:18+08:00","updated_at":"2024-05-03T10:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439","variant_ids":[41878318252131]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 貼紙系列-夏威夷舞蹈 - 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":"NPB0126224-YF07","featured_media":{"alt":null,"id":23875211427939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eed20ba946e82c67e1a864f2e8b7c905ec3e0aeb_8d510666-0aac-4d08-877c-daab9675efd0.webp?v=1714704439"}},"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: "停產" }