Hide the cost info on the Bookings Thank-You Page

Question:
[I am trying to figure out how to use a snippet of code to do a display none for the div section that holds the price info on the thank-you page after making a booking.]

Product:
[Wix Editor, custom code area.]

What are you trying to achieve:
[When I use inspect I can find the section class id which is T9RwlW, and do a display:none; on it in the inspect editor but can’t figure out how to apply that into the wix custom code zone to make it work.

I added an image that shows the price info how I would like to achieve with it hidden. Thnx.

Please don’t waste time with non helpful replies which are snarky or letting everyone know how smart you are and dumb I am. I find code forums tend to do this often and it’s lame.]

Hi Ryan,

Thanks for reaching out! To achieve this, we’ve recently made an update: the price on the Thank You Page will now be hidden automatically when the booking is either free, has a custom price, or is paid using a membership (pricing plan).

I hope this answers your question! If you need any further assistance, feel free to reach out — we’re always here to help.

Best regards,
Osher
Wix Bookings Team

Whoa. cool. That makes it easy. Do I need to do any type of update or is this all implemented now within the wix editor dashboard?

No update needed! This is automatically applied to all websites

hello. I still can see the total. any idea to hide it too?

Maybe this is only on a certain platform level?? I am still seeing the pricing info for a free service.

Hi John, worth checking one thing: Osher’s fix hides the total when the service itself is set up as Free or Custom Price in Bookings settings. If your service is actually a paid service and the 0.00 only shows up because a coupon or a pricing plan brought the total to zero, the auto-hide won’t kick in, since the service’s stored price is still non-zero even though the charge came out to 0.

If that’s your case, the fallback is the custom code route from earlier in this thread: target the same price breakdown class and wrap it in a check for when Total is 0.00 rather than hiding it outright, so it still shows normally on your paid bookings. Let me know if the service is set to Free in settings or if it’s a paid one coming out to zero through a plan/coupon and I can be more specific.