$product = {"id":7407915139171,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典","handle":"iphone-14-pro-mod-nx-printable-pb24","description":null,"published_at":"2024-06-11T16:26:25+08:00","created_at":"2024-05-03T11:15:04+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":41880469864547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470689484899,"product_id":7407915139171,"position":5,"created_at":"2024-05-03T11:15:16+08:00","updated_at":"2024-05-03T11:15:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116","variant_ids":[41880469864547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875593502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880469930083,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470692565091,"product_id":7407915139171,"position":10,"created_at":"2024-05-03T11:15:27+08:00","updated_at":"2024-05-03T11:15:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127","variant_ids":[41880469930083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875596615779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880470159459,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470691713123,"product_id":7407915139171,"position":8,"created_at":"2024-05-03T11:15:23+08:00","updated_at":"2024-05-03T11:15:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123","variant_ids":[41880470159459]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875595796579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99534327e058d20218266635c035fc1522b374f8_d75c519f-d87c-4934-b2b3-942a1af8d22d.webp?v=1714706106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b55b1a78246d20cb5844673874e01fdf1e0096_2b5b8e6b-9f7a-4592-80b2-d71a750b43f8.webp?v=1714706108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3168cdf6a93d233d4a7f196ad4d6515e30e7d5a1_0f7ea725-9a0e-46ec-9a9d-5dfb5fa56821.webp?v=1714706111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb2b683fdcdf9eee8dd9b1bed251fb7e4997e5c7_cae5a398-614e-4af4-af13-34ca2aaab1f2.webp?v=1714706113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3d9264d28ba3e745a9cd936d81cec02f5e4525_a9259759-696f-4534-97f7-5853de0dd7ea.webp?v=1714706118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d686e6bb6336df16e94ac78e6facaeb4c4ac64_b5ae13bb-15c5-4d89-a772-b115a7529443.webp?v=1714706121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05deb25258ead5c34b62266e4f53e1d6f5d824f2_1b28d30f-be59-4e9c-b2e2-e8f8e8af05fe.webp?v=1714706125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99534327e058d20218266635c035fc1522b374f8_d75c519f-d87c-4934-b2b3-942a1af8d22d.webp?v=1714706106","options":["color"],"media":[{"alt":null,"id":23875591471203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99534327e058d20218266635c035fc1522b374f8_d75c519f-d87c-4934-b2b3-942a1af8d22d.webp?v=1714706106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99534327e058d20218266635c035fc1522b374f8_d75c519f-d87c-4934-b2b3-942a1af8d22d.webp?v=1714706106","width":2000},{"alt":null,"id":23875592028259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b55b1a78246d20cb5844673874e01fdf1e0096_2b5b8e6b-9f7a-4592-80b2-d71a750b43f8.webp?v=1714706108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b55b1a78246d20cb5844673874e01fdf1e0096_2b5b8e6b-9f7a-4592-80b2-d71a750b43f8.webp?v=1714706108","width":2000},{"alt":null,"id":23875592552547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3168cdf6a93d233d4a7f196ad4d6515e30e7d5a1_0f7ea725-9a0e-46ec-9a9d-5dfb5fa56821.webp?v=1714706111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3168cdf6a93d233d4a7f196ad4d6515e30e7d5a1_0f7ea725-9a0e-46ec-9a9d-5dfb5fa56821.webp?v=1714706111","width":2000},{"alt":null,"id":23875593076835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb2b683fdcdf9eee8dd9b1bed251fb7e4997e5c7_cae5a398-614e-4af4-af13-34ca2aaab1f2.webp?v=1714706113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb2b683fdcdf9eee8dd9b1bed251fb7e4997e5c7_cae5a398-614e-4af4-af13-34ca2aaab1f2.webp?v=1714706113","width":2000},{"alt":null,"id":23875593502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116","width":2000},{"alt":null,"id":23875593961571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3d9264d28ba3e745a9cd936d81cec02f5e4525_a9259759-696f-4534-97f7-5853de0dd7ea.webp?v=1714706118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3d9264d28ba3e745a9cd936d81cec02f5e4525_a9259759-696f-4534-97f7-5853de0dd7ea.webp?v=1714706118","width":2000},{"alt":null,"id":23875595403363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d686e6bb6336df16e94ac78e6facaeb4c4ac64_b5ae13bb-15c5-4d89-a772-b115a7529443.webp?v=1714706121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73d686e6bb6336df16e94ac78e6facaeb4c4ac64_b5ae13bb-15c5-4d89-a772-b115a7529443.webp?v=1714706121","width":2000},{"alt":null,"id":23875595796579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123","width":2000},{"alt":null,"id":23875596288099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05deb25258ead5c34b62266e4f53e1d6f5d824f2_1b28d30f-be59-4e9c-b2e2-e8f8e8af05fe.webp?v=1714706125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05deb25258ead5c34b62266e4f53e1d6f5d824f2_1b28d30f-be59-4e9c-b2e2-e8f8e8af05fe.webp?v=1714706125","width":2000},{"alt":null,"id":23875596615779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880469864547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470689484899,"product_id":7407915139171,"position":5,"created_at":"2024-05-03T11:15:16+08:00","updated_at":"2024-05-03T11:15:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116","variant_ids":[41880469864547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875593502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880469930083,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470692565091,"product_id":7407915139171,"position":10,"created_at":"2024-05-03T11:15:27+08:00","updated_at":"2024-05-03T11:15:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127","variant_ids":[41880469930083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875596615779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc48498eac99865530cfdc8ecb89429c3ff072f2_1cb0b89b-5323-4893-a846-3da7e164b0b4.webp?v=1714706127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880470159459,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470691713123,"product_id":7407915139171,"position":8,"created_at":"2024-05-03T11:15:23+08:00","updated_at":"2024-05-03T11:15:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123","variant_ids":[41880470159459]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875595796579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d49032e7db31b8546676b2191201376ed490a77_ac17a5a0-a08b-4b13-bae1-573bbe058db4.webp?v=1714706123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880469864547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB24","requires_shipping":true,"taxable":true,"featured_image":{"id":31470689484899,"product_id":7407915139171,"position":5,"created_at":"2024-05-03T11:15:16+08:00","updated_at":"2024-05-03T11:15:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116","variant_ids":[41880469864547]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - C3PO-經典 - 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-PB24","featured_media":{"alt":null,"id":23875593502819,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4beebd312ba8896c5d72d0c0de02a1774870d86e_a2f60667-0986-4c70-9f50-5a444ede7075.webp?v=1714706116"}},"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: "停產" }