Plugin Directory

Changeset 1418969


Ignore:
Timestamp:
05/17/2016 05:29:10 PM (10 years ago)
Author:
leadfox
Message:

Update version 1.0.1

Location:
leadfox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • leadfox/trunk/leadfox.php

    r1378154 r1418969  
    22/***
    33 * Plugin Name: leadfox
    4  * Plugin Version: 1.0
     4 * Plugin Version: 1.0.1
    55 * Author: Leadfox(Leadfox)
    66 * Description: Leadfox converts visitors into ripe leads and paying customers : From creating convincing landing pages that capture more leads to running smarter email campaigns that better nurture new customers LeadFox makes deploying your online strategy easy and automatic. The plugin will integrate all the Leadfox tracking code on your website and will sync all your contacts with your Leadfox contact lists.
     
    366366            if(class_exists( 'WooCommerce' ))
    367367            {
    368                 if( $contactlist != 0)
     368                if( $contactlist != 0 && ($fstname!='' || $lstname!='' || $email!=''))
    369369                {
    370370                    $topost = array(
     
    450450    {
    451451        $id=$customerdetail->ID;
     452        $user_info = get_userdata($id);
    452453        $email=$customerdetail->user_email;
    453454        $name=$customerdetail->display_name;
    454455        $name = explode(" ",$name);
    455         $fstname = $name[0];
    456         $lstname = $name[1];
     456        //$fstname = $name[0];
     457        //$lstname = $name[1];
     458        $fstname = $user_info->first_name;
     459        $lstname = $user_info->last_name;
    457460        global $wpdb;
    458461
     
    464467        if(class_exists( 'WooCommerce' ))
    465468        {
    466             if( $contactlist != 0)
     469            if( $contactlist != 0 && ($fstname!='' || $lstname!='' || $email!=''))
    467470            {
    468471                $topost = array(
  • leadfox/trunk/readme.txt

    r1378139 r1418969  
    5050= 1.0 =
    5151Plugin lauch!
     52
     53
     54= 1.0.1 =
     55If the required values i.e. first name, last name and email is not empty then contacts will be synched.
     56
Note: See TracChangeset for help on using the changeset viewer.