[#334] Widgets book confirmation

Migrated from Redmine #334 | Author: Ahmed Hassan
Status: Closed | Priority: Low, I can wait | Created: 2019-02-08


Afer I add bookiing through the widget it allows to add new booking.
Is that possible to stop that?
I deduct 1 credit for each booking and want to manage that procees - if user has no booking widget should not allow to add new booking.

Redmine Admin wrote:

We do not have such option to not allow client to book again trough widget. It would be actually impossible to implement as client can always reload page, open in incognito mode, via vpn or proxy, etc.

Ahmed Hassan wrote:

If reload page with widget code then it will be handled by our code and it works fine.
Maybe that is possible to hide New Book button somehow?

Redmine Admin wrote:

You can try to do it with custom CSS additional feature but this is kind of hack and bad practices and may not be possible in all cases.

Ahmed Hassan wrote:

Please provide more information - how do we add custom css to hide button or maybe replace url of the button with our own url?

Redmine Admin wrote:

Unfortunately cannot do this because this method is not officially supported and we do not offer hide book more button options

Ahmed Hassan wrote:

What about Appointment booking service and free online booking service - should it apply my own css to widget pages?
I have added .sb_book_again {display:none;} but it does not hide Bookagain button

Redmine Admin wrote:

yes, there is special tab for widget CSS. It may not affect your widget immediately because of caching mechanism

Ahmed Hassan wrote:

I have added my code to both tabs but it des not appaer anywhere.
What is the link to my custom css ?
Is that https://portal.pathtoarabic.com/css/pathtoarabic.css?3 ? if os it is still not taking code from tabs.

Redmine Admin wrote:

This Q is not related to API. Please contact our Live help, they will help you with this