Plugin Directory

Changeset 2716806


Ignore:
Timestamp:
05/01/2022 09:49:18 AM (4 years ago)
Author:
sokangroup
Message:

New Version 1.3.2

Location:
sokan-integration
Files:
18 added
3 edited

Legend:

Unmodified
Added
Removed
  • sokan-integration/trunk/Sokan-integration.php

    r2716783 r2716806  
    77 * Plugin Name: sokan Integration
    88 * Description:  افزونه ای برای استخراج تمامی اطلاعات ووکامرس مورد نیاز پلتفرم سکان
    9  * Version: 1.3.1
     9 * Version: 1.3.2
    1010 * Author: Sokan
    1111 * Author URI: https://Sokan.tech/
  • sokan-integration/trunk/include/classes/class-skng-db.php

    r2716780 r2716806  
    167167                if (!empty($customer_phone)){
    168168                    if (preg_match('/^(?:98|\+98|0098|0)?9[0-9]{9}$/', $customer_phone)) {
    169                         $customer_id = $customer_phone = preg_replace('/^(?:98|\+98|0098|0)/', "0", $customer_phone);
    170                     }else{
    171                         $customer_id =  $customer_phone;
     169                         $customer_phone = preg_replace('/^(?:98|\+98|0098|0)/', "0", $customer_phone);
    172170                    }
    173                 }
    174 
    175                 $customer_id = $customer_name;
    176             }
    177             $country = $value[$this->order_attr['country']] ?? "ایران";
     171                    $customer_id = $customer_phone;
     172                }else{
     173                    $customer_id = $customer_name;
     174
     175                }
     176            }
     177            $country = $value[$this->order_attr['country']] ?? "IR";
    178178            $state = $value[$this->order_attr['state']] ?? "استان نا مشخص";
    179179            $city = $value[$this->order_attr['city']] ?? "شهر نامشخص";
  • sokan-integration/trunk/readme.txt

    r2716788 r2716806  
    55Tested up to: 5.9
    66Donate link: http://sokan.tech/
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7979== Changelog ==
    8080
     81= 1.3.2 =
     82* رفع مشکلات گزارش شده
     83
    8184= 1.3.1 =
    8285* رفع باگ
     
    101104== Upgrade Notice ==
    102105
     106= 1.3.2 =
     107* رفع مشکلات گزارش شده
     108
    103109= 1.3.1 =
    104110* رفع باگ
    105 
    106111
    107112= 1.3.0 =
Note: See TracChangeset for help on using the changeset viewer.