Support

Home Forums Event Espresso Premium Shopping Cart

Shopping Cart

Posted: August 25, 2013 at 4:48 pm

Viewing 32 reply threads


Wassim Zeidan

August 25, 2013 at 4:48 pm

Hello, I am using the direct shopping cart shortcode, without the member registration option but I am facing 2 problems.

Link to sign-up page

1. The first package I created is working fine but the 2nd and 3rd package didn’t
2. If you look at the shopping cart page, I disabled Themeroller Styles, you will see a big gap between the price/number of attendees and the total on the right corner. Is there a way to reduce this gap and why is it there?


Dean

August 26, 2013 at 4:21 am

Hi,

Which shortcode are you using? There are two similar ones, only one can be used on a page, the other needs to be in the event description.

https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart

Regarding the gap, the theme has changed the output formatting. As such there are additonal break tags being added, and things like comments and hidden inputs are being wrapped in paragraph tags.

You can minimise this slightly by adding the following CSS, but really this is just a hack fix, you should look at the themes files to find the culprit and remove it (or speak to the theme developer regarding it).

#event_espresso_shopping_cart br {
display: none;
}


Wassim Zeidan

August 26, 2013 at 5:10 am

Hi Dean,

I’m using the following
[ESPRESSO_CART_LINK direct_to_cart=1 event_id=”1″ anchor=”Register” moving_to_cart=”Redirecting to cart…”]
[ESPRESSO_CART_LINK direct_to_cart=1 event_id=”2″ anchor=”Register” moving_to_cart=”Redirecting to cart…”]
[ESPRESSO_CART_LINK direct_to_cart=1 event_id=”3″ anchor=”Register” moving_to_cart=”Redirecting to cart…”]


Wassim Zeidan

August 26, 2013 at 5:16 am

I used the code you provided and it reduced the gap


Dean

August 26, 2013 at 5:32 am

Hi ,

Thanks for the clarification. Do you have Volume Discounts add on installed and active?


Wassim Zeidan

August 26, 2013 at 6:09 am

Volume discounts is installed / activated and used on the Full package.

I created an event category and called it “Volume Discounts”, configured the “Volume Discount” module to deduct $100 if the number is participants is 2 and added the Full Package to that category


Wassim Zeidan

August 26, 2013 at 8:28 am

@Dean, any thoughts?


Tony

  • Support Staff

August 26, 2013 at 8:35 am

Hi Wassim,

Event 1 which is both the ‘Full Single’ and ‘Full Double’ packages adds to the cart with no problem. Its when selecting the other two events which cause it to fail.

Check to see what is different with those events. You could also try disabling the Volume discounts add-on and add the events to cart again and see if that’s causing the issue.


Wassim Zeidan

August 26, 2013 at 1:17 pm

@Tony, the only difference between them are the prices and that the other 2 are not in the volume discount category

When I removed the Full package from the Volume discount category, the same problem happened


Wassim Zeidan

August 26, 2013 at 1:22 pm

@Tony, just to update you, I created a category “No Volume Discount” and placed the other 2 packages in it. Now they worked. Is this normal? Is it mandatory to put events in categories?

On another subject, how can I remove the date and time from being displayed in the cart or just to put from date to date instead


Josh

  • Support Staff

August 27, 2013 at 11:04 am

I created a category “No Volume Discount” and placed the other 2 packages in it. Now they worked. Is this normal? Is it mandatory to put events in categories?

I believe that’s the case when using the current beta of Volume discounts when not selecting “All Categories”.

On another subject, how can I remove the date and time from being displayed in the cart or just to put from date to date instead.

You can hide the date and time by adding some custom CSS to your stylesheet:

#cart-reg-details thead,
#cart-reg-details > tbody > tr:first-child > td {
display: none;
}

If you don’t have a custom stylesheet set up the Jetpack plugin’s CSS editor feature can be used or as an alternative, the my custom CSS plugin works as well.


Wassim Zeidan

August 28, 2013 at 3:56 am

@Josh, the theme has the custom CSS feature and it worked, thank you.

We use cash and Credit Card payments (Stripe), I need to add 3% surcharge just for the Credit Cards payments (Stripe). How can I do that?

Currently I created 2 prices, 1 for cash and 1 for CC payments with Surcharge, but when the registrant reaches the payment page, after choosing either, keeps on seeing both payment methodes


Josh

  • Support Staff

August 28, 2013 at 9:56 am

Hi Wassim,

At this time Event Espresso doesn’t have a feature that adds a convenience fee to the online payment methods that does not get added to offline payment methods.


Wassim Zeidan

August 28, 2013 at 10:18 am

@Josh, is there a teak that can be done?


Josh

  • Support Staff

August 28, 2013 at 11:50 am

If there was a tweak it would not be something that we can support doing. If you require this functionality we can advise posting a job ad here:

http://jobs.eventespresso.com/

or you can contact one of the developers on this list for a quote:

https://eventespresso.com/developers/event-espresso-pros/


Wassim Zeidan

August 31, 2013 at 11:39 am

@Josh I posted a job but it seems that this area is not very active and it seems that I should send a request to one of the developers in the list.

Anyway, I am having an issue with payment option images and display after the applicant fills all the information and wants to choose the payment method
Screen-Shot
https://www.dropbox.com/s/zujiwzo2ol1qssw/Payments_Modules_Display.jpg

1. Images other than the Credit Card are not showing
2. Display is messed up as shown in the screen-shot

Last, The payment options are showing vertically, how can I change them to horizontally?


Wassim Zeidan

September 2, 2013 at 4:38 pm

Any update on how I can solve this?


Tony

  • Support Staff

September 2, 2013 at 5:27 pm

Hi Wassim,

Under ‘Event Espresso -> Payment Settings’ which Gateways do you have active/configured?


Wassim Zeidan

September 3, 2013 at 2:42 am

@Tony
Check/Money Order
Invoice Payment
Stripe


Dean

September 3, 2013 at 2:52 am

Hi Wassim,

The empty boxes are caused by your theme modifying the content output. It is adding paragraph tags around hidden form inputs and often around break tags too.

You can try wrapping the main [ESPRESSO_EVENTS] shortcode in raw tags, e.g. [raw][ESPRESSO_EVENTS][/raw], though this may or may not work.

If not you would either need to contact the theme developer or check the functions.php (it’s often there but may be elsewhere) for code that is similar to this and remove/comment it out

Cheques and Invoices do not have an image by default, you could easily modify it with CSS to add an image in though.

The vertical alignment is probably due to the added paragraph tags mentioned above as normally they take up 100% width, so will force the next item below it. Once that has been resolved gateways should show horizontally.


Wassim Zeidan

September 3, 2013 at 4:35 am

Hi @Dean,

I used the [raw][ESPRESSO_EVENTS][/raw] and this is how it looks now
https://www.dropbox.com/s/3vse1dsmc6usng9/Payments_Modules_Display_New.jpg

Should I also use it on [raw][ESPRESSO_TXN_PAGE][/raw] [raw][ESPRESSO_CANCELLED][/raw] [raw][ESPRESSO_PAYMENTS][/raw] and with every Espresso shortcode?

Now, as you can see in the picture, it is putting the payment modules in categories, Offline payment methods, etc.. but when you choose one of them, they go back to vertical alignment, I close them all, they return to what was displayed in the attached screen-shot

As for the images, which CSS file should modify?


Dean

September 3, 2013 at 4:51 am

Hi,

Well it looks like the raw has worked so thats excellent.

It is default for the online and offline options to be separated like that, and it is also correct that they go vertical when clicked. It is because the form is hidden below each button, so it pushes the other button down. If you had more than two buttons (offline gateways) you would see the others in a row still below the currently open gateway.

Regarding CSS, I would suggest something like this

#invoice-payment-option-dv {
background: url(http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png) no-repeat left center;
text-indent: -999px;
height: 94px;
}

#check-payment-option-dv {
background: url(http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png) no-repeat left center;
text-indent: -999px;
height: 94px;
}

obviously change the image URL and you may need to play about with the height figure, it depends on the size of your image.

  • This reply was modified 11 years, 2 months ago by Dean. Reason: code typo


Wassim Zeidan

September 3, 2013 at 5:25 am

thank you @Dean, but which CSS file should I edit?


Dean

September 3, 2013 at 5:41 am

Either the themes style.css or use a plugin such as My Custom CSS.


Wassim Zeidan

September 3, 2013 at 6:01 am

aah, thank you, the theme I’m using has the a custom CSS feature


Wassim Zeidan

September 3, 2013 at 6:17 am

@Dean, I was just reading the email I received when you replied and it showed a different code to be used

#invoice-payment-option-dv {
background: url(http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png) no-repeat left center;
text-indent: -999px;
height: 94px;
}

#icheck-payment-option-dv {
background: url(http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png) no-repeat left center;
text-indent: -999px;
height: 94px;
}

As you can see, the check here is icheck and only 1 link address is used, where in the one posted directly here, there are 2.

Which one should I use?


Wassim Zeidan

September 3, 2013 at 6:23 am

That is ok, I used the one in the email and it worked


Dean

September 3, 2013 at 6:29 am

Sorry about that it was a typo, I edited the text afterwards, it should be check, not icheck


Wassim Zeidan

September 3, 2013 at 6:37 am

no worries, but I had to remove the text-indent: -999px; because the text went back too much, but still it is now messed up

http://www.thelebanontour.com/booking/thank-you/?r_id=1-5225b7311f9b1


Tony

  • Support Staff

September 3, 2013 at 7:08 am

Hi Wassim,

Re-add the text-indent: -999px; that has been removed, only this time add another 9.

text-indent: -9999px;

That basically pushes the text way off the screen so it can not be seen. Might seems a little strange to do so but is a common technique used with CSS.


Wassim Zeidan

September 3, 2013 at 7:32 am

@Tony, if I put the text-indent: -9999px; this also makes the instructions pushed way off the screen, and the background image moves to the right.

The only solution I can think of is that those mode of payments should have a logo instead of the title same as the Credit Card Payments


Wassim Zeidan

September 3, 2013 at 9:17 am

I had to remove it and kept it without the image because the instructions disappeared


Dean

September 4, 2013 at 3:06 am

Try this

#invoice-payment-option-lnk {
background: url("http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png") no-repeat center center;
text-indent: -9999px;
height: 94px;
padding: 0 20px 0 20px;
}
 
#check-payment-option-lnk {
background: url("http://www.thelebanontour.com/wp-content/plugins/event-espresso/gateways/pay-by-credit-card.png") no-repeat center center;
text-indent: -9999px;
height: 94px;
padding: 0 20px 0 20px;
}

#invoice-payment-option-lnk div.vrt-cell div,
#check-payment-option-lnk div.vrt-cell div { margin: 38px; }
Viewing 32 reply threads

The support post ‘Shopping 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