Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Allow camptix to show specific tickets and columns in table #197

Open
bretterer opened this issue Jan 16, 2018 · 5 comments
Open

Allow camptix to show specific tickets and columns in table #197

bretterer opened this issue Jan 16, 2018 · 5 comments

Comments

@bretterer
Copy link

With the policy of having to do a ticket for "low level" sponsorships, I would like to suggest adding a few attributes to the [camptix] shortcode to let you specify which tickets to show on a page. Example. we have a "Become a sponsor" page, and I would like to show only the sponsor ticket levels "freelancer" and "small business" both under the $250 price.

Suggestion:

[camptix only="678, 680"]

This would show only the tickets with id 678 and 680 (ie. our sponsor ticket id's) that can be displayed on the "become a sponsor" page.

[camptix except="678, 680"]

Would display all tickets, except my sponsor levels.

The second part is to allow me to hide columns, Mainly the remaining tickets. I currently do this with CSS, but would be nice to have something like

[camptix hide="qty"]
@iandunn
Copy link
Contributor

iandunn commented Jan 18, 2018

Can you describe the problem this would solve? Is it that having too many tickets available is confusing to attendees? We'd probably want some buy-in from the Community team before spending time on it.

From a technical perspective, before we can add any shortcode options, we'd need to change some of the fundamental architecture around get_tickets_post_id(), which is the cause of the limit of having 1 page with the [camptix] shortcode. That'd probably be better handled in a separate ticket.

@bretterer
Copy link
Author

bretterer commented Jan 24, 2018

Hey @iandunn . The idea here is stated above as well But with the new requirements of having to sell a ticket for low level sponsorships, it would be nice to list the sponsorship tickets on the "become a sponsor" page, and only the ticket associated with the sponsorship we are talking about.

Example:

Become a Small Business sponsor ($250)

Info about the sponsorship

[camptix ticket_level="small_business"]

Become a Freelancer Sponsor ($100)

Info about the sponsorship

[camptix ticket_level="freelancer"]

Then, on the buy ticket page, we could set it up to either show all tickets, as it is now, or it may be nice to have a shortcode that hides tickets

[camptix except="freelancer, small_business"]

Hope that explains a little better.

@nczz
Copy link

nczz commented Jul 5, 2018

Agree with this issue!

@EliW
Copy link
Contributor

EliW commented Oct 8, 2018

Bumping, because this would also be useful if you wanted to do things like have 'addon tickets'. IE: Want to buy a hoodie? ... that you don't list on the same page, or same table, as the tickets.

@namortxka
Copy link

any update in this issue??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants