Plugin Directory

Changeset 2765894


Ignore:
Timestamp:
08/03/2022 03:19:44 PM (4 years ago)
Author:
w3scloud
Message:

Update

Location:
w3sc-elementor-to-zoho/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • w3sc-elementor-to-zoho/trunk/README.txt

    r2711549 r2765894  
    44Tags: Zoho CRM, Zoho, Elementor, API, Leads,Contacts,CRM, W3SCloud, Elementor to Zoho CRM
    55Requires at least: 5.0
    6 Tested up to: 5.8
    7 Stable tag: 1.1.0
     6Tested up to: 6.0.1
     7Stable tag: 1.2.0
    88Requires PHP: 7.2
    99License: GPLv2 or later
  • w3sc-elementor-to-zoho/trunk/elementor-to-zoho.php

    r2711549 r2765894  
    44 * Description: Data Insert in Zoho CRM by Elementor.
    55 * Plugin URI:  https://wordpress.org/plugins/w3sc-elementor-to-zoho/
    6  * Version:     1.1.0
     6 * Version:     1.2.0
    77 * Author:      W3SCloud Technology
    88 * Author URI:  https://w3scloud.com/
  • w3sc-elementor-to-zoho/trunk/includes/widgets/W3sc-widget.php

    r2709751 r2765894  
    119119                    $name = $value["api_name"];
    120120                    $datatype = $value["data_type"];
    121                     $namesec = $name . "" . "(" . $datatype . ")"."("."Contact".")";
    122                     $contactFields['Contact__'.$name] = $namesec;
     121
     122                    // Check field is lookup or not
     123                    if($datatype != "lookup" && $datatype != "ownerlookup"){
     124                        $namesec = $name . "" . "(" . $datatype . ")"."("."Contact".")";
     125                        $contactFields['Contact__'.$name] = $namesec;
     126                    }
    123127                }
    124128            }
     
    129133                    $name = $value["api_name"];
    130134                    $datatype = $value["data_type"];
    131                     $namesec = $name . "" . "(" . $datatype . ")"."("."Lead".")";
    132                     $leadFields['Lead__'.$name] = $namesec;
     135
     136                    // Check field is lookup or not
     137                    if($datatype != "lookup" && $datatype != "ownerlookup"){
     138                        $namesec = $name . "" . "(" . $datatype . ")"."("."Lead".")";
     139                        $leadFields['Lead__'.$name] = $namesec;
     140                    }
    133141                }
    134142            }
Note: See TracChangeset for help on using the changeset viewer.