Service without price

970 views
Skip to first unread message

Dishon

unread,
Sep 27, 2014, 1:26:04 PM9/27/14
to easy-app...@googlegroups.com
Hi,

Our services are free so I would like to get rid of PRICE tag. What is the easiest way to achieve this?

Thank you, Dishon

Alex Tselegidis

unread,
Oct 8, 2014, 2:35:05 PM10/8/14
to easy-app...@googlegroups.com
Hello!

Open /assets/js/frontend_book.js file and go to line 582 and
comment the following part like this:  
//if (service.price != '' && service.price != null) {
//    html += '[' + EALang['price'] + ' ' + service.price + ' ' + service.currency  + ']';
//}   

Hakan Oezd

unread,
Feb 22, 2016, 4:29:41 PM2/22/16
to Easy!Appointments - Support Group
hi, that didnt worked for me. Prices and Duration still to see on booking page

Antonio Cristian Panza

unread,
Sep 19, 2018, 11:50:34 AM9/19/18
to Easy!Appointments - Support Group
Hi and thanks for this fantastic pluign.
I tried your solution for hide the price but still don't work for me!!
i'm using the last version of the plugin
any idea??
thanks

Pelin Çayönü

unread,
Sep 19, 2018, 3:24:32 PM9/19/18
to Easy!Appointments - Support Group
Finally I found to delete 'Pric' like this:)
First I made the solution of Alex and then made comment these codes frontend_book.js file :

    /*$.each(GlobalVariables.availableServices, function (index, service) {
            if (service.id == selServiceId) {
                servicePrice = '<br>' + service.price;
                serviceCurrency = service.currency;
                return false; // break loop
            }
        });*/

        var html =
            '<h4>' + $('#select-service option:selected').text() + '</h4>' +
            '<p>'
            + '<strong class="text-primary">'
            + $('#select-provider option:selected').text() + '<br>'
            + selectedDate + ' ' + $('.selected-hour').text()
            //+ servicePrice + ' ' + serviceCurrency
            + '</strong>' +
            '</p>';

Antonio Cristian Panza

unread,
Sep 20, 2018, 4:15:13 AM9/20/18
to Easy!Appointments - Support Group
still not work for me!! i made your "comment" but i still see the price. very strange!!

Novadial Ramonville

unread,
Sep 20, 2018, 8:47:08 AM9/20/18
to Easy!Appointments - Support Group
Hi, same for me, I tried both Pelin and Alex comments and it doesn't work either. Do you have any ideas ?
Thanks !

Pelin Çayönü

unread,
Sep 20, 2018, 9:06:27 AM9/20/18
to Easy!Appointments - Support Group
 Hello,
Maybe you made comment all part below. I made comment only bold code:     

Antonio Cristian Panza

unread,
Sep 20, 2018, 9:08:58 AM9/20/18
to Easy!Appointments - Support Group
thanks but i made comment the right one..only bold code like your example but nothing appen. i stil see the price!

Pelin Çayönü

unread,
Sep 20, 2018, 9:16:23 AM9/20/18
to Easy!Appointments - Support Group
In the appointment page and confirmation mail price is not seen  to the user with this method but In Admin pages (Services) the field Price is not deleted, it's  right.

Antonio Cristian Panza

unread,
Sep 20, 2018, 9:19:05 AM9/20/18
to Easy!Appointments - Support Group
yes it's right! 
but i still see the price in appointment booking screen in the frontend at first step after the select box when user chan choose the service

Pelin Çayönü

unread,
Sep 20, 2018, 9:29:24 AM9/20/18
to Easy!Appointments - Support Group
....I also write 0 to price from Admin Panel  and maybe it is useful to control if all expressions like service.price is inactive in code

Antonio Cristian Panza

unread,
Sep 20, 2018, 10:32:14 AM9/20/18
to Easy!Appointments - Support Group
nothing!! still remain pricein the frontend

MultiServicesUSA MLatino

unread,
Oct 31, 2018, 10:07:36 PM10/31/18
to Easy!Appointments - Support Group
Update line is 680 on the 1.3.2 version
But doesn't work

Senne Gorris

unread,
Feb 11, 2019, 3:45:27 PM2/11/19
to Easy!Appointments - Support Group
Update line is 680 on the 1.3.2 version
But doesn't work

For me this works on the first booking page but the amount (50.00) shows up again at the last confirmation page

Senne Gorris

unread,
Feb 11, 2019, 3:52:30 PM2/11/19
to Easy!Appointments - Support Group
I've also made line 518 into a comment and this seems to work :)

 // + servicePrice + ' ' + serviceCurrency

Craig Tucker

unread,
Feb 12, 2019, 11:02:50 AM2/12/19
to Easy!Appointments - Support Group
One thing to be mindful of when working with Java Script is that your browser holds on to it.  You can update the JS file but if your browser is still holding the old version your site will act like there is no modification.  So refresh your cache often when working with JS:


You also need to be mindful of this on the customer side because if your site is live and you are making modifications, unless the browser is refreshed on your customer's computer they will not see your new JS modification.  

--Craig


Message has been deleted

Goak

unread,
May 16, 2019, 12:55:15 AM5/16/19
to Easy!Appointments - Support Group
681 for me.
Chrome is not very easy to remove the cached info. User a different browser or incognito before moving to a different solution. 
Reply all
Reply to author
Forward
0 new messages