$product = {"id":7407952920675,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy","handle":"iphone-14-pro-mod-nx-printable-pb61","description":null,"published_at":"2024-06-11T16:27:28+08:00","created_at":"2024-05-03T11:22:32+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 14 Pro","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":41880971444323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470789525603,"product_id":7407952920675,"position":10,"created_at":"2024-05-03T11:22:56+08:00","updated_at":"2024-05-03T11:22:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576","variant_ids":[41880971444323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875693740131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880971509859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470789066851,"product_id":7407952920675,"position":9,"created_at":"2024-05-03T11:22:54+08:00","updated_at":"2024-05-03T11:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574","variant_ids":[41880971509859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875693281379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880971739235,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470786838627,"product_id":7407952920675,"position":4,"created_at":"2024-05-03T11:22:42+08:00","updated_at":"2024-05-03T11:22:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562","variant_ids":[41880971739235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875691151459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d2c99d8ecc64630977b44c6ec0d4c488702b5b5_41147af9-3f64-4988-84ba-1504000b7d4b.webp?v=1714706555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdba8ae1fb18a3fbaf69fb9e1af709bdcc279397_d6c11e04-faf6-44c9-9142-ce606c96de95.webp?v=1714706557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51db8a9d348c3a9c16b97b65aa9721941fdba05_7d79a5fd-bca5-419c-874d-8285fba28c88.webp?v=1714706559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee5c14e1903f04c986644140166db3f7597e4ee_a7031c9c-b36d-4585-b600-b080707f6f55.webp?v=1714706564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367e79573489cd6f329c45f4afe742c5e0968e73_6dde8eac-9282-480e-abac-01ca885e053e.webp?v=1714706567","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b08ea7a3534dedbb7e68e20919cee6f9a239afd7_913d5810-b2f7-4d4c-be5d-6e79981342df.webp?v=1714706569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bede37152bdae562a588d1730de42e6f822d427b_e46bce25-aa81-44a8-b63a-72158b1317c3.webp?v=1714706571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d2c99d8ecc64630977b44c6ec0d4c488702b5b5_41147af9-3f64-4988-84ba-1504000b7d4b.webp?v=1714706555","options":["color"],"media":[{"alt":null,"id":23875689545827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d2c99d8ecc64630977b44c6ec0d4c488702b5b5_41147af9-3f64-4988-84ba-1504000b7d4b.webp?v=1714706555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d2c99d8ecc64630977b44c6ec0d4c488702b5b5_41147af9-3f64-4988-84ba-1504000b7d4b.webp?v=1714706555","width":2000},{"alt":null,"id":23875690201187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdba8ae1fb18a3fbaf69fb9e1af709bdcc279397_d6c11e04-faf6-44c9-9142-ce606c96de95.webp?v=1714706557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdba8ae1fb18a3fbaf69fb9e1af709bdcc279397_d6c11e04-faf6-44c9-9142-ce606c96de95.webp?v=1714706557","width":2000},{"alt":null,"id":23875690659939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51db8a9d348c3a9c16b97b65aa9721941fdba05_7d79a5fd-bca5-419c-874d-8285fba28c88.webp?v=1714706559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51db8a9d348c3a9c16b97b65aa9721941fdba05_7d79a5fd-bca5-419c-874d-8285fba28c88.webp?v=1714706559","width":2000},{"alt":null,"id":23875691151459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562","width":2000},{"alt":null,"id":23875691577443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee5c14e1903f04c986644140166db3f7597e4ee_a7031c9c-b36d-4585-b600-b080707f6f55.webp?v=1714706564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee5c14e1903f04c986644140166db3f7597e4ee_a7031c9c-b36d-4585-b600-b080707f6f55.webp?v=1714706564","width":2000},{"alt":null,"id":23875692068963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367e79573489cd6f329c45f4afe742c5e0968e73_6dde8eac-9282-480e-abac-01ca885e053e.webp?v=1714706567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/367e79573489cd6f329c45f4afe742c5e0968e73_6dde8eac-9282-480e-abac-01ca885e053e.webp?v=1714706567","width":2000},{"alt":null,"id":23875692494947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b08ea7a3534dedbb7e68e20919cee6f9a239afd7_913d5810-b2f7-4d4c-be5d-6e79981342df.webp?v=1714706569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b08ea7a3534dedbb7e68e20919cee6f9a239afd7_913d5810-b2f7-4d4c-be5d-6e79981342df.webp?v=1714706569","width":2000},{"alt":null,"id":23875692920931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bede37152bdae562a588d1730de42e6f822d427b_e46bce25-aa81-44a8-b63a-72158b1317c3.webp?v=1714706571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bede37152bdae562a588d1730de42e6f822d427b_e46bce25-aa81-44a8-b63a-72158b1317c3.webp?v=1714706571","width":2000},{"alt":null,"id":23875693281379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574","width":2000},{"alt":null,"id":23875693740131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880971444323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470789525603,"product_id":7407952920675,"position":10,"created_at":"2024-05-03T11:22:56+08:00","updated_at":"2024-05-03T11:22:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576","variant_ids":[41880971444323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875693740131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880971509859,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470789066851,"product_id":7407952920675,"position":9,"created_at":"2024-05-03T11:22:54+08:00","updated_at":"2024-05-03T11:22:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574","variant_ids":[41880971509859]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875693281379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/328760b10fd15a02343d61bd78ef61f3ad731409_06175450-6691-4313-9a7d-357001d3086d.webp?v=1714706574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880971739235,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470786838627,"product_id":7407952920675,"position":4,"created_at":"2024-05-03T11:22:42+08:00","updated_at":"2024-05-03T11:22:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562","variant_ids":[41880971739235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875691151459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84ad7241efc0f3d6c539c80f0eafc4f59592e10e_4b61849b-6681-4951-9806-c28f0f55a1c2.webp?v=1714706562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880971444323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31470789525603,"product_id":7407952920675,"position":10,"created_at":"2024-05-03T11:22:56+08:00","updated_at":"2024-05-03T11:22:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576","variant_ids":[41880971444323]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23875693740131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48f77f3ccc090ce854481ed25d9e94d96d693465_cfa367d8-c7a0-4461-b50e-9eeeddd17452.webp?v=1714706576"}},"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: "停產" }