Posted: January 31, 2014 at 1:51 am
|
Hi There, I feel like a champ because I (FINALLY!:) figured out how to add in my custom registration buttons to my page & they even work properly. HOWEVER, I am not liking the experience that happens between when I click my “add to cart” button and the cart its self. WHAT HAPPENS: WHAT I WANT TO HAPPEN: Along these same lines, I would like to add a confirmation note into the cart somewhere assuring my customers that their (volume) discount will be automatically taken off when they register for all 4 classes. Finally, is there a way to have a “cart” link somewhere on my event page? (thebrandgal.com/workshops) So that even if their cart is empty, they can easily navigate between the cart and the event page. I guess I just feel like I am getting lost trying to get back and forth and I know what is supposed to be happening. So if I’m feeling that way, I know it won’t be a good experience for my clients. Sorry for the loooooong post! I will really appreciate any help! Thanks in advance! |
Hi Kelsey, How did you add your custom registration buttons to the page? Can you post a link to your registration page so we can view what is happening please?
You would need to modify the cart code to do this, which we generally advise against although the function is ‘pluggable‘ so you could make the change update safe, but then any modifications we make to the cart with updates could be broken due to it using an old version of that function (which would be the custom one). However… it is possible to ‘translate’ the phrase ‘You can register a maximum of %d attendees for this event.’ to whatever you would like to say (in this example you would be advising of the volume discount) which would then be more update friendly, but that depends on if you need the above phrase as is or not.
Usually when you click ‘Add To Cart’ (without the direct_to_cart parameter) the link should change to ‘View Cart’ without the ‘awkward “view cart” no man’s land page’, we’ve seen this happen before and there are often many possible reasons for it (often some part of what the theme is doing, but not always) so you could have a Cart link, but I’m not sure how much use it would be avoid this problem currently. We have the Espresso Cart Widget (Dashboard -> Appearance -> Widgets) http://d.pr/i/sjXq which provides easy access to the cart page if that is any better? |
|
|
My event page is thebrandgal.com/workshops This is the short code I am using to create my buttons: I don’t know if this will help at all, but my theme is a ProPhoto theme. You have a point that if the whole page is changing to the “view cart” link then it really doesn’t do much good to put a widget or anything on there. Hopefully we can simply resolve the link issue. Thanks so much for all your help thus far. |
|
Also, I tried adding the shopping cart widget to my sliding drawer and its not showing up. Here are my visibility settings: I’m working on hiding the sliding drawer on every page except the Workshops page. |
Hi Kelsey, It turns out that you can make that shortcode even shorter by plugging in the event ID. For example the “Week 1: Understanding your camera” event’s shortcode could be: [ESPRESSO_CART_LINK event_id=1] even better you can wrap the cart link in div tags. This will contain those add to cart links so the rest of the page should still display when someone adds the event to their cart. Like this: <div>[ESPRESSO_CART_LINK event_id=1]</div> Another feature that I recommend checking out: If you go into Event Espresso>Template Settings, there’s a setting that reads: “Display event descriptions in the multiple event registration pages?”. If you set that to yes, then you can display some information for each of the events *after* they’ve finalized their selection in the cart. |
|
|
Thanks so much Josh! I’m adding in the div codes now. I’m also going to do the event description thing you mentioned. Can you please clarify what shortening the short code accomplishes? Does it fix my problem? |
|
UPDATE: This leads me back to needing an option within my cart to get back to the registration page. If its not recommended to modify the cart code, then can you please help explain this to me (I have no idea what it means):
Also, when I add a class, (we will say Week 1) to my cart > view my cart (because this is the only way to get the rest of the page to load by going back) > then add another class (say week 2) > click view my cart > once I’m in my cart only week 1 shows, I don’t see week 2. Finally, any insight as to why my cart widget isn’t showing in my sliding drawer? Thanks so so much guys! Getting close! |
|
To the problem above with the second event not showing up… it looks like the events being added to the cart are 1 behind. So event 1 adds properly, then event 2 does not. BUT when I add event 3, & click view cart, events 1 & 2 are not visible in the cart but not event. So theoretically it’s impossible for clients to ever purchase all 4 courses. Hope this info helps! |
|
Okay, what I REALLY need help figuring out is 2 things. FIRST, why when I click my add to cart button is the rest of the page disappearing below it. SECOND, why are my items not all being added to my cart? If we can just resolve these two things, then my site is at least functional. If possible, I would still like to add some sort of “continue shopping” or “add more classes” button or link inside my cart. My coding skills are nonexistent. BUT my direction following and problem solving skills aren’t bad. I really want to get this up and running to open registration by Sunday. Thanks so much for all your help guys! <3K |
|
One last thing I would really like help with: I want my shopping widget that I have in a sliding drawer to be visible even when its empty. Additionally some of my event items aren’t showing up in the widget. The bullet point is there but its blank I’m running the newest EE and WP I also deactivated all but the EE plugins and I’m still having all these problems. |
Hi Kelsey, Would it be possible for you to link us to the site so we can view what is happening please? |
|
|
Its the same url I’ve been linking to: http://thebrandgal.com/workshops Thanks so much! I’m looking forward to getting this resolved 🙂 |
Ah sorry, I completely missed the links when I re-read the thread! Ok, lets start with the Cart links. Currently the only link that is working correctly is Week 1 (as it is using the ID and not the Identifier) Sometimes the Cart links can find the Event ID but without going into details, that can’t happen from the current page. So you need to change all the ESPRESSO_CART shortcodes to use the ID number rather than the Identifier. That is why when you click multiples the only one that is visible is Week 1. Whilst doing that, it doesn’t look like the Cart links have the closing div tag around them. Which is still causing half the page to be removed. <div>[ESPRESSO_CART_LINK event_id=1]</div> The end tag </div> Looks like its missing. You’ll need to make sure that has been added after each ESPESSO_CART shortcode. |
|
|
Fantastic! Thanks so much! Can you please tell me (total novice over here:) how to change the link to the ID instead of the identifier? |
|
YAY! I added the PROPER </div> code and at least the first one works! Hooray! Also, while I’ve got you, I have a sliding drawer on this page only (http://thebrandgal.com/workhops) containing the shopping cart widget. Is there a way for it to keep up with people adding items to the cart? Right now its just blank even after adding week one. Finally, I’d still really like to have some sort of “Continue Shopping” or “Add More Classes” link within the shopping cart so that clients don’t have to use their browsers back button to get back to the workshop page. Once I can put the proper IDs into the links enabling them to add their workshops properly, and we can get the back button working, we should be solid! If all that works, I’m not even concerned so much about the widget! |
Lets get all your Cart links working before we move any to the others 🙂 To find the Event ID go to Event Espresso -> Event Overview. Find the Event you want to create the Cart link for in the list. http://d.pr/i/1N40 So in the above example lets say we want to create a link for Performance 2. We can see the ID column and the Performance 2 event has an ID of 330. So our shortcode would look like this: <div>[ESPRESSO_CART_LINK event_id=330]</div> Obviously your event ID’s will be different, but you’ll need to do that for each of the cart links you have on that page. So it looks like Week 1 has an ID of 1 is that correct in your Event Overview list? |
|
|
Okay! All links are working properly! Yessssss! Now, for a “Add More Classes” or “Back to Shopping” link in the shopping cart. You have been so SO helpful! Thank you so so much! |
|
Try adding this: <p id="continue_shopping"> <a href="<?php echo $_SERVER['HTTP_REFERER'] ?>"><?php _e('Continue Shopping', 'event_espresso'); ?></a> </p> to templates/shopping_cart.php at line 155. |
The support post ‘"View Shopping Cart" not Showing AND Looking for a "Continue Shopping" option’ 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.