$product = {"id":7414667903075,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb69","description":null,"published_at":"2024-06-11T17:52:57+08:00","created_at":"2024-05-05T14:36:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41908161118307,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485979426915,"product_id":7414667903075,"position":1,"created_at":"2024-05-05T14:36:52+08:00","updated_at":"2024-05-05T14:36:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","variant_ids":[41908161118307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891314638947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908161183843,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485984145507,"product_id":7414667903075,"position":5,"created_at":"2024-05-05T14:37:03+08:00","updated_at":"2024-05-05T14:37:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023","variant_ids":[41908161183843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891319062627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908161413219,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485987651683,"product_id":7414667903075,"position":9,"created_at":"2024-05-05T14:37:12+08:00","updated_at":"2024-05-05T14:37:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032","variant_ids":[41908161413219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891322372195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065923ace0e7a5ae4549b728790a28a244c8aba6_aef9975b-79ab-4ab5-9d16-74cab978b1da.webp?v=1714891015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd93bd6fb337fd55ee038e0c6b33be7d334f0a6_b5e36588-5498-44de-b06a-7c973abc60c0.webp?v=1714891017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f799b87385180caffb1bde3a359bd93f514f1a6b_35866bad-442a-4932-acbe-1e1485973e66.webp?v=1714891020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3be1c30113639806689f7b5c6dd0d0d00c0fa9f_266a33ce-685e-403b-9bb5-817693f454d0.webp?v=1714891025","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265cf2c52ae1fae871c995a8bb73756be92c5264_f45493c6-7971-4cb9-a7ac-635fa60d202f.webp?v=1714891028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8eba88c81a0f53c8375580acdc12988f79d81a_788aec0a-71cf-40b6-85bf-f1089a1c5aad.webp?v=1714891030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e32a5ada3e5b8ab96725797daf0182af7dc4636b_6bf0aa5d-2470-4f54-b226-7e6547cefe4a.webp?v=1714891035"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","options":["color"],"media":[{"alt":null,"id":23891314638947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","width":2000},{"alt":null,"id":23891316047971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065923ace0e7a5ae4549b728790a28a244c8aba6_aef9975b-79ab-4ab5-9d16-74cab978b1da.webp?v=1714891015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065923ace0e7a5ae4549b728790a28a244c8aba6_aef9975b-79ab-4ab5-9d16-74cab978b1da.webp?v=1714891015","width":2000},{"alt":null,"id":23891316932707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd93bd6fb337fd55ee038e0c6b33be7d334f0a6_b5e36588-5498-44de-b06a-7c973abc60c0.webp?v=1714891017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ebd93bd6fb337fd55ee038e0c6b33be7d334f0a6_b5e36588-5498-44de-b06a-7c973abc60c0.webp?v=1714891017","width":2000},{"alt":null,"id":23891317915747,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f799b87385180caffb1bde3a359bd93f514f1a6b_35866bad-442a-4932-acbe-1e1485973e66.webp?v=1714891020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f799b87385180caffb1bde3a359bd93f514f1a6b_35866bad-442a-4932-acbe-1e1485973e66.webp?v=1714891020","width":2000},{"alt":null,"id":23891319062627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023","width":2000},{"alt":null,"id":23891320373347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3be1c30113639806689f7b5c6dd0d0d00c0fa9f_266a33ce-685e-403b-9bb5-817693f454d0.webp?v=1714891025"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3be1c30113639806689f7b5c6dd0d0d00c0fa9f_266a33ce-685e-403b-9bb5-817693f454d0.webp?v=1714891025","width":2000},{"alt":null,"id":23891320995939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265cf2c52ae1fae871c995a8bb73756be92c5264_f45493c6-7971-4cb9-a7ac-635fa60d202f.webp?v=1714891028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/265cf2c52ae1fae871c995a8bb73756be92c5264_f45493c6-7971-4cb9-a7ac-635fa60d202f.webp?v=1714891028","width":2000},{"alt":null,"id":23891321913443,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8eba88c81a0f53c8375580acdc12988f79d81a_788aec0a-71cf-40b6-85bf-f1089a1c5aad.webp?v=1714891030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e8eba88c81a0f53c8375580acdc12988f79d81a_788aec0a-71cf-40b6-85bf-f1089a1c5aad.webp?v=1714891030","width":2000},{"alt":null,"id":23891322372195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032","width":2000},{"alt":null,"id":23891322699875,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e32a5ada3e5b8ab96725797daf0182af7dc4636b_6bf0aa5d-2470-4f54-b226-7e6547cefe4a.webp?v=1714891035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e32a5ada3e5b8ab96725797daf0182af7dc4636b_6bf0aa5d-2470-4f54-b226-7e6547cefe4a.webp?v=1714891035","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41908161118307,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485979426915,"product_id":7414667903075,"position":1,"created_at":"2024-05-05T14:36:52+08:00","updated_at":"2024-05-05T14:36:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","variant_ids":[41908161118307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891314638947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908161183843,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485984145507,"product_id":7414667903075,"position":5,"created_at":"2024-05-05T14:37:03+08:00","updated_at":"2024-05-05T14:37:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023","variant_ids":[41908161183843]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891319062627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9a8945e9b04e199b0d75dea1509c1ab3bf3830d_50f4e15c-e622-4bc8-ba65-e89a005e1eb8.webp?v=1714891023"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908161413219,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485987651683,"product_id":7414667903075,"position":9,"created_at":"2024-05-05T14:37:12+08:00","updated_at":"2024-05-05T14:37:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032","variant_ids":[41908161413219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891322372195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677d56b3f5b600c49e21539160a10e9307a3654_e608906e-b41d-45c5-8d71-4631d94babc4.webp?v=1714891032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41908161118307,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31485979426915,"product_id":7414667903075,"position":1,"created_at":"2024-05-05T14:36:52+08:00","updated_at":"2024-05-05T14:36:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012","variant_ids":[41908161118307]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23891314638947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37c9005b98ad425d79445e43c5b86ce902e65681_9ae560ba-ecb0-41b1-be98-2596c8161577.webp?v=1714891012"}},"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: "停產" }