$product = {"id":7411444187235,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮","handle":"iphone-14-pro-mod-nx-magsafe-printable-pc05","description":null,"published_at":"2024-06-11T17:45:11+08:00","created_at":"2024-05-05T00:31:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41898965008483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480443732067,"product_id":7411444187235,"position":10,"created_at":"2024-05-05T00:31:22+08:00","updated_at":"2024-05-05T00:31:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282","variant_ids":[41898965008483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB0126224-PC05","featured_media":{"alt":null,"id":23885695451235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898965074019,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480442814563,"product_id":7411444187235,"position":8,"created_at":"2024-05-05T00:31:18+08:00","updated_at":"2024-05-05T00:31:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278","variant_ids":[41898965074019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB0126204-PC05","featured_media":{"alt":null,"id":23885694468195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898965303395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480441831523,"product_id":7411444187235,"position":6,"created_at":"2024-05-05T00:31:13+08:00","updated_at":"2024-05-05T00:31:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273","variant_ids":[41898965303395]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB01262J5-PC05","featured_media":{"alt":null,"id":23885693517923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b9cf9ef1b8d00a4b7cd6d02ab889529f019386d_cf39c22d-b269-4fb5-ba76-de35d8dcbe09.webp?v=1714840262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea4b8264a3bb5402a316185986718e40e9fc135_c1dab829-a596-4921-812f-64802b71e6fe.webp?v=1714840264","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47dcea97a7b4b5d847835789950eedcb0b7d9e2_d8694313-2901-4af2-a6c8-153ed9782471.webp?v=1714840267","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/950dffefba747fe0565b00b3121dfdabca7acd7d_20073713-7fc2-4302-983c-ecf1d0c452ec.webp?v=1714840269","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3e0587b5bffb5c70bfe0b85a3925c2ef054066_6ebea754-63df-466b-8fd3-c23462e3c0df.webp?v=1714840271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96bdf780b32f39522c75b20337ba228863e1e3e4_18153250-311d-4e9e-985c-2623cb27fa82.webp?v=1714840276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f15c8d9e833f332144a991a4ac119def3f7cecd_78e45dd1-f86d-4824-91db-c9db6ce66f0f.webp?v=1714840280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b9cf9ef1b8d00a4b7cd6d02ab889529f019386d_cf39c22d-b269-4fb5-ba76-de35d8dcbe09.webp?v=1714840262","options":["color"],"media":[{"alt":null,"id":23885690503267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b9cf9ef1b8d00a4b7cd6d02ab889529f019386d_cf39c22d-b269-4fb5-ba76-de35d8dcbe09.webp?v=1714840262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b9cf9ef1b8d00a4b7cd6d02ab889529f019386d_cf39c22d-b269-4fb5-ba76-de35d8dcbe09.webp?v=1714840262","width":2000},{"alt":null,"id":23885691027555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea4b8264a3bb5402a316185986718e40e9fc135_c1dab829-a596-4921-812f-64802b71e6fe.webp?v=1714840264"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea4b8264a3bb5402a316185986718e40e9fc135_c1dab829-a596-4921-812f-64802b71e6fe.webp?v=1714840264","width":2000},{"alt":null,"id":23885691388003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47dcea97a7b4b5d847835789950eedcb0b7d9e2_d8694313-2901-4af2-a6c8-153ed9782471.webp?v=1714840267"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c47dcea97a7b4b5d847835789950eedcb0b7d9e2_d8694313-2901-4af2-a6c8-153ed9782471.webp?v=1714840267","width":2000},{"alt":null,"id":23885692403811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/950dffefba747fe0565b00b3121dfdabca7acd7d_20073713-7fc2-4302-983c-ecf1d0c452ec.webp?v=1714840269"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/950dffefba747fe0565b00b3121dfdabca7acd7d_20073713-7fc2-4302-983c-ecf1d0c452ec.webp?v=1714840269","width":2000},{"alt":null,"id":23885692928099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3e0587b5bffb5c70bfe0b85a3925c2ef054066_6ebea754-63df-466b-8fd3-c23462e3c0df.webp?v=1714840271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3e0587b5bffb5c70bfe0b85a3925c2ef054066_6ebea754-63df-466b-8fd3-c23462e3c0df.webp?v=1714840271","width":2000},{"alt":null,"id":23885693517923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273","width":2000},{"alt":null,"id":23885694009443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96bdf780b32f39522c75b20337ba228863e1e3e4_18153250-311d-4e9e-985c-2623cb27fa82.webp?v=1714840276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96bdf780b32f39522c75b20337ba228863e1e3e4_18153250-311d-4e9e-985c-2623cb27fa82.webp?v=1714840276","width":2000},{"alt":null,"id":23885694468195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278","width":2000},{"alt":null,"id":23885694959715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f15c8d9e833f332144a991a4ac119def3f7cecd_78e45dd1-f86d-4824-91db-c9db6ce66f0f.webp?v=1714840280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f15c8d9e833f332144a991a4ac119def3f7cecd_78e45dd1-f86d-4824-91db-c9db6ce66f0f.webp?v=1714840280","width":2000},{"alt":null,"id":23885695451235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898965008483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480443732067,"product_id":7411444187235,"position":10,"created_at":"2024-05-05T00:31:22+08:00","updated_at":"2024-05-05T00:31:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282","variant_ids":[41898965008483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB0126224-PC05","featured_media":{"alt":null,"id":23885695451235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898965074019,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480442814563,"product_id":7411444187235,"position":8,"created_at":"2024-05-05T00:31:18+08:00","updated_at":"2024-05-05T00:31:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278","variant_ids":[41898965074019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB0126204-PC05","featured_media":{"alt":null,"id":23885694468195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e34db47a1400fcce72bcceb52b6ae18dfc7205f6_b68d8f1d-6536-4e60-ab71-4b522e3bbb40.webp?v=1714840278"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898965303395,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480441831523,"product_id":7411444187235,"position":6,"created_at":"2024-05-05T00:31:13+08:00","updated_at":"2024-05-05T00:31:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273","variant_ids":[41898965303395]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB01262J5-PC05","featured_media":{"alt":null,"id":23885693517923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7766b6e3131786bb8050be9c9dcc46246caf6a_59eba05e-79d6-432e-87d7-693bb29c781b.webp?v=1714840273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898965008483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PC05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480443732067,"product_id":7411444187235,"position":10,"created_at":"2024-05-05T00:31:22+08:00","updated_at":"2024-05-05T00:31:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282","variant_ids":[41898965008483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 小圖款-芮 - 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":"MPB0126224-PC05","featured_media":{"alt":null,"id":23885695451235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ca773ae5b0f376b7302310b66a58de930b59f75_5fdfa3de-9924-471f-8955-401b965504e5.webp?v=1714840282"}},"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: "停產" }