• Resolved lydwolf1

    (@lydwolf1)


    Hi Jay,

    My site is looking pretty good. Thanks for your help. Here is the URL if you would like to see: Demo3.CarSalesSpecialist.com

    But this one feature is something I would love to offer clients. Yes I can post a simple a href ad in the widget and add an image to the slider like on your demo site; but how do you have the site call up different ads in the widget and different salesman images for the slider based on a referral link?

    Is this feature implemented yet?

    Regards,
    Lydia

    http://wordpress.org/plugins/car-demon/

Viewing 1 replies (of 1 total)
  • Plugin Author theverylastperson

    (@theverylastperson)

    Hey Lydia,

    This feature does take a little bit of theme magic to take the full advantage of it, but the basic concept works by default.

    For example, on the vehicle contact pages the contact form can be trigger to go to a specific sales person based on vehicle condition & location information.

    So if you had two different rooftops and a salesman named X, then you can go to X’s profile and set what forms he can receive. You can also find their affiliate URL, if the salescode query is used on any page it will drop a cookie on the visitors system that flags bill’s contact information to be populated in the vehicle contact widget form and alternatively can display his phone number.

    You can also use the shortcode [highlight_staff] to show a staff person’s profile if a cookie has been dropped on the visitor’s system.

    The banners on the front page of the demo are simply flags put into the theme to check and see if there is a sales_code cookie, if there is it retrieves the image preset for that sales person.

    Here’s some sample code

    if (isset($_COOKIE["sales_code"])) {
    		$sales_code = $_COOKIE["sales_code"];
    	} else {
    		$sales_code = '';
    	}
    	if ($sales_code) {
    		$custom_user_id = $_COOKIE["sales_code"];
    		$custom_slide_img = get_the_author_meta('slider_image', $custom_user_id);
    		if (!empty($custom_slide_img)) {
    			$custom_slide_link = get_the_author_meta('slider_link', $custom_user_id);
    			$custom_slide_text = get_the_author_meta('slider_description', $custom_user_id);
    			$custom_slide_title = get_the_author_meta('slider_title', $custom_user_id);
    			$car .= car_demon_custom_slide($custom_slide_img,$custom_slide_link,$custom_slide_text,$custom_slide_title);
    			$stop_at = $stop_at+1;
    			$start = $start + 1;
    		}
    	}
Viewing 1 replies (of 1 total)
  • The topic ‘Customize The Site for Each Salesman!!!’ is closed to new replies.