Support

Home Forums Event Espresso Premium Is there a way to make price modifiers only appear when added to cart

Is there a way to make price modifiers only appear when added to cart

Posted: June 25, 2015 at 10:02 am


Cathy Silverman

June 25, 2015 at 10:02 am

I would like to have an additional percentage added to the price of a ticket but only show this as a line item in the checkout process, not on the original ticket price.


Lorenzo Orlando Caum

  • Support Staff

June 25, 2015 at 12:37 pm

Hi Cathy, are you referring to removing the price modifiers from the pricing that is shown in the ticket selector on the single event page?


Lorenzo


Cathy Silverman

June 25, 2015 at 1:55 pm

Hi, As a non-profit we pass the credit card fees onto the purchasers (fully disclosed) I would like to have the additional charge as a line item. Adding the additional percent charge right now modifies the event price itself.
This is Bryan for Cathy’s account


Josh

  • Support Staff

June 25, 2015 at 4:03 pm

Hi Bryan,

There’s a PHP snippet you can add to a custom function plugin and it will change the way that the ticket selector displays the price. It will just display the base price instead with this code in place.

https://eventespresso.com/wiki/useful-php-code-snippets/#display-base-price


Cathy Silverman

June 29, 2015 at 12:17 pm

That code snippet didn’t do anything, I tried making a plugin and also just placing it in my functions file. Could it have something to do with me changing the language of the word “tickets”?


Lorenzo Orlando Caum

  • Support Staff

June 29, 2015 at 1:24 pm

Hi Cathy, could you give the example if this link a try?

https://eventespresso.com/topic/how-to-remove-surcharge-from-base-price-listing/#post-139785

It should replace the existing sample code snippet that you added.

Thanks


Lorenzo


Cathy Silverman

July 2, 2015 at 12:10 pm

That worked perfectly! Thanks


Lorenzo Orlando Caum

  • Support Staff

July 2, 2015 at 3:23 pm

Thanks Cathy, I’ll update this support post to resolved. If you need help with anything else, then please create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

The support post ‘Is there a way to make price modifiers only appear when added to cart’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso