Support

Home Forums Event Espresso Premium Removal of "Qty" from above quantity selection column

Removal of "Qty" from above quantity selection column

Posted: December 3, 2019 at 3:16 pm

Viewing 1 reply thread


vrwaadmin

December 3, 2019 at 3:16 pm

We are using EE to accept Membership Registrations. On the registration “Event” page, we have several ticket options but only 1 type, so the pulldown is replaced by a radio button. At the top of the column, “Qty” still appears and the customer asked to see if we could remove that text for just these forms.

Additionally, can we adjust the column width to prevent text wrapping?
(See Wastewater tab at the link below where I’ve combined several ticket selectors:
https://vtruralwater.wpmudev.host/membership/registration/


Tony

  • Support Staff

December 4, 2019 at 3:28 am

Hi there,

At the top of the column, “Qty” still appears and the customer asked to see if we could remove that text for just these forms.

Is this the same for all of your events or just a few? The ‘just these forms’ suggests you want some events to continue to show the Qty field, is that correct?

If you want to remove ‘Qty’ for all ticket selectors in Event Espresso you can use something like this:

https://gist.github.com/Pebblo/6c8c3c8d84b9d77608d9116bfe012dec

Just return and empty string rather than some custom text, so:

return '';

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Additionally, can we adjust the column width to prevent text wrapping?

Sure, you can change the layout with some CSS, for example:

.ee-ticket-selector-ticket-details-th {
    width: 80%;
}

Add that to Appreanace -> Themes -> Customize -> Additional CSS.

Viewing 1 reply thread

The support post ‘Removal of "Qty" from above quantity selection column’ 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