Business Owner - User

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme February 06, 2019
Login to reply
fivimar fivimar
11 months ago

CrackToPC is a rsload leading crack website that provides crack, patch, activator, license key and keygen for full version cracked software.

Kelly R Support Agent
4 years ago
Resolved.
Kelly R Support Agent
5 years ago

Hi,

In fact, business owner should manage his bookings in Travelo theme.

And it is difficult to add such feature in Travelo theme.

Regards, C-Themes

Sanjaya Fernando
5 years ago

Code you gave completely remove option for business owner from viewing bookings.

I want them to be able to view their bookings.

But I dont want them to edit bookings or cancel bookings.

I dont want them to be able to change the status of bookings.

Only Admin, which is I should have the authority.

How do I do it.

Kelly R Support Agent
5 years ago
Resolved.
Kelly R Support Agent
5 years ago

Hi,

You can not replace the code in backend. Please do it via ftp, etc.

Regards, C-Themes

Sanjaya Fernando
5 years ago

Hi

When change code and save. this error comes

Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

Kelly R Support Agent
5 years ago

Hi,

1. Business owner can manage his hotels and tours and bookings.

Please find following code in /inc/admin/accommodations/bookings-admin-panel.php file.

$page = add_submenu_page( 'edit.php?post_type=accommodation', 'Accommodation Bookings', 'Bookings', 'edit_accommodations', 'bookings', 'trav_acc_booking_render_pages' );

And replace it with following code.

$page = add_submenu_page( 'edit.php?post_type=accommodation', 'Accommodation Bookings', 'Bookings', 'manage_options', 'bookings', 'trav_acc_booking_render_pages' );

2. You can not disable it.

Regards, C-Themes



Kelly R Support Agent
5 years ago
Hi! We are currently on vacation and we might not be able to respond to your requests before we come back.  Regards, C-Themes Support Team
Sanjaya Fernando
5 years ago

Hi

1) I want my hotel owners to add there own hotels.

Only Business Owner user status allows this.

But it also allows Business owner to add bookings.

How do I disable that?

2) When they list the hotel, It allows them to set up deposit amount.

How do I disable this.

I only want admin to be able to set the deposit amount.