Support

Home Forums Event Espresso Premium Nesting paid events – is this possible?

Nesting paid events – is this possible?

Posted: February 6, 2014 at 9:33 am

Viewing 7 reply threads


Breakwater School

February 6, 2014 at 9:33 am

Hi there!
I am attempting to nest paid events for our site: breakwaterregistration.org. I am doing this because some of our summer camps run only in the morning (like a fairy camp). I have a basic description of the morning (fairy) camp. The idea is that the customer would have to choose an afternoon camp with which to pair it. They will have four choices with which to fill the afternoon. I don’t want to allow for the purchase of only the morning camp. I want them to have to choose one of the four options of Morning camp and Afternoon Camp. My idea is to nest the four choices in under the description of the morning (fairy) camp. I think I know how to do this but would love your suggestions. I don’t want them to be able to purchase the fairy camp alone so would have to not have an “add to cart” button for that.

How would I best accomplish this?

Many thanks!
Kathy


Breakwater School

February 6, 2014 at 2:17 pm

Sorry! Forgot to include the following:

Site is http://www.breakwaterschoolregistration.org
WP version: 3.8
Event Espresso: Version 3.1.36.4.P

The EE plugin has been upgraded within the last week.

Thanks!


Tony

  • Support Staff

February 6, 2014 at 3:54 pm

Hi Kathy,

You mention not using the “Add To Cart” links but you can actually add both (or many) events to the cart with a single cart link.

So you could have 4 Add to cart links, each adds the same main event (the Morning) but then also adds a separate afternoon camp.

So lets say the morning event is ID 1. The four camps are 2,3,4,5.

Your cart links would be similar to:
Cart link 1 = Event 1+2
Cart link 2 = Event 1+3
Cart link 3 = Event 1+4
Cart link 4 = Event 1+5

Then you can automatically re-direct to the cart when any one of those links are clicked.

Each cart link would be setup as follows:

[ESPRESSO_CART_LINK event_id=”1-2″ direct_to_cart=1]

One issue with that method is there is nothing stopping the user removing one of the events after you’ve added them to the cart currently.


Breakwater School

February 6, 2014 at 5:19 pm

Hi Tony!

Thanks so much for your suggestion. I’m not sure this will work for us since we don’t want anyone to be able to find any way at all to just register for the morning class.

I have made a “master” event called Fairy Camp and this is in the text box:

Instructor: Christine Hill

Weekdays, mornings

Ages: 8-14

Become a fairy architect using materials from nature! We will explore architectural design as an art form by constructing an indoor fairy house. Students will engineer their own central structure, furniture, garden and/or playgrounds. Through the magical world of fairies, we will learn basic elements of design such as scale and proportion, rhythm, balance, theme and variation. Please note this is a “Combo camp”. Campers will spend their morning creating their magical fairy houses and can choose to join one of the full day camps in the afternoon (chemistry, art, sports, nature) Choose your Combo Camp below:

[EVENT_LIST category_identifier= “fairychoices” order_by=event_name]

I have four classes tagged with the category “fairychoices”. When I try to view the event, things won’t load. What am I doing wrong?

Many thanks,
Kathy


Tony

  • Support Staff

February 7, 2014 at 8:29 am

Hmm, is the “master” event also within the fairychoices category?

I’m wondering if the event is calling itself with that event list, which in turn causes an infinite loop.


Breakwater School

February 7, 2014 at 11:16 am

Hi Tony!
I did not put the master event in the same category but rather created a separate category for all master classes…so no infinite loop. I do still have that dang extra “add to cart” button hanging around at the bottom, though.

Thanks so much for your help! It is much appreciated. 🙂
Kathy


Tony

  • Support Staff

February 10, 2014 at 1:20 am

No Problem, glad to help 🙂

Can you link me to the event in question please?

I do still have that dang extra “add to cart” button hanging around at the bottom, though.

You have the add-to-cart link embedded within the template files iirc?


Breakwater School

February 10, 2014 at 12:04 pm

http://breakwaterschoolregistration.org/?page_id=2022 is the link. As you can see we only want folks to be able to sign up for the combination camps, not just the chemistry class itself. You’ll see the extra “add to cart” button below.

I don’t know what you mean by “You have the add-to-cart link embedded within the template files iirc?” What is iirc?

Many thanks,
Kathy


Tony

  • Support Staff

February 10, 2014 at 3:20 pm

Apologies.

IIRC – If I recall correctly.

I seem to remember posting about adding the ‘Add To Cart’ link to event_list templates to yourself, meaning that link is added to all events.

So the easiest way to remove those rouge cart links is to just hide them with CSS. Using this code will hide those 2 specific cart links.

#cart_link_396, #cart_link_383 {
display: none;
}

I would recommend using something like My Custom CSS plugin to add that code.

Is that what you are looking for?

The event seems to be loading now, in reference to this:

I have four classes tagged with the category “fairychoices”. When I try to view the event, things won’t load. What am I doing wrong?

May I ask what the problem was?


Breakwater School

February 12, 2014 at 6:12 pm

That worked beautifully. Thank you so much!!

Viewing 7 reply threads

The support post ‘Nesting paid events – is this possible?’ 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