{"id":18982,"date":"2026-10-18T17:03:16","date_gmt":"2026-10-18T09:03:16","guid":{"rendered":"https:\/\/aliook.com\/?page_id=18982"},"modified":"2026-10-19T10:31:37","modified_gmt":"2026-10-19T02:31:37","slug":"same-product-better-price-look-for-products-for-free","status":"publish","type":"page","link":"https:\/\/aliook.com\/hi\/same-product-better-price-look-for-products-for-free\/","title":{"rendered":"Same Product. Better Price \u2014Look for products for free"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"18982\" class=\"elementor elementor-18982\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ade2eaf e-con-full e-flex e-con e-parent\" data-id=\"ade2eaf\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t<div class=\"elementor-element elementor-element-538ccc7 elementor-widget__width-initial elementor-widget-tablet__width-initial elementor-widget-mobile__width-initial elementor-widget elementor-widget-html\" data-id=\"538ccc7\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\r\n<div id=\"aliook-inquiry-v5\">\r\n<style>\r\n#aliook-inquiry-v5 {\r\n  width:100%;\r\n  max-width:100%;\r\n  color:#242424;\r\n  font-family:Arial,Helvetica,sans-serif;\r\n  box-sizing:border-box;\r\n}\r\n#aliook-inquiry-v5 *,\r\n#aliook-inquiry-v5 *::before,\r\n#aliook-inquiry-v5 *::after { box-sizing:border-box; }\r\n\r\n#aliook-inquiry-v5 .a5-card {\r\n  width:100%;\r\n  padding:clamp(20px,3.5vw,44px);\r\n  background:#fff;\r\n  border:1px solid #eee8df;\r\n  border-radius:16px;\r\n  box-shadow:0 10px 36px rgba(25,25,25,.06);\r\n}\r\n#aliook-inquiry-v5 .a5-logo-wrap {\r\n  text-align:center;\r\n  margin-bottom:22px;\r\n}\r\n#aliook-inquiry-v5 .a5-logo {\r\n  display:inline-block;\r\n  width:240px;\r\n  max-width:75%;\r\n  height:auto;\r\n  object-fit:contain;\r\n}\r\n#aliook-inquiry-v5 .a5-title {\r\n  margin:0;\r\n  text-align:center;\r\n  font-size:clamp(27px,4vw,44px);\r\n  line-height:1.15;\r\n  font-weight:800;\r\n  letter-spacing:.025em;\r\n  color:#202020;\r\n  overflow-wrap:anywhere;\r\n}\r\n#aliook-inquiry-v5 .a5-subtitle {\r\n  margin:14px 0 32px;\r\n  text-align:center;\r\n  color:#a47d43;\r\n  font-size:clamp(17px,2vw,23px);\r\n  font-weight:600;\r\n}\r\n#aliook-inquiry-v5 .a5-grid {\r\n  display:grid;\r\n  grid-template-columns:repeat(2,minmax(0,1fr));\r\n  gap:22px 24px;\r\n}\r\n#aliook-inquiry-v5 .a5-field { min-width:0; }\r\n#aliook-inquiry-v5 .a5-full { grid-column:1\/-1; }\r\n\r\n#aliook-inquiry-v5 .a5-field > label,\r\n#aliook-inquiry-v5 .a5-subfield > label {\r\n  display:block;\r\n  margin:0 0 9px;\r\n  color:#292929;\r\n  font-size:15px;\r\n  font-weight:700;\r\n  line-height:1.5;\r\n}\r\n#aliook-inquiry-v5 .a5-required { color:#b58445; }\r\n\r\n#aliook-inquiry-v5 input:not([type=\"file\"]),\r\n#aliook-inquiry-v5 select {\r\n  display:block;\r\n  width:100%;\r\n  min-width:0;\r\n  min-height:51px;\r\n  margin:0;\r\n  padding:12px 14px;\r\n  border:1px solid #dedbd5;\r\n  border-radius:8px;\r\n  background:#fff;\r\n  color:#292929;\r\n  font-family:inherit;\r\n  font-size:15px;\r\n  line-height:1.4;\r\n  box-shadow:none;\r\n}\r\n#aliook-inquiry-v5 input:focus,\r\n#aliook-inquiry-v5 select:focus {\r\n  outline:2px solid rgba(195,160,105,.24);\r\n  outline-offset:1px;\r\n  border-color:#c3a069;\r\n}\r\n#aliook-inquiry-v5 .a5-help {\r\n  margin:0 0 12px;\r\n  color:#626262;\r\n  font-size:14px;\r\n  line-height:1.65;\r\n}\r\n#aliook-inquiry-v5 .a5-whatsapp-note {\r\n  margin:9px 0 0;\r\n  font-size:14px;\r\n  line-height:1.65;\r\n  color:#666;\r\n}\r\n\r\n\/* Price layout: same-width columns as WhatsApp and currency *\/\r\n#aliook-inquiry-v5 .a5-price-fields {\r\n  display:grid;\r\n  grid-template-columns:repeat(2,minmax(0,1fr));\r\n  gap:22px 24px;\r\n  margin-top:16px;\r\n}\r\n#aliook-inquiry-v5 .a5-price-fields[hidden],\r\n#aliook-inquiry-v5 .a5-subfield[hidden] {\r\n  display:none !important;\r\n}\r\n\r\n\/* Custom upload button; hide browser's default file text *\/\r\n#aliook-inquiry-v5 .a5-file-input {\r\n  position:absolute !important;\r\n  width:1px !important;\r\n  height:1px !important;\r\n  padding:0 !important;\r\n  margin:-1px !important;\r\n  overflow:hidden !important;\r\n  clip:rect(0,0,0,0) !important;\r\n  white-space:nowrap !important;\r\n  border:0 !important;\r\n}\r\n#aliook-inquiry-v5 .a5-upload-button {\r\n  display:inline-flex;\r\n  align-items:center;\r\n  justify-content:center;\r\n  min-height:48px;\r\n  max-width:100%;\r\n  padding:12px 22px;\r\n  border:1px solid #c3a069;\r\n  border-radius:8px;\r\n  background:#fff;\r\n  color:#292929;\r\n  font-size:15px;\r\n  font-weight:700;\r\n  text-align:center;\r\n  cursor:pointer;\r\n  transition:background .2s,color .2s,border-color .2s;\r\n}\r\n#aliook-inquiry-v5 .a5-upload-button:hover,\r\n#aliook-inquiry-v5 .a5-upload-button:focus {\r\n  background:#c3a069;\r\n  color:#fff;\r\n  outline:none;\r\n}\r\n#aliook-inquiry-v5 .a5-file-list {\r\n  display:grid;\r\n  grid-template-columns:repeat(auto-fill,minmax(105px,1fr));\r\n  gap:12px;\r\n  margin-top:15px;\r\n}\r\n#aliook-inquiry-v5 .a5-file-item {\r\n  position:relative;\r\n  min-width:0;\r\n  padding:7px;\r\n  border:1px solid #e8e2d8;\r\n  border-radius:8px;\r\n  overflow:hidden;\r\n  background:#fff;\r\n}\r\n#aliook-inquiry-v5 .a5-file-item img {\r\n  display:block;\r\n  width:100%;\r\n  height:100px;\r\n  object-fit:cover;\r\n  border-radius:5px;\r\n}\r\n#aliook-inquiry-v5 .a5-file-name {\r\n  margin-top:6px;\r\n  overflow-wrap:anywhere;\r\n  font-size:11px;\r\n  line-height:1.4;\r\n  color:#555;\r\n}\r\n#aliook-inquiry-v5 .a5-file-remove {\r\n  position:absolute;\r\n  top:9px;\r\n  right:9px;\r\n  width:26px;\r\n  height:26px;\r\n  padding:0;\r\n  border:0;\r\n  border-radius:50%;\r\n  background:rgba(30,30,30,.84);\r\n  color:#fff;\r\n  font-size:18px;\r\n  line-height:26px;\r\n  text-align:center;\r\n  cursor:pointer;\r\n}\r\n#aliook-inquiry-v5 .a5-submit {\r\n  display:flex;\r\n  align-items:center;\r\n  justify-content:center;\r\n  width:100%;\r\n  min-height:59px;\r\n  margin-top:28px;\r\n  padding:15px 22px;\r\n  border:1px solid #c3a069;\r\n  border-radius:8px;\r\n  background:#242424;\r\n  color:#fff;\r\n  font-family:inherit;\r\n  font-size:18px;\r\n  font-weight:700;\r\n  letter-spacing:.035em;\r\n  text-align:center;\r\n  cursor:pointer;\r\n  transition:background .2s,color .2s,border-color .2s;\r\n}\r\n#aliook-inquiry-v5 .a5-submit:hover,\r\n#aliook-inquiry-v5 .a5-submit:focus,\r\n#aliook-inquiry-v5 .a5-submit:active {\r\n  background:#c3a069;\r\n  color:#fff;\r\n  border-color:#c3a069;\r\n}\r\n#aliook-inquiry-v5 .a5-submit:disabled {\r\n  opacity:.65;\r\n  cursor:wait;\r\n}\r\n#aliook-inquiry-v5 .a5-privacy {\r\n  margin:17px 0 0;\r\n  text-align:center;\r\n  font-size:16.5px;\r\n  line-height:1.6;\r\n  color:#555;\r\n}\r\n#aliook-inquiry-v5 .a5-status {\r\n  display:none;\r\n  margin-top:18px;\r\n  padding:13px 15px;\r\n  border-radius:8px;\r\n  font-size:14px;\r\n  line-height:1.6;\r\n  overflow-wrap:anywhere;\r\n}\r\n#aliook-inquiry-v5 .a5-status.a5-show { display:block; }\r\n#aliook-inquiry-v5 .a5-status.a5-error {\r\n  background:#fff0ef;\r\n  color:#9a2c24;\r\n  border:1px solid #f0c6c2;\r\n}\r\n#aliook-inquiry-v5 .a5-status.a5-success {\r\n  background:#eef8ef;\r\n  color:#22602b;\r\n  border:1px solid #c6e4ca;\r\n}\r\n\r\n\/* Tablet *\/\r\n@media (min-width:651px) and (max-width:1024px) {\r\n  #aliook-inquiry-v5 .a5-card { padding:28px 24px; }\r\n  #aliook-inquiry-v5 .a5-grid,\r\n  #aliook-inquiry-v5 .a5-price-fields { gap:20px; }\r\n  #aliook-inquiry-v5 .a5-title { font-size:clamp(28px,4vw,38px); }\r\n}\r\n\r\n\/* Mobile *\/\r\n@media (max-width:650px) {\r\n  #aliook-inquiry-v5 .a5-card {\r\n    padding:22px 16px;\r\n    border-radius:10px;\r\n  }\r\n  #aliook-inquiry-v5 .a5-grid,\r\n  #aliook-inquiry-v5 .a5-price-fields {\r\n    grid-template-columns:minmax(0,1fr);\r\n    gap:18px;\r\n  }\r\n  #aliook-inquiry-v5 .a5-full { grid-column:auto; }\r\n  #aliook-inquiry-v5 .a5-logo { width:205px; }\r\n  #aliook-inquiry-v5 .a5-subtitle { margin-bottom:25px; }\r\n  #aliook-inquiry-v5 .a5-upload-button { width:100%; }\r\n  #aliook-inquiry-v5 .a5-submit { font-size:17px; }\r\n}\r\n<\/style>\r\n\r\n<div class=\"a5-card\">\r\n  <div class=\"a5-logo-wrap\">\r\n    <img decoding=\"async\"\r\n      class=\"a5-logo\"\r\n      src=\"https:\/\/aliook.com\/wp-content\/uploads\/elementor\/thumbs\/cropped-%E6%A0%87%E9%A2%98logo-1-rfdkia44w49g8kkpup90zy34dprwub42bzfnakx0vs.png\"\r\n      alt=\"ALIOOK\"\r\n    >\r\n  <\/div>\r\n\r\n  <h2 class=\"a5-title\">FREE SOURCING.<br>SMARTER SAVINGS<\/h2>\r\n  <p class=\"a5-subtitle\">Same Product. Better Price<\/p>\r\n\r\n  <form id=\"a5-form\" enctype=\"multipart\/form-data\" novalidate>\r\n    <div class=\"a5-grid\">\r\n\r\n      <div class=\"a5-field\">\r\n        <label for=\"a5-name\">Inquirer's Name <span class=\"a5-required\">*<\/span><\/label>\r\n        <input id=\"a5-name\" name=\"name\" type=\"text\" maxlength=\"100\"\r\n          autocomplete=\"name\" required placeholder=\"Enter your name\">\r\n      <\/div>\r\n\r\n      <div class=\"a5-field\">\r\n        <label for=\"a5-country\">Country \/ Region <span class=\"a5-required\">*<\/span><\/label>\r\n        <select id=\"a5-country\" name=\"country\" required>\r\n          <option value=\"\">Loading countries...<\/option>\r\n        <\/select>\r\n      <\/div>\r\n\r\n      <div class=\"a5-field\">\r\n        <label for=\"a5-whatsapp\">WhatsApp Number <span class=\"a5-required\">*<\/span><\/label>\r\n        <input id=\"a5-whatsapp\" name=\"whatsapp\" type=\"tel\" maxlength=\"40\"\r\n          autocomplete=\"tel\" required placeholder=\"Include country code\">\r\n        <p class=\"a5-whatsapp-note\">\r\n          Once we receive your inquiry, we'll get back to you with a quote on WhatsApp promptly.\r\n        <\/p>\r\n      <\/div>\r\n\r\n      <div class=\"a5-field\">\r\n        <label for=\"a5-email\">Email Address <span class=\"a5-required\">*<\/span><\/label>\r\n        <input id=\"a5-email\" name=\"email\" type=\"email\" maxlength=\"150\"\r\n          autocomplete=\"email\" required placeholder=\"Enter your email address\">\r\n      <\/div>\r\n\r\n      <div class=\"a5-field a5-full\">\r\n        <label for=\"a5-price-mode\">Product Price <span class=\"a5-required\">*<\/span><\/label>\r\n        <select id=\"a5-price-mode\" name=\"price_mode\" required>\r\n          <option value=\"\">Select price option<\/option>\r\n          <option value=\"enter\">I know the price<\/option>\r\n          <option value=\"None\">None \u2014 Not sure<\/option>\r\n        <\/select>\r\n\r\n        <div id=\"a5-price-fields\" class=\"a5-price-fields\" hidden>\r\n          <div class=\"a5-subfield\" id=\"a5-amount-field\" hidden>\r\n            <label for=\"a5-price-amount\">Price Amount <span class=\"a5-required\">*<\/span><\/label>\r\n            <input id=\"a5-price-amount\" name=\"price_amount\" type=\"number\"\r\n              min=\"0.01\" max=\"999999999\" step=\"0.01\"\r\n              placeholder=\"Enter product price\">\r\n          <\/div>\r\n          <div class=\"a5-subfield\" id=\"a5-currency-field\" hidden>\r\n            <label for=\"a5-currency\">Currency <span class=\"a5-required\">*<\/span><\/label>\r\n            <select id=\"a5-currency\" name=\"currency\">\r\n              <option value=\"USD\" selected>USD \u2014 US Dollar ($)<\/option>\r\n              <option value=\"EUR\">EUR \u2014 Euro (\u20ac)<\/option>\r\n              <option value=\"GBP\">GBP \u2014 British Pound (\u00a3)<\/option>\r\n            <\/select>\r\n          <\/div>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"a5-field a5-full\">\r\n        <label for=\"a5-images\">Product Reference Images <span class=\"a5-required\">*<\/span><\/label>\r\n        <p class=\"a5-help\">\r\n          Please provide at least one image of the product you are referring to.\r\n        <\/p>\r\n\r\n        <input id=\"a5-images\" class=\"a5-file-input\" name=\"images[]\"\r\n          type=\"file\"\r\n          accept=\".jpg,.jpeg,.png,.webp,image\/jpeg,image\/png,image\/webp\"\r\n          multiple required>\r\n\r\n        <label for=\"a5-images\" class=\"a5-upload-button\">\uff0b Upload Product Images<\/label>\r\n        <p class=\"a5-help\" style=\"margin-top:10px\">\r\n          JPG, PNG or WEBP only \u00b7 Up to 5 images \u00b7 Maximum 10 MB per image \u00b7 Maximum dimensions 4000 \u00d7 4000 px\r\n        <\/p>\r\n        <div id=\"a5-file-list\" class=\"a5-file-list\"><\/div>\r\n      <\/div>\r\n\r\n    <\/div>\r\n\r\n    <button id=\"a5-submit\" class=\"a5-submit\" type=\"submit\">SEND MY INQUIRY<\/button>\r\n    <p class=\"a5-privacy\">Your information will only be used to respond to your inquiry.<\/p>\r\n    <div id=\"a5-status\" class=\"a5-status\" role=\"status\" aria-live=\"polite\"><\/div>\r\n  <\/form>\r\n<\/div>\r\n\r\n<script>\r\n(function () {\r\n  'use strict';\r\n\r\n  const root = document.getElementById('aliook-inquiry-v5');\r\n  if (!root || root.dataset.initialized === '1') return;\r\n  root.dataset.initialized = '1';\r\n\r\n  const $ = (selector) => root.querySelector(selector);\r\n  const form = $('#a5-form');\r\n  const countrySelect = $('#a5-country');\r\n  const priceMode = $('#a5-price-mode');\r\n  const priceFields = $('#a5-price-fields');\r\n  const amountField = $('#a5-amount-field');\r\n  const currencyField = $('#a5-currency-field');\r\n  const priceAmount = $('#a5-price-amount');\r\n  const currencySelect = $('#a5-currency');\r\n  const imageInput = $('#a5-images');\r\n  const fileList = $('#a5-file-list');\r\n  const submitButton = $('#a5-submit');\r\n  const statusBox = $('#a5-status');\r\n\r\n  const MAX_FILES = 5;\r\n  const MAX_FILE_SIZE = 10 * 1024 * 1024;\r\n  const MAX_DIMENSION = 4000;\r\n  const ALLOWED_TYPES = ['image\/jpeg', 'image\/png', 'image\/webp'];\r\n  const ALLOWED_EXTENSIONS = ['jpg', 'jpeg', 'png', 'webp'];\r\n\r\n  let selectedFiles = [];\r\n\r\n  function showStatus(message, type) {\r\n    statusBox.textContent = message;\r\n    statusBox.className = 'a5-status a5-show ' +\r\n      (type === 'success' ? 'a5-success' : 'a5-error');\r\n  }\r\n\r\n  function clearStatus() {\r\n    statusBox.textContent = '';\r\n    statusBox.className = 'a5-status';\r\n  }\r\n\r\n  function updatePriceLayout() {\r\n    const isKnown = priceMode.value === 'enter';\r\n    const isNone = priceMode.value === 'None';\r\n\r\n    priceFields.hidden = !isKnown;\r\n    amountField.hidden = !isKnown;\r\n    currencyField.hidden = !isKnown;\r\n    priceAmount.required = isKnown;\r\n    currencySelect.required = isKnown;\r\n\r\n    if (!isKnown) priceAmount.value = '';\r\n    if (!isKnown && !isNone) currencySelect.value = 'USD';\r\n  }\r\n\r\n  priceMode.addEventListener('change', updatePriceLayout);\r\n\r\n  function getExtension(file) {\r\n    const parts = file.name.toLowerCase().split('.');\r\n    return parts.length > 1 ? parts.pop() : '';\r\n  }\r\n\r\n  function validateFileType(file) {\r\n    return ALLOWED_EXTENSIONS.includes(getExtension(file)) &&\r\n      ALLOWED_TYPES.includes(file.type);\r\n  }\r\n\r\n  function inspectImage(file) {\r\n    return new Promise(function (resolve, reject) {\r\n      const url = URL.createObjectURL(file);\r\n      const img = new Image();\r\n\r\n      img.onload = function () {\r\n        const valid = img.naturalWidth > 0 &&\r\n          img.naturalHeight > 0 &&\r\n          img.naturalWidth <= MAX_DIMENSION &&\r\n          img.naturalHeight <= MAX_DIMENSION;\r\n        URL.revokeObjectURL(url);\r\n\r\n        if (!valid) {\r\n          reject(new Error(file.name +\r\n            ': image dimensions must not exceed 4000 \u00d7 4000 px.'));\r\n        } else {\r\n          resolve();\r\n        }\r\n      };\r\n\r\n      img.onerror = function () {\r\n        URL.revokeObjectURL(url);\r\n        reject(new Error(file.name + ': unable to read this image.'));\r\n      };\r\n\r\n      img.src = url;\r\n    });\r\n  }\r\n\r\n  function syncInputFiles() {\r\n    const dt = new DataTransfer();\r\n    selectedFiles.forEach(function (file) {\r\n      dt.items.add(file);\r\n    });\r\n    imageInput.files = dt.files;\r\n  }\r\n\r\n  function renderFiles() {\r\n    fileList.replaceChildren();\r\n\r\n    selectedFiles.forEach(function (file, index) {\r\n      const item = document.createElement('div');\r\n      item.className = 'a5-file-item';\r\n\r\n      const img = document.createElement('img');\r\n      img.alt = file.name;\r\n      const url = URL.createObjectURL(file);\r\n      img.src = url;\r\n      img.onload = function () { URL.revokeObjectURL(url); };\r\n      img.onerror = function () { URL.revokeObjectURL(url); };\r\n\r\n      const name = document.createElement('div');\r\n      name.className = 'a5-file-name';\r\n      name.textContent = file.name;\r\n\r\n      const remove = document.createElement('button');\r\n      remove.type = 'button';\r\n      remove.className = 'a5-file-remove';\r\n      remove.textContent = '\u00d7';\r\n      remove.setAttribute('aria-label', 'Remove ' + file.name);\r\n\r\n      remove.addEventListener('click', function () {\r\n        selectedFiles.splice(index, 1);\r\n        syncInputFiles();\r\n        renderFiles();\r\n        clearStatus();\r\n      });\r\n\r\n      item.append(img, name, remove);\r\n      fileList.appendChild(item);\r\n    });\r\n  }\r\n\r\n  imageInput.addEventListener('change', async function () {\r\n    clearStatus();\r\n    const incoming = Array.from(imageInput.files || []);\r\n\r\n    if (selectedFiles.length + incoming.length > MAX_FILES) {\r\n      showStatus('You can upload a maximum of 5 images.', 'error');\r\n      syncInputFiles();\r\n      return;\r\n    }\r\n\r\n    for (const file of incoming) {\r\n      if (!validateFileType(file)) {\r\n        showStatus('Only JPG, PNG and WEBP images are accepted: ' + file.name, 'error');\r\n        syncInputFiles();\r\n        return;\r\n      }\r\n\r\n      if (file.size > MAX_FILE_SIZE) {\r\n        showStatus('Each image must be 10 MB or smaller: ' + file.name, 'error');\r\n        syncInputFiles();\r\n        return;\r\n      }\r\n\r\n      if (selectedFiles.some(function (existing) {\r\n        return existing.name === file.name && existing.size === file.size;\r\n      })) {\r\n        continue;\r\n      }\r\n\r\n      try {\r\n        await inspectImage(file);\r\n      } catch (error) {\r\n        showStatus(error.message, 'error');\r\n        syncInputFiles();\r\n        return;\r\n      }\r\n\r\n      selectedFiles.push(file);\r\n    }\r\n\r\n    syncInputFiles();\r\n    renderFiles();\r\n  });\r\n\r\n  \/*\r\n   * Country\/territory list. DisplayNames uses browser localization data\r\n   * for standard ISO region codes.\r\n   *\/\r\n  const countryCodes = (\r\n    'AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW'\r\n  ).split(\/\\s+\/);\r\n\r\n  countrySelect.replaceChildren();\r\n\r\n  const countryPlaceholder = document.createElement('option');\r\n  countryPlaceholder.value = '';\r\n  countryPlaceholder.textContent = 'Select your country \/ region';\r\n  countrySelect.appendChild(countryPlaceholder);\r\n\r\n  let displayNames = null;\r\n  try {\r\n    displayNames = new Intl.DisplayNames(['en'], { type: 'region' });\r\n  } catch (error) {}\r\n\r\n  const countries = countryCodes.map(function (code) {\r\n    const name = displayNames ? displayNames.of(code) : code;\r\n    return { code: code, name: (!name || name === code) ? code : name };\r\n  }).sort(function (a, b) {\r\n    return a.name.localeCompare(b.name);\r\n  });\r\n\r\n  countries.forEach(function (country) {\r\n    const option = document.createElement('option');\r\n    option.value = country.name;\r\n    option.textContent = country.name;\r\n    countrySelect.appendChild(option);\r\n  });\r\n\r\n  form.addEventListener('submit', async function (event) {\r\n    event.preventDefault();\r\n    clearStatus();\r\n\r\n    if (!form.checkValidity()) {\r\n      form.reportValidity();\r\n      return;\r\n    }\r\n\r\n    if (selectedFiles.length < 1) {\r\n      showStatus('Please provide at least one image of the product you are referring to.', 'error');\r\n      return;\r\n    }\r\n\r\n    const config = window.aliookInquiryConfigV5;\r\n    if (!config || !config.ajaxUrl || !config.nonce) {\r\n      showStatus('The inquiry service is not configured correctly. Please contact the website administrator.', 'error');\r\n      return;\r\n    }\r\n\r\n    submitButton.disabled = true;\r\n    submitButton.textContent = 'SENDING...';\r\n\r\n    try {\r\n      const data = new FormData();\r\n      data.append('action', 'aliook_inquiry_v5');\r\n      data.append('nonce', config.nonce);\r\n      data.append('name', $('#a5-name').value.trim());\r\n      data.append('country', countrySelect.value);\r\n      data.append('whatsapp', $('#a5-whatsapp').value.trim());\r\n      data.append('email', $('#a5-email').value.trim());\r\n      data.append('price_mode', priceMode.value);\r\n      data.append('currency', currencySelect.value);\r\n      data.append('price_amount', priceAmount.value.trim());\r\n\r\n      selectedFiles.forEach(function (file) {\r\n        data.append('images[]', file, file.name);\r\n      });\r\n\r\n      const response = await fetch(config.ajaxUrl, {\r\n        method: 'POST',\r\n        credentials: 'same-origin',\r\n        body: data\r\n      });\r\n\r\n      let result;\r\n      try {\r\n        result = await response.json();\r\n      } catch (e) {\r\n        throw new Error('The server returned an unexpected response. Please refresh the page and try again.');\r\n      }\r\n\r\n      if (!response.ok || !result.success) {\r\n        throw new Error(\r\n          result && result.data && result.data.message\r\n            ? result.data.message\r\n            : 'We could not submit your inquiry. Please try again.'\r\n        );\r\n      }\r\n\r\n      const priceText = priceMode.value === 'None'\r\n        ? 'None'\r\n        : priceAmount.value.trim() + ' ' + currencySelect.value;\r\n\r\n      const whatsappMessage = [\r\n        'Hello ALIOOK, I have submitted a product sourcing inquiry.',\r\n        '',\r\n        'Name: ' + $('#a5-name').value.trim(),\r\n        'Country\/Region: ' + countrySelect.value,\r\n        'WhatsApp: ' + $('#a5-whatsapp').value.trim(),\r\n        'Email: ' + $('#a5-email').value.trim(),\r\n        'Product Price: ' + priceText,\r\n        'I have attached product reference images through the website inquiry form.'\r\n      ].join('\\n');\r\n\r\n      showStatus(\r\n        'Your inquiry has been sent successfully. WhatsApp will open so you can contact our team.',\r\n        'success'\r\n      );\r\n\r\n      const whatsappUrl = 'https:\/\/wa.me\/8613365691403?text=' +\r\n        encodeURIComponent(whatsappMessage);\r\n\r\n      \/*\r\n       * Open WhatsApp directly from the submit interaction to reduce\r\n       * popup-blocking risk. The inquiry is sent first.\r\n       *\/\r\n      window.open(whatsappUrl, '_blank', 'noopener,noreferrer');\r\n\r\n      form.reset();\r\n      selectedFiles = [];\r\n      syncInputFiles();\r\n      renderFiles();\r\n      updatePriceLayout();\r\n\r\n    } catch (error) {\r\n      showStatus(error.message || 'Submission failed. Please try again.', 'error');\r\n    } finally {\r\n      submitButton.disabled = false;\r\n      submitButton.textContent = 'SEND MY INQUIRY';\r\n    }\r\n  });\r\n\r\n  updatePriceLayout();\r\n})();\r\n<\/script>\r\n<\/div>\r\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>FREE SOURCING.SMARTER SAVINGS Same Product. Better Price Inquirer&#8217;s Name * Country \/ Region * Loading countries&#8230; WhatsApp Number * Once we receive your inquiry, we&#8217;ll get back to you with a quote on WhatsApp promptly. Email Address *&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"folder":[],"_links":{"self":[{"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/pages\/18982"}],"collection":[{"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/comments?post=18982"}],"version-history":[{"count":30,"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/pages\/18982\/revisions"}],"predecessor-version":[{"id":19046,"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/pages\/18982\/revisions\/19046"}],"wp:attachment":[{"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/media?parent=18982"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/aliook.com\/hi\/wp-json\/wp\/v2\/folder?post=18982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}