Posted: 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. 1. The first package I created is working fine but the 2nd and 3rd package didn’t |
|
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; } |
|
Hi Dean, I’m using the following |
|
I used the code you provided and it reduced the gap |
|
Hi , Thanks for the clarification. Do you have Volume Discounts add on installed and active? |
|
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 |
|
@Dean, any thoughts? |
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. |
|
|
@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 |
|
@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 |
I believe that’s the case when using the current beta of Volume discounts when not selecting “All Categories”.
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. |
|
|
@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 |
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. |
|
|
@Josh, is there a teak that can be done? |
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: |
|
|
@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 1. Images other than the Credit Card are not showing Last, The payment options are showing vertically, how can I change them to horizontally? |
|
Any update on how I can solve this? |
Hi Wassim, Under ‘Event Espresso -> Payment Settings’ which Gateways do you have active/configured? |
|
|
@Tony |
|
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. |
|
Hi @Dean, I used the [raw][ESPRESSO_EVENTS][/raw] and this is how it looks now 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? |
|
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.
|
|
thank you @Dean, but which CSS file should I edit? |
|
Either the themes style.css or use a plugin such as My Custom CSS. |
|
aah, thank you, the theme I’m using has the a custom CSS feature |
|
@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 { #icheck-payment-option-dv { 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? |
|
That is ok, I used the one in the email and it worked |
|
Sorry about that it was a typo, I edited the text afterwards, it should be check, not icheck |
|
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 |
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. |
|
|
@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 |
|
I had to remove it and kept it without the image because the instructions disappeared |
|
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; } |
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.