$product = {"id":7369215049827,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒","handle":"iphone-13-mini-mod-nx-magsafe-printable-pl59","description":null,"published_at":"2024-06-11T17:31:37+08:00","created_at":"2024-04-23T15:46:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793688895587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387090157667,"product_id":7369215049827,"position":7,"created_at":"2024-04-23T15:46:21+08:00","updated_at":"2024-04-23T15:46:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381","variant_ids":[41793688895587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789328859235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793688961123,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387088748643,"product_id":7369215049827,"position":5,"created_at":"2024-04-23T15:46:16+08:00","updated_at":"2024-04-23T15:46:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376","variant_ids":[41793688961123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789327417443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793689190499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387088093283,"product_id":7369215049827,"position":4,"created_at":"2024-04-23T15:46:14+08:00","updated_at":"2024-04-23T15:46:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374","variant_ids":[41793689190499]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789326860387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31214d881ad863ced67d6b5d4f997084d9532703_1e9c2d3c-430d-4508-8f46-3147d0f60608.webp?v=1713858367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a4f392c58d4601c46908d5a546d152fa37b8995_e6d73ed3-3eb2-4988-b3ac-26986ebe4643.webp?v=1713858369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79e649e98fb108ecbd412ab36bdd85f5baec9ab_e6273e15-e919-4837-8071-d27baf3bf453.webp?v=1713858372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e5d09ecab3bbec9aa6f74884525e29b08a4f21_46422e6c-4e69-479d-a662-6bd3bb80e32d.webp?v=1713858379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946656836142432d1e2cf2e6e5cd7edda6b71ce4_ee244b2f-2393-4cf3-83e4-3d5025a71539.webp?v=1713858384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0173b15edf81dee90aa96b5afde23a338b3f465_624a3a06-6977-43cb-b8ed-f3c37ba8acb9.webp?v=1713858386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f85968e256160d094d95e0a17461c976ece102_8a6b5eaf-a457-426b-984d-9b39a70895ce.webp?v=1713858389"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31214d881ad863ced67d6b5d4f997084d9532703_1e9c2d3c-430d-4508-8f46-3147d0f60608.webp?v=1713858367","options":["color"],"media":[{"alt":null,"id":23789324796003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31214d881ad863ced67d6b5d4f997084d9532703_1e9c2d3c-430d-4508-8f46-3147d0f60608.webp?v=1713858367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31214d881ad863ced67d6b5d4f997084d9532703_1e9c2d3c-430d-4508-8f46-3147d0f60608.webp?v=1713858367","width":2000},{"alt":null,"id":23789325516899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a4f392c58d4601c46908d5a546d152fa37b8995_e6d73ed3-3eb2-4988-b3ac-26986ebe4643.webp?v=1713858369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a4f392c58d4601c46908d5a546d152fa37b8995_e6d73ed3-3eb2-4988-b3ac-26986ebe4643.webp?v=1713858369","width":2000},{"alt":null,"id":23789326237795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79e649e98fb108ecbd412ab36bdd85f5baec9ab_e6273e15-e919-4837-8071-d27baf3bf453.webp?v=1713858372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79e649e98fb108ecbd412ab36bdd85f5baec9ab_e6273e15-e919-4837-8071-d27baf3bf453.webp?v=1713858372","width":2000},{"alt":null,"id":23789326860387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374","width":2000},{"alt":null,"id":23789327417443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376","width":2000},{"alt":null,"id":23789328236643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e5d09ecab3bbec9aa6f74884525e29b08a4f21_46422e6c-4e69-479d-a662-6bd3bb80e32d.webp?v=1713858379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e5d09ecab3bbec9aa6f74884525e29b08a4f21_46422e6c-4e69-479d-a662-6bd3bb80e32d.webp?v=1713858379","width":2000},{"alt":null,"id":23789328859235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381","width":2000},{"alt":null,"id":23789329580131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946656836142432d1e2cf2e6e5cd7edda6b71ce4_ee244b2f-2393-4cf3-83e4-3d5025a71539.webp?v=1713858384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/946656836142432d1e2cf2e6e5cd7edda6b71ce4_ee244b2f-2393-4cf3-83e4-3d5025a71539.webp?v=1713858384","width":2000},{"alt":null,"id":23789330235491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0173b15edf81dee90aa96b5afde23a338b3f465_624a3a06-6977-43cb-b8ed-f3c37ba8acb9.webp?v=1713858386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0173b15edf81dee90aa96b5afde23a338b3f465_624a3a06-6977-43cb-b8ed-f3c37ba8acb9.webp?v=1713858386","width":2000},{"alt":null,"id":23789330792547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f85968e256160d094d95e0a17461c976ece102_8a6b5eaf-a457-426b-984d-9b39a70895ce.webp?v=1713858389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52f85968e256160d094d95e0a17461c976ece102_8a6b5eaf-a457-426b-984d-9b39a70895ce.webp?v=1713858389","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793688895587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387090157667,"product_id":7369215049827,"position":7,"created_at":"2024-04-23T15:46:21+08:00","updated_at":"2024-04-23T15:46:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381","variant_ids":[41793688895587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789328859235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793688961123,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387088748643,"product_id":7369215049827,"position":5,"created_at":"2024-04-23T15:46:16+08:00","updated_at":"2024-04-23T15:46:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376","variant_ids":[41793688961123]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789327417443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fe79b9a3f2c55b1c607ec561a28561eaec8de06_fe6f7190-1e71-4ff1-9ffc-2eaf9ab3f60e.webp?v=1713858376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793689190499,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387088093283,"product_id":7369215049827,"position":4,"created_at":"2024-04-23T15:46:14+08:00","updated_at":"2024-04-23T15:46:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374","variant_ids":[41793689190499]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789326860387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d59c54e14f6eb7215d4cedd225c1e5f0e13940_f21c94f4-aea2-4867-8a2f-063288353ff8.webp?v=1713858374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793688895587,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PL59","requires_shipping":true,"taxable":true,"featured_image":{"id":31387090157667,"product_id":7369215049827,"position":7,"created_at":"2024-04-23T15:46:21+08:00","updated_at":"2024-04-23T15:46:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381","variant_ids":[41793688895587]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Snoopy 史努比 - 冰淇淋甜筒 - 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-PL59","featured_media":{"alt":null,"id":23789328859235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5afc76723678545f2547c6c062d649dbaa553d87_bdc61a7e-c178-47f2-8011-e3c774b08702.webp?v=1713858381"}},"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: "停產" }