{"id":19883,"date":"2026-06-24T12:44:00","date_gmt":"2026-06-24T12:44:00","guid":{"rendered":"https:\/\/abutawileh.com\/?page_id=19883"},"modified":"2026-08-06T10:34:48","modified_gmt":"2026-08-06T10:34:48","slug":"%d8%b1%d8%b5%d9%8a%d8%af-%d9%86%d9%82%d8%a7%d8%b7-%d8%a7%d9%84%d9%88%d9%84%d8%a7%d8%a1","status":"publish","type":"page","link":"https:\/\/abutawileh.com\/ar\/%d8%b1%d8%b5%d9%8a%d8%af-%d9%86%d9%82%d8%a7%d8%b7-%d8%a7%d9%84%d9%88%d9%84%d8%a7%d8%a1\/","title":{"rendered":"\u0631\u0635\u064a\u062f \u0646\u0642\u0627\u0637 \u0627\u0644\u0648\u0644\u0627\u0621"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"19883\" class=\"elementor elementor-19883 elementor-19862\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f75248b e-con-full e-flex e-con e-parent\" data-id=\"f75248b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-f88b0fa e-con-full e-flex e-con e-child\" data-id=\"f88b0fa\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-48ed2d9 elementor-invisible elementor-widget elementor-widget-image\" data-id=\"48ed2d9\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInRight&quot;,&quot;_animation_tablet&quot;:&quot;fadeInDown&quot;}\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1400\" height=\"1470\" src=\"https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points.webp\" class=\"attachment-full size-full wp-image-19882\" alt=\"\" srcset=\"https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points.webp 1400w, https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points-286x300.webp 286w, https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points-975x1024.webp 975w, https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points-768x806.webp 768w, https:\/\/abutawileh.com\/wp-content\/uploads\/2026\/06\/Loyalty-Program-Points-600x630.webp 600w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3689005 e-con-full e-flex e-con e-child\" data-id=\"3689005\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-c62727b e-con-full e-flex elementor-invisible e-con e-child\" data-id=\"c62727b\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeInLeft&quot;,&quot;animation_tablet&quot;:&quot;fadeInUp&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ef16083 header_with_line elementor-widget elementor-widget-heading\" data-id=\"ef16083\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">\u0627\u0628\u0642\u064e \u0639\u0644\u0649 \u0627\u0637\u0644\u0627\u0639 \u062f\u0627\u0626\u0645<\/p>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-41bd3a0 elementor-widget elementor-widget-heading\" data-id=\"41bd3a0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">\u062a\u062d\u0642\u0642 \u0645\u0646 \u0631\u0635\u064a\u062f \u0646\u0642\u0627\u0637 \u0627\u0644\u0648\u0644\u0627\u0621 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-31fa2b3 elementor-widget__width-initial elementor-widget-tablet_extra__width-inherit elementor-widget elementor-widget-text-editor\" data-id=\"31fa2b3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>\u0643\u0644 \u0639\u0645\u0644\u064a\u0629 \u0634\u0631\u0627\u0621 \u062a\u0642\u0631\u0651\u0628\u0643 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0627\u0644\u0645\u0643\u0627\u0641\u0622\u062a \u0627\u0644\u062d\u0635\u0631\u064a\u0629. \u0623\u062f\u062e\u0644 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643 \u0627\u0644\u0645\u062d\u0645\u0648\u0644 \u0627\u0644\u0645\u0633\u062c\u0644 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0631\u0635\u064a\u062f \u0646\u0642\u0627\u0637 \u0627\u0644\u0648\u0644\u0627\u0621 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8a3f47c elementor-widget elementor-widget-shortcode\" data-id=\"8a3f47c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t<style>\n\t\t.erp-loyalty-wrapper { max-width: 420px; margin: 0 auto; }\n\t\t.erp-loyalty-step label { display:block; font-weight:600; margin-bottom:6px; }\n\t\t.erp-loyalty-step input { width:100%; padding:10px 12px; margin-bottom:10px; box-sizing:border-box; }\n\t\t.erp-loyalty-step button { padding:10px 18px; cursor:pointer; margin-right:6px; }\n\t\t.erp-loyalty-step button:disabled { opacity:.5; cursor:not-allowed; }\n\t\t.erp-loyalty-msg { margin:12px 0; padding:10px 12px; border-radius:4px; }\n\t\t.erp-loyalty-info  { background:#eef5ff; color:#1f4f8b; }\n\t\t.erp-loyalty-error { background:#fdecea; color:#a4282a; }\n\t\t.erp-loyalty-result { margin-top:16px; text-align:center; }\n\t\t.erp-loyalty-name { font-size:18px; font-weight:700; margin-bottom:8px; }\n\t\t.erp-loyalty-points { font-size:20px; font-weight:600; padding:14px 16px; background:#eef5ff; color:#1f4f8b; border-radius:6px; }\n\t\t.erp-loyalty-result[dir=\"rtl\"] { text-align:center; }\n\t\t<\/style>\n\t\t\t\t<div class=\"erp-loyalty-wrapper\" id=\"erp-loyalty-app\"\n\t\t\tdata-ajax=\"https:\/\/abutawileh.com\/wp-admin\/admin-ajax.php\"\n\t\t\tdata-nonce=\"5ff0061f67\"\n\t\t\tdata-msg=\"\u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0647\u0648 {otp}\">\n\n\t\t\t<div class=\"erp-loyalty-step\" id=\"erp-loyalty-step-mobile\">\n\t\t\t\t<label for=\"erp-loyalty-mobile\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641<\/label>\n\t\t\t\t<input type=\"tel\" id=\"erp-loyalty-mobile\" inputmode=\"tel\" autocomplete=\"tel\"\n\t\t\t\t\tplaceholder=\"07XXXXXXXX\" \/>\n\t\t\t\t<button type=\"button\" id=\"erp-loyalty-send\">\u0625\u0631\u0633\u0627\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 (OTP)<\/button>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"erp-loyalty-step\" id=\"erp-loyalty-step-otp\" style=\"display:none;\">\n\t\t\t\t<label for=\"erp-loyalty-otp\">\u0623\u062f\u062e\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 \u0627\u0644\u0645\u0643\u0648\u0651\u0646 \u0645\u0646 4 \u0623\u0631\u0642\u0627\u0645<\/label>\n\t\t\t\t<input type=\"text\" id=\"erp-loyalty-otp\" inputmode=\"numeric\" maxlength=\"4\"\n\t\t\t\t\tautocomplete=\"one-time-code\" placeholder=\"\u2022\u2022\u2022\u2022\" \/>\n\t\t\t\t<button type=\"button\" id=\"erp-loyalty-verify\" disabled>\u0627\u0644\u062a\u062d\u0642\u0642<\/button>\n\t\t\t\t<button type=\"button\" id=\"erp-loyalty-resend\" style=\"display:none;\">\u0625\u0639\u0627\u062f\u0629 \u0625\u0631\u0633\u0627\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 (OTP)<\/button>\n\t\t\t<\/div>\n\n\t\t\t<div class=\"erp-loyalty-msg\" id=\"erp-loyalty-msg\" style=\"display:none;\"><\/div>\n\t\t\t<div class=\"erp-loyalty-output\" id=\"erp-loyalty-output\"><\/div>\n\t\t<\/div>\n\n\t\t<script>\n\t\t(function () {\n\t\t\tvar app    = document.getElementById( 'erp-loyalty-app' );\n\t\t\tif ( ! app ) { return; }\n\t\t\tvar ajax   = app.getAttribute( 'data-ajax' );\n\t\t\tvar nonce  = app.getAttribute( 'data-nonce' );\n\t\t\tvar smsMsg = app.getAttribute( 'data-msg' ) || '';\n\n\t\t\tvar stepMobile = document.getElementById( 'erp-loyalty-step-mobile' );\n\t\t\tvar stepOtp    = document.getElementById( 'erp-loyalty-step-otp' );\n\t\t\tvar mobileEl   = document.getElementById( 'erp-loyalty-mobile' );\n\t\t\tvar otpEl      = document.getElementById( 'erp-loyalty-otp' );\n\t\t\tvar sendBtn    = document.getElementById( 'erp-loyalty-send' );\n\t\t\tvar verifyBtn  = document.getElementById( 'erp-loyalty-verify' );\n\t\t\tvar resendBtn  = document.getElementById( 'erp-loyalty-resend' );\n\t\t\tvar msgEl      = document.getElementById( 'erp-loyalty-msg' );\n\t\t\tvar outEl      = document.getElementById( 'erp-loyalty-output' );\n\n\t\t\tfunction setMsg( text, type ) {\n\t\t\t\tif ( ! text ) { msgEl.style.display = 'none'; msgEl.textContent = ''; return; }\n\t\t\t\tmsgEl.style.display = 'block';\n\t\t\t\tmsgEl.className = 'erp-loyalty-msg erp-loyalty-' + ( type || 'info' );\n\t\t\t\tmsgEl.textContent = text;\n\t\t\t}\n\n\t\t\tfunction isValidMobile( v ) {\n\t\t\t\treturn \/^\\+?\\d{8,15}$\/.test( v.replace( \/[\\s-]\/g, '' ) );\n\t\t\t}\n\n\t\t\tfunction post( action, data ) {\n\t\t\t\tvar body = new URLSearchParams();\n\t\t\t\tbody.append( 'action', action );\n\t\t\t\tbody.append( 'nonce', nonce );\n\t\t\t\tObject.keys( data ).forEach( function ( k ) { body.append( k, data[ k ] ); } );\n\t\t\t\treturn fetch( ajax, { method: 'POST', credentials: 'same-origin', body: body } )\n\t\t\t\t\t.then( function ( r ) { return r.json(); } );\n\t\t\t}\n\n\t\t\tfunction sendOtp() {\n\t\t\t\tvar mobile = mobileEl.value.trim();\n\t\t\t\tif ( ! isValidMobile( mobile ) ) { setMsg( '\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641 \u0645\u062d\u0645\u0648\u0644 \u0635\u0627\u0644\u062d.\\n', 'error' ); return; }\n\t\t\t\tsendBtn.disabled = true; resendBtn.disabled = true;\n\t\t\t\tsetMsg( '\u062c\u0627\u0631\u064d \u0625\u0631\u0633\u0627\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642\u2026', 'info' );\n\t\t\t\tpost( 'erp_loyalty_send_otp', { mobile: mobile, _msg: smsMsg } ).then( function ( res ) {\n\t\t\t\t\tsendBtn.disabled = false; resendBtn.disabled = false;\n\t\t\t\t\tif ( res.success ) {\n\t\t\t\t\t\tstepMobile.style.display = 'none';\n\t\t\t\t\t\tstepOtp.style.display = 'block';\n\t\t\t\t\t\tresendBtn.style.display = 'inline-block';\n\t\t\t\t\t\tsetMsg( res.data.message, 'info' );\n\t\t\t\t\t\totpEl.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetMsg( res.data.message, 'error' );\n\t\t\t\t\t}\n\t\t\t\t} ).catch( function () { sendBtn.disabled = false; resendBtn.disabled = false; setMsg( '\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u064a\u0631\u062c\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.', 'error' ); } );\n\t\t\t}\n\n\t\t\tsendBtn.addEventListener( 'click', sendOtp );\n\t\t\tresendBtn.addEventListener( 'click', sendOtp );\n\n\t\t\totpEl.addEventListener( 'input', function () {\n\t\t\t\tthis.value = this.value.replace( \/\\D\/g, '' );\n\t\t\t\tverifyBtn.disabled = ! \/^\\d{4}$\/.test( this.value );\n\t\t\t} );\n\n\t\t\tverifyBtn.addEventListener( 'click', function () {\n\t\t\t\tvar otp    = otpEl.value.trim();\n\t\t\t\tvar mobile = mobileEl.value.trim();\n\t\t\t\tif ( ! \/^\\d{4}$\/.test( otp ) ) { return; }\n\t\t\t\tverifyBtn.disabled = true;\n\t\t\t\tsetMsg( '\u062c\u0627\u0631\u064d \u0627\u0644\u062a\u062d\u0642\u0642\u2026', 'info' );\n\t\t\t\tpost( 'erp_loyalty_verify_otp', { mobile: mobile, otp: otp } ).then( function ( res ) {\n\t\t\t\t\tif ( res.success ) {\n\t\t\t\t\t\tstepOtp.style.display = 'none';\n\t\t\t\t\t\tsetMsg( '', '' );\n\t\t\t\t\t\toutEl.innerHTML = res.data.html;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tverifyBtn.disabled = false;\n\t\t\t\t\t\tsetMsg( res.data.message, 'error' );\n\t\t\t\t\t}\n\t\t\t\t} ).catch( function () { verifyBtn.disabled = false; setMsg( '\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u064a\u0631\u062c\u0649 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.', 'error' ); } );\n\t\t\t} );\n\t\t})();\n\t\t<\/script>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0627\u0628\u0642\u064e \u0639\u0644\u0649 \u0627\u0637\u0644\u0627\u0639 \u062f\u0627\u0626\u0645 \u062a\u062d\u0642\u0642 \u0645\u0646 \u0631\u0635\u064a\u062f \u0646\u0642\u0627\u0637 \u0627\u0644\u0648\u0644\u0627\u0621 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0643\u0644 \u0639\u0645\u0644\u064a\u0629 \u0634\u0631\u0627\u0621 \u062a\u0642\u0631\u0651\u0628\u0643 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0627\u0644\u0645\u0643\u0627\u0641\u0622\u062a \u0627\u0644\u062d\u0635\u0631\u064a\u0629. \u0623\u062f\u062e\u0644 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643 \u0627\u0644\u0645\u062d\u0645\u0648\u0644 \u0627\u0644\u0645\u0633\u062c\u0644 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0631\u0635\u064a\u062f \u0646\u0642\u0627\u0637 \u0627\u0644\u0648\u0644\u0627\u0621 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-19883","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/pages\/19883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/comments?post=19883"}],"version-history":[{"count":0,"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/pages\/19883\/revisions"}],"wp:attachment":[{"href":"https:\/\/abutawileh.com\/ar\/wp-json\/wp\/v2\/media?parent=19883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}