{"product_id":"demo-charm","title":"示範吊飾","description":"\u003cbody\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ciframe width=\"1250\" height=\"703\" src=\"https:\/\/www.youtube.com\/embed\/MPi073snPs0\" title=\"Lightningstore Custom Charm\"\u003e\u003c\/iframe\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e100 個客製化不鏽鋼吊飾，金色銀色個性化吊飾，標誌吊飾珠，雷射雕刻吊飾珠，適用於珠寶手鍊製作\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e想用自己的標誌製作吊飾嗎？那您來對地方了！\u003cbr\u003e\u003cbr\u003e您只需選擇想要的款式和尺寸，然後在個人化欄位輸入文字和顏色，或上傳您的標誌。\u003cbr\u003e\u003cbr\u003e其餘的我們會幫您處理。\u003cbr\u003e\u003cbr\u003e此商品非常適合用於您的 DIY 珠寶製作工藝。\u003cbr\u003e\u003cbr\u003e數量：100 件\u003c\/p\u003e\n\u003cp\u003e請注意，收到商品後需先用附贈的布擦拭，顏色才會正常。\u003c\/p\u003e\n\n\u003cform method=\"post\" action=\"\/localization\" id=\"tl-custom-switcher\" accept-charset=\"UTF-8\" enctype=\"multipart\/form-data\"\u003e\n  \u003cinput type=\"hidden\" name=\"form_type\" value=\"localization\"\u003e\n  \u003cinput type=\"hidden\" name=\"utf8\" value=\"✓\"\u003e\n  \u003cinput type=\"hidden\" name=\"_method\" value=\"put\"\u003e\n  \u003cinput type=\"hidden\" name=\"return_to\" id=\"return_to\" value=\"\/\"\u003e\n  \u003cinput type=\"hidden\" name=\"country_code\" id=\"country_code\" value=\"US\"\u003e\n  \u003cinput type=\"hidden\" name=\"language_code\" id=\"language_code\" value=\"en\"\u003e\n\n  \u003cbutton type=\"button\" onclick=\"switchLocale('US','en')\"\u003e🇺🇸 美元 (USD)\u003c\/button\u003e\n  \u003cbutton type=\"button\" onclick=\"switchLocale('GB','en')\"\u003e🇬🇧 英鎊 (GBP)\u003c\/button\u003e\n\u003c\/form\u003e\n\n\u003cscript\u003e\nfunction switchLocale(country, language) {\n  document.getElementById('country_code').value = country;\n  document.getElementById('language_code').value = language;\n  document.getElementById('return_to').value = window.location.pathname;\n  document.getElementById('tl-custom-switcher').submit();\n}\n\u003c\/script\u003e\n\n\n\n\n \n\n\n\u003ch2\u003e透過 Apps Script 上傳圖片到 Google 雲端硬碟\u003c\/h2\u003e\n  \n  \u003cinput type=\"file\" id=\"imgInput\" accept=\"image\/*\"\u003e\u003cbr\u003e\u003cbr\u003e\n  \u003cbutton onclick=\"uploadImage()\"\u003e上傳圖片\u003c\/button\u003e\n  \n  \u003cp id=\"status\"\u003e選擇一個圖片檔案並點擊上傳...\u003c\/p\u003e\n\n  \u003cscript\u003e\n    \/\/ ⚠️ CHOOSE YOUR LIVE WEB APP URL (ENDS IN \/exec)\n    const APPS_SCRIPT_URL = \"https:\/\/script.google.com\/macros\/s\/AKfycbwAADi6pG3aoCfHhgY2nVf8imUQ0pU84PcgSMFv_VySzYp4FIfrblyYNk8X3PRiT21Y\/exec\";\n\n    function uploadImage() {\n      const file = document.getElementById(\"imgInput\").files[0];\n      if (!file) { \n        alert(\"Pick an image first\"); \n        return; \n      }\n\n      document.getElementById(\"status\").textContent = \"Converting image to base64...\";\n\n      const reader = new FileReader();\n      reader.onload = async function(e) {\n        const base64 = e.target.result;\n\n        document.getElementById(\"status\").textContent = \"Uploading image safely to Google Drive...\";\n\n        try {\n          \/\/ We keep CORS active and drop 'no-cors' so we can capture successful URLs or catch runtime exceptions\n          const response = await fetch(APPS_SCRIPT_URL, {\n            method: \"POST\",\n            headers: {\n              \"Content-Type\": \"text\/plain\"\n            },\n            body: JSON.stringify({\n              action: \"uploadImage\",\n              imageBase64: base64,\n              filename: file.name\n            })\n          });\n\n          const result = await response.json();\n          console.log(\"Server Response:\", result);\n\n          if (result.success) {\n            document.getElementById(\"status\").innerHTML = \n              `✅ Success! Image uploaded.\u003cbr\u003e\u003cbr\u003e` +\n              `\u003cstrong\u003eFile Name:\u003c\/strong\u003e ${file.name}\u003cbr\u003e` +\n              `\u003cstrong\u003eDrive Link:\u003c\/strong\u003e \u003ca href=\"${result.url}\" target=\"_blank\"\u003eView Image\u003c\/a\u003e`;\n          } else {\n            document.getElementById(\"status\").textContent = \"❌ Script Error: \" + result.error;\n          }\n\n        } catch (err) {\n          console.error(\"Network Error:\", err);\n          document.getElementById(\"status\").textContent = \"❌ Connection Failed: \" + err.message;\n        }\n      };\n      \n      reader.readAsDataURL(file);\n    }\n  \u003c\/script\u003e\n\n\n\n\n\u003c\/body\u003e","brand":"LightningStore","offers":[{"title":"圓形 6 毫米（內孔） \/ 金色","offer_id":47826624151773,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 6 毫米（內孔） \/ 銀色","offer_id":47826624184541,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 8 毫米（內孔） \/ 金色","offer_id":47826624217309,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 8 毫米（內孔） \/ 銀色","offer_id":47826624250077,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（有孔） \/ 金色","offer_id":47826624282845,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（有孔） \/ 銀色","offer_id":47826624315613,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 12毫米（內孔） \/ 金色","offer_id":47826624348381,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 12毫米（內孔） \/ 銀色","offer_id":47826624381149,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 6mm（穿孔） \/ 銀色","offer_id":47826624413917,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 8mm（穿孔） \/ 銀色","offer_id":47826624446685,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（孔外） \/ 銀色","offer_id":47826624479453,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 12mm（孔外） \/ 銀色","offer_id":47826624512221,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（雙孔） \/ 金色","offer_id":47826624544989,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（雙孔） \/ 銀色","offer_id":47826624577757,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 7 毫米 \/ 金色","offer_id":47826624610525,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 7 毫米 \/ 銀色","offer_id":47826624643293,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 10 毫米 \/ 金色","offer_id":47826624676061,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 10 毫米 \/ 銀色","offer_id":47826624708829,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 14 毫米 \/ 金色","offer_id":47826624741597,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"心形 14 毫米 \/ 銀色","offer_id":47826624774365,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"淚滴形 8毫米 \/ 金色","offer_id":47826624807133,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"淚滴形 8毫米 \/ 銀色","offer_id":47826624839901,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"橢圓形 5毫米 \/ 金色","offer_id":47826624872669,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"橢圓形 5毫米 \/ 銀色","offer_id":47826624905437,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"橢圓形 6 毫米 \/ 金色","offer_id":47826624938205,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"橢圓形 6 毫米 \/ 銀色","offer_id":47826624970973,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"方形 7 毫米 \/ 金色","offer_id":47826625003741,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"方形 7 毫米 \/ 銀色","offer_id":47826625036509,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"矩形 11 毫米 \/ 金色","offer_id":47826625069277,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"矩形 11 毫米 \/ 銀色","offer_id":47826625102045,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"星形 17 毫米 \/ 金色","offer_id":47826625134813,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"星形 17 毫米 \/ 銀色","offer_id":47826625167581,"sku":null,"price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 6mm（穿孔） \/ 金色","offer_id":47826625200349,"sku":"100CHARM","price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 8mm（穿孔） \/ 金色","offer_id":47826625233117,"sku":"100CHARM","price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 10mm（孔外） \/ 金色","offer_id":47826625265885,"sku":"100CHARM","price":49.99,"currency_code":"USD","in_stock":true},{"title":"圓形 12mm（孔外） \/ 金色","offer_id":47826625298653,"sku":"100CHARM","price":49.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1240\/2004\/products\/il_fullxfull.4089452972_cwo3.jpg?v=1663523432","url":"https:\/\/www.lightningstoreonline.com\/zh-hant\/products\/demo-charm","provider":"LightningStore","version":"1.0","type":"link"}