$product = {"id":7408033726563,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機","handle":"iphone-13-mini-mod-nx-printable-pb73","description":null,"published_at":"2024-06-11T16:29:37+08:00","created_at":"2024-05-03T11:45:48+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 13 mini","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":41881945473123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026241635,"product_id":7408033726563,"position":5,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959","variant_ids":[41881945473123]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB0122824-PB73","featured_media":{"alt":null,"id":23875931242595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881945538659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471027912803,"product_id":7408033726563,"position":10,"created_at":"2024-05-03T11:46:12+08:00","updated_at":"2024-05-03T11:46:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972","variant_ids":[41881945538659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB0122804-PB73","featured_media":{"alt":null,"id":23875932979299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881946423395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026569315,"product_id":7408033726563,"position":6,"created_at":"2024-05-03T11:46:02+08:00","updated_at":"2024-05-03T11:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962","variant_ids":[41881946423395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB01228J5-PB73","featured_media":{"alt":null,"id":23875931603043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dccd85ec3d93a2ab88adb00d2d3e16dde5e8313_22ad39a7-aad2-43d1-b045-0f51048cbe28.webp?v=1714707950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8039ec4ed4548895792ecf52b5bb266c5bff7031_101a58bd-d1be-4c75-b78d-53ac30fbd0de.webp?v=1714707952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973906a0951978876174c245a2213f032ccdd61e_ed03245f-c51b-46ad-aa66-1e056b7cdaea.webp?v=1714707955","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0aeefe2645e1d12c010c3fb6cc991fd05aa05e_3224be94-0679-49e7-910f-da638c6fa288.webp?v=1714707957","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a7127d8171db61d34492a57243280086bde1e8_cfe60285-f14a-4d74-973b-fa9a224df2cc.webp?v=1714707964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a0ea6c9d3f1a290bcc81d8b328fad91849c4d3e_f8268197-73ff-4335-9451-e1444c52cde7.webp?v=1714707967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4967a80ceba60f7b6eec07a8737ac458fffa25_61bd3189-0fa3-466b-91da-3f5677db7c0b.webp?v=1714707969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dccd85ec3d93a2ab88adb00d2d3e16dde5e8313_22ad39a7-aad2-43d1-b045-0f51048cbe28.webp?v=1714707950","options":["color"],"media":[{"alt":null,"id":23875929505891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dccd85ec3d93a2ab88adb00d2d3e16dde5e8313_22ad39a7-aad2-43d1-b045-0f51048cbe28.webp?v=1714707950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dccd85ec3d93a2ab88adb00d2d3e16dde5e8313_22ad39a7-aad2-43d1-b045-0f51048cbe28.webp?v=1714707950","width":2000},{"alt":null,"id":23875930062947,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8039ec4ed4548895792ecf52b5bb266c5bff7031_101a58bd-d1be-4c75-b78d-53ac30fbd0de.webp?v=1714707952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8039ec4ed4548895792ecf52b5bb266c5bff7031_101a58bd-d1be-4c75-b78d-53ac30fbd0de.webp?v=1714707952","width":2000},{"alt":null,"id":23875930325091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973906a0951978876174c245a2213f032ccdd61e_ed03245f-c51b-46ad-aa66-1e056b7cdaea.webp?v=1714707955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973906a0951978876174c245a2213f032ccdd61e_ed03245f-c51b-46ad-aa66-1e056b7cdaea.webp?v=1714707955","width":2000},{"alt":null,"id":23875930751075,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0aeefe2645e1d12c010c3fb6cc991fd05aa05e_3224be94-0679-49e7-910f-da638c6fa288.webp?v=1714707957"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0aeefe2645e1d12c010c3fb6cc991fd05aa05e_3224be94-0679-49e7-910f-da638c6fa288.webp?v=1714707957","width":2000},{"alt":null,"id":23875931242595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959","width":2000},{"alt":null,"id":23875931603043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962","width":2000},{"alt":null,"id":23875932061795,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a7127d8171db61d34492a57243280086bde1e8_cfe60285-f14a-4d74-973b-fa9a224df2cc.webp?v=1714707964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44a7127d8171db61d34492a57243280086bde1e8_cfe60285-f14a-4d74-973b-fa9a224df2cc.webp?v=1714707964","width":2000},{"alt":null,"id":23875932356707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a0ea6c9d3f1a290bcc81d8b328fad91849c4d3e_f8268197-73ff-4335-9451-e1444c52cde7.webp?v=1714707967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a0ea6c9d3f1a290bcc81d8b328fad91849c4d3e_f8268197-73ff-4335-9451-e1444c52cde7.webp?v=1714707967","width":2000},{"alt":null,"id":23875932618851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4967a80ceba60f7b6eec07a8737ac458fffa25_61bd3189-0fa3-466b-91da-3f5677db7c0b.webp?v=1714707969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a4967a80ceba60f7b6eec07a8737ac458fffa25_61bd3189-0fa3-466b-91da-3f5677db7c0b.webp?v=1714707969","width":2000},{"alt":null,"id":23875932979299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881945473123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026241635,"product_id":7408033726563,"position":5,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959","variant_ids":[41881945473123]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB0122824-PB73","featured_media":{"alt":null,"id":23875931242595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881945538659,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471027912803,"product_id":7408033726563,"position":10,"created_at":"2024-05-03T11:46:12+08:00","updated_at":"2024-05-03T11:46:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972","variant_ids":[41881945538659]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB0122804-PB73","featured_media":{"alt":null,"id":23875932979299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5758e19b767026727ff396026902943c86a0ac_392d3af9-de74-4e5c-bea2-e83b7fccbd8e.webp?v=1714707972"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881946423395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026569315,"product_id":7408033726563,"position":6,"created_at":"2024-05-03T11:46:02+08:00","updated_at":"2024-05-03T11:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962","variant_ids":[41881946423395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB01228J5-PB73","featured_media":{"alt":null,"id":23875931603043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e58c5a256d00107dc54350ba54f50c9bc27117_5f348445-2321-4e88-9326-41cf8f7d87d4.webp?v=1714707962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881945473123,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31471026241635,"product_id":7408033726563,"position":5,"created_at":"2024-05-03T11:45:59+08:00","updated_at":"2024-05-03T11:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959","variant_ids":[41881945473123]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機 - 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":"NPB0122824-PB73","featured_media":{"alt":null,"id":23875931242595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ead1cddc0e3a9e916a188429d31ea5ddb7e7a8f3_a86c16a5-91dd-4b01-acc4-f301622d1437.webp?v=1714707959"}},"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: "停產" }