Support

Home Forums Multiple Event Registration Add-on Hide price in the cart

Hide price in the cart

Posted: May 2, 2018 at 3:33 am

Viewing 7 reply threads


espritway

May 2, 2018 at 3:33 am

Hi,
I need to hide price sub-total and total in the cart because for my classes, there are no payment online. I want only the quantity.

I have already add this :
/* Ticket Selector */
.tkt-slctr-tbl-wrap-dv .ee-ticket-selector-ticket-price-th, .tkt-slctr-tbl-wrap-dv .tckt-slctr-tbl-td-price {
display: none;
}
/* Registration Checkout */
.spco-ticket-info-dv th:nth-of-type(3), .spco-ticket-info-dv td:nth-of-type(3), .spco-ticket-info-dv th:nth-of-type(4), .spco-ticket-info-dv td:nth-of-type(4) {
display: none;
}

/*Thank you page */
#spco-payment-info-table th:nth-of-type(2), #spco-payment-info-table th:nth-of-type(4), #spco-payment-info-table td:nth-of-type(2), #spco-payment-info-table td:nth-of-type(4) {
display: none;

What is the css code for the cart ?

Thanks


Tony

  • Support Staff

May 2, 2018 at 4:49 am

Hi there,

Something like this should work:

#event-cart-tbl td:nth-of-type(2), 
#event-cart-tbl td:nth-of-type(4),
.event-cart-total-row {
    display: none;
}


espritway

May 2, 2018 at 2:18 pm

Thanks !
it’s working for the page cart but not for the widget cart, have you an issue ?


Josh

  • Support Staff

May 2, 2018 at 3:43 pm

The widget outputs different html compared to the cart page, so it requires different CSS to hide the prices there. Something like the following should hide those there:

tr[id^="event-cart-item-row-"] .jst-rght,
.mini-cart-tbl-total-th,
.mini-cart-tbl-price-th,
.total {
font-size:0pt;
}


espritway

May 3, 2018 at 12:34 pm

Ok thanks !!! But i have another problem when i validate cart with multiple event, only one is show in the detail in the register form, but after validate all are show and approuved ?


Tony

  • Support Staff

May 3, 2018 at 12:48 pm

Can you add a screenshot that shows what you are referring to, please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


espritway

May 3, 2018 at 1:22 pm

ok :
-before validate :
https://www.un-espritzen.fr/wp-content/uploads/2018/05/before-validate.jpg
-after validate :
https://www.un-espritzen.fr/wp-content/uploads/2018/05/after-validate.jpg


Josh

  • Support Staff

May 4, 2018 at 1:14 pm

The other event will be listed after the registration form.

Viewing 7 reply threads

The support post ‘Hide price in the 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