Christian Chemaly

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Adding some language to the ticket body #1342392
    Christian Chemaly
    Participant

    I thought of using the $ticket fieldset to display the price, but wasn’t able to find it.

    I scratched my head a bit harder, and figured out that the ticket price is actually pulled from woo-commerce, since the ticket is considered a woo-commerce product.

    My current thought is to use the woo-commerce order email, and customize it to send a second email, following the tickets, with the donation receipt.

    Not sure how this is going to work. Again – any help is always welcome.

    in reply to: Adding some language to the ticket body #1342382
    Christian Chemaly
    Participant

    I am making slow progress.

    I am now able to edit the email with static content.
    What I still need is
    1) to find the right function that returns the price of the ticket for each row. I wasn’t able to find it in the documentation, but I would suppose it is something like moderntribe_get_ticket_price()
    That should be an easy answer to get I hope.

    I think that I could get away without knowing the number of tickets and use the ticket loop to make an addition of the prices.

    2) make the calculation based on the number of tickets and the price tickets, to return the total donation. That’s more php that plugin related, so if I make it past the first stop, I’ll check also on a php forum (and will update you guys too obviously)

    Thanks!
    Chris

Viewing 2 posts - 1 through 2 (of 2 total)