$product = {"id":7414510911587,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb33","description":null,"published_at":"2024-06-11T17:51:45+08:00","created_at":"2024-05-05T14:28:31+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":41907045367907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485660201059,"product_id":7414510911587,"position":5,"created_at":"2024-05-05T14:28:43+08:00","updated_at":"2024-05-05T14:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523","variant_ids":[41907045367907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890977063011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907045662819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485662396515,"product_id":7414510911587,"position":6,"created_at":"2024-05-05T14:28:45+08:00","updated_at":"2024-05-05T14:28:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525","variant_ids":[41907045662819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890979520611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907046547555,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485666918499,"product_id":7414510911587,"position":8,"created_at":"2024-05-05T14:28:50+08:00","updated_at":"2024-05-05T14:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530","variant_ids":[41907046547555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890984763491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d5c6f9bc6b92454d7fcb24bf874cc2ce853a8c_ad849115-7222-4c40-b786-feeece25255c.webp?v=1714890513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7b71dc0ac5abbbe512b65feb7c6524a90b267_65943da9-d5ea-40ed-a474-658f5947fa5f.webp?v=1714890515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fee384c163c1ddc02fd652ee1bf04a1d91d3e0_ad8da479-ff78-4972-8679-2e51cc7dc739.webp?v=1714890518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d796825ff1b16dcbb0b59a327baeb7f7e94ae326_6fc873c6-69ce-42e5-92cf-2a03e72bcc3e.webp?v=1714890520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b80517d432388173e8182dcb5bf8554a83f0758_096cfbbb-83b0-44b8-8e78-9b216183c1c5.webp?v=1714890527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273692413d229eed6be55382560e39186b223808_529fafce-a04f-40c7-ba32-73ca92a60b24.webp?v=1714890532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b664ced197e0360f6ebc14f2b01c9e1fbf5f20bb_9729091c-8dcb-4793-8ff0-d23122d64a77.webp?v=1714890534"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d5c6f9bc6b92454d7fcb24bf874cc2ce853a8c_ad849115-7222-4c40-b786-feeece25255c.webp?v=1714890513","options":["color"],"media":[{"alt":null,"id":23890967265379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d5c6f9bc6b92454d7fcb24bf874cc2ce853a8c_ad849115-7222-4c40-b786-feeece25255c.webp?v=1714890513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18d5c6f9bc6b92454d7fcb24bf874cc2ce853a8c_ad849115-7222-4c40-b786-feeece25255c.webp?v=1714890513","width":2000},{"alt":null,"id":23890969854051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7b71dc0ac5abbbe512b65feb7c6524a90b267_65943da9-d5ea-40ed-a474-658f5947fa5f.webp?v=1714890515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcf7b71dc0ac5abbbe512b65feb7c6524a90b267_65943da9-d5ea-40ed-a474-658f5947fa5f.webp?v=1714890515","width":2000},{"alt":null,"id":23890972409955,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fee384c163c1ddc02fd652ee1bf04a1d91d3e0_ad8da479-ff78-4972-8679-2e51cc7dc739.webp?v=1714890518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fee384c163c1ddc02fd652ee1bf04a1d91d3e0_ad8da479-ff78-4972-8679-2e51cc7dc739.webp?v=1714890518","width":2000},{"alt":null,"id":23890975031395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d796825ff1b16dcbb0b59a327baeb7f7e94ae326_6fc873c6-69ce-42e5-92cf-2a03e72bcc3e.webp?v=1714890520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d796825ff1b16dcbb0b59a327baeb7f7e94ae326_6fc873c6-69ce-42e5-92cf-2a03e72bcc3e.webp?v=1714890520","width":2000},{"alt":null,"id":23890977063011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523","width":2000},{"alt":null,"id":23890979520611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525","width":2000},{"alt":null,"id":23890982076515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b80517d432388173e8182dcb5bf8554a83f0758_096cfbbb-83b0-44b8-8e78-9b216183c1c5.webp?v=1714890527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b80517d432388173e8182dcb5bf8554a83f0758_096cfbbb-83b0-44b8-8e78-9b216183c1c5.webp?v=1714890527","width":2000},{"alt":null,"id":23890984763491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530","width":2000},{"alt":null,"id":23890987319395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273692413d229eed6be55382560e39186b223808_529fafce-a04f-40c7-ba32-73ca92a60b24.webp?v=1714890532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/273692413d229eed6be55382560e39186b223808_529fafce-a04f-40c7-ba32-73ca92a60b24.webp?v=1714890532","width":2000},{"alt":null,"id":23890990170211,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b664ced197e0360f6ebc14f2b01c9e1fbf5f20bb_9729091c-8dcb-4793-8ff0-d23122d64a77.webp?v=1714890534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b664ced197e0360f6ebc14f2b01c9e1fbf5f20bb_9729091c-8dcb-4793-8ff0-d23122d64a77.webp?v=1714890534","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41907045367907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485660201059,"product_id":7414510911587,"position":5,"created_at":"2024-05-05T14:28:43+08:00","updated_at":"2024-05-05T14:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523","variant_ids":[41907045367907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890977063011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907045662819,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485662396515,"product_id":7414510911587,"position":6,"created_at":"2024-05-05T14:28:45+08:00","updated_at":"2024-05-05T14:28:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525","variant_ids":[41907045662819]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890979520611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7f37709c3db07df20f993fe23212ce2f4f794d2_03edf865-536b-48ab-b9d1-9920de0e1d16.webp?v=1714890525"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41907046547555,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485666918499,"product_id":7414510911587,"position":8,"created_at":"2024-05-05T14:28:50+08:00","updated_at":"2024-05-05T14:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530","variant_ids":[41907046547555]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890984763491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b17d1c2f797512a67ac11f176d926efcd922ff4_b9b5910a-3a93-490d-b1ce-288f8b7e2baf.webp?v=1714890530"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41907045367907,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB33","requires_shipping":true,"taxable":true,"featured_image":{"id":31485660201059,"product_id":7414510911587,"position":5,"created_at":"2024-05-05T14:28:43+08:00","updated_at":"2024-05-05T14:28:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523","variant_ids":[41907045367907]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - Sticker-紅 - 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-PB33","featured_media":{"alt":null,"id":23890977063011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e3c7460eeb9a66cbda69d048752d31841ab49e_71f31dab-f15d-4db6-87b3-d7afa4060d7d.webp?v=1714890523"}},"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: "停產" }