$product = {"id":7407750578275,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥","handle":"iphone-14-pro-mod-nx-printable-fz04","description":null,"published_at":"2024-06-11T16:22:45+08:00","created_at":"2024-05-03T10:47:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-柴語錄 Shiba Says","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-shiba-says","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-shiba-says","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":41878394404963,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470321631331,"product_id":7407750578275,"position":5,"created_at":"2024-05-03T10:48:02+08:00","updated_at":"2024-05-03T10:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482","variant_ids":[41878394404963]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-FZ04","featured_media":{"alt":null,"id":23875224764515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878394470499,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470322253923,"product_id":7407750578275,"position":6,"created_at":"2024-05-03T10:48:05+08:00","updated_at":"2024-05-03T10:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485","variant_ids":[41878394470499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-FZ04","featured_media":{"alt":null,"id":23875225452643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878394732643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470322974819,"product_id":7407750578275,"position":7,"created_at":"2024-05-03T10:48:07+08:00","updated_at":"2024-05-03T10:48:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487","variant_ids":[41878394732643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-FZ04","featured_media":{"alt":null,"id":23875226108003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8927a77ff483017cf837340c247f72673ec1875c_4b36d23b-9b8f-4b60-b5e7-e81e46bf7bb4.webp?v=1714704473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c4459e9dfd833c6dd4ddc563bff0a9d5df4214_51015bc3-afc2-4f5f-a3f9-20965fd41e99.webp?v=1714704475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4c0bfb212b595114ca7903c430ce577ada1d94_121f093c-43f6-4d7a-bbd1-31b5382a41a7.webp?v=1714704478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cc499c11dbcff0ec14274706c6715ca7b71be3_0c284494-3db4-4641-a8fa-2a21809dd698.webp?v=1714704480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a19dd600bdb6bd9e3840a8c21a66a38291f9c5c_1dcf9272-88fc-484c-8b42-c13de2a57fd5.webp?v=1714704489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3279a64d483791184d878e5e76a581572efe8f7_f1bfda9a-d9b4-452e-8138-9b3eb3ca0922.webp?v=1714704492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b520247a70f7298aa4a0eeb7def0526755389e5b_c0b6d84a-6acf-4127-adf2-2a12bb97aa1f.webp?v=1714704494"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8927a77ff483017cf837340c247f72673ec1875c_4b36d23b-9b8f-4b60-b5e7-e81e46bf7bb4.webp?v=1714704473","options":["color"],"media":[{"alt":null,"id":23875221848163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8927a77ff483017cf837340c247f72673ec1875c_4b36d23b-9b8f-4b60-b5e7-e81e46bf7bb4.webp?v=1714704473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8927a77ff483017cf837340c247f72673ec1875c_4b36d23b-9b8f-4b60-b5e7-e81e46bf7bb4.webp?v=1714704473","width":2000},{"alt":null,"id":23875222536291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c4459e9dfd833c6dd4ddc563bff0a9d5df4214_51015bc3-afc2-4f5f-a3f9-20965fd41e99.webp?v=1714704475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54c4459e9dfd833c6dd4ddc563bff0a9d5df4214_51015bc3-afc2-4f5f-a3f9-20965fd41e99.webp?v=1714704475","width":2000},{"alt":null,"id":23875223093347,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4c0bfb212b595114ca7903c430ce577ada1d94_121f093c-43f6-4d7a-bbd1-31b5382a41a7.webp?v=1714704478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b4c0bfb212b595114ca7903c430ce577ada1d94_121f093c-43f6-4d7a-bbd1-31b5382a41a7.webp?v=1714704478","width":2000},{"alt":null,"id":23875224174691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cc499c11dbcff0ec14274706c6715ca7b71be3_0c284494-3db4-4641-a8fa-2a21809dd698.webp?v=1714704480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cc499c11dbcff0ec14274706c6715ca7b71be3_0c284494-3db4-4641-a8fa-2a21809dd698.webp?v=1714704480","width":2000},{"alt":null,"id":23875224764515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482","width":2000},{"alt":null,"id":23875225452643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485","width":2000},{"alt":null,"id":23875226108003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487","width":2000},{"alt":null,"id":23875226697827,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a19dd600bdb6bd9e3840a8c21a66a38291f9c5c_1dcf9272-88fc-484c-8b42-c13de2a57fd5.webp?v=1714704489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a19dd600bdb6bd9e3840a8c21a66a38291f9c5c_1dcf9272-88fc-484c-8b42-c13de2a57fd5.webp?v=1714704489","width":2000},{"alt":null,"id":23875227943011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3279a64d483791184d878e5e76a581572efe8f7_f1bfda9a-d9b4-452e-8138-9b3eb3ca0922.webp?v=1714704492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3279a64d483791184d878e5e76a581572efe8f7_f1bfda9a-d9b4-452e-8138-9b3eb3ca0922.webp?v=1714704492","width":2000},{"alt":null,"id":23875228696675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b520247a70f7298aa4a0eeb7def0526755389e5b_c0b6d84a-6acf-4127-adf2-2a12bb97aa1f.webp?v=1714704494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b520247a70f7298aa4a0eeb7def0526755389e5b_c0b6d84a-6acf-4127-adf2-2a12bb97aa1f.webp?v=1714704494","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878394404963,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470321631331,"product_id":7407750578275,"position":5,"created_at":"2024-05-03T10:48:02+08:00","updated_at":"2024-05-03T10:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482","variant_ids":[41878394404963]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-FZ04","featured_media":{"alt":null,"id":23875224764515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878394470499,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470322253923,"product_id":7407750578275,"position":6,"created_at":"2024-05-03T10:48:05+08:00","updated_at":"2024-05-03T10:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485","variant_ids":[41878394470499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-FZ04","featured_media":{"alt":null,"id":23875225452643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47db3cc7e4a705f9878911aa96c81e296eb9d9b5_25f67c21-d27d-4e5e-bddd-7e040ddeef43.webp?v=1714704485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878394732643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470322974819,"product_id":7407750578275,"position":7,"created_at":"2024-05-03T10:48:07+08:00","updated_at":"2024-05-03T10:48:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487","variant_ids":[41878394732643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-FZ04","featured_media":{"alt":null,"id":23875226108003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01966ab36484232aa72dadc8d7375fe6fad8f292_c62bc8cb-19ed-4925-ae8d-3393f758de47.webp?v=1714704487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878394404963,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-FZ04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470321631331,"product_id":7407750578275,"position":5,"created_at":"2024-05-03T10:48:02+08:00","updated_at":"2024-05-03T10:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482","variant_ids":[41878394404963]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 柴語錄 Shiba Says - 放我出去♥ - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-FZ04","featured_media":{"alt":null,"id":23875224764515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7257f27ec4da5c902541ba257cb27e83959792cd_e3bd657e-04ea-469e-9353-b6034b7c494a.webp?v=1714704482"}},"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: "停產" }