• Resolved eggeno

    (@eggeno)


    Hi, waiting for the answer about the post “Save customer data into Dashboard”, I have some other questions:

    – There is a way to automatically send an invoice to the customer after it has purchased an event? Maybe in pdf as email attachment? And if that is not possible, could you give me some suggestions on how I could make an automatic invoice? Maybe with some other plugin?

    – Is there a way for those registering for the first time to pay a higher price? As a kind of ‘Membership’. However, only the first time. In the subsequent accesses the customer will pay only the tickets that buys. Is it possible?

    Thanks in advance,
    Eggeno

    http://wordpress.org/extend/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • – might be possible using EM placeholders but not using pdf attachments

    http://wp-events-plugin.com/documentation/placeholders/

    – yes, maybe you can try to hook into em_ticket_is_available filter and then check if the user is not yet a member then display the ticket

    e.g.

    add_filter( 'em_ticket_is_available','my_em_ticket_available',1,2);
    function my_em_ticket_available($result, $EM_Ticket){
    	$current_time = date('H:i:s', time());
    	if (  $EM_Ticket->ticket_name == 'Membership' && username_exists(X)  ){
    		return false;
    	}
    	return $result;
    }

    http://codex.wordpress.org/Function_Reference/username_exists

    Thread Starter eggeno

    (@eggeno)

    Thank you for the quick reply.
    But could you tell me exactly the steps to do? I think the snippet that you’ve posted, must be inserted into functions.php, right?
    And then, what should I do?

    Thanks in advance

    yes, that’s correct and then you can create a new ticket with that name and work on username_exists but unfortunately can’t help you anymore since I haven’t tried it yet.

    Thread Starter eggeno

    (@eggeno)

    OK! I’ll try and let you know
    Thanks for the help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Send Invoices and Membership’ is closed to new replies.