limit the star rating in Hub-plugin

More
6 years 1 month ago #6634 by sjp
Hello Vietvh,

I would like to request a feature in the settings of Solidres to limit the star rating options hotels can choose from. I don't want to list all the star ratings in the admin dashboard and in the filter results. I really hope you still have the time to implement this feature for the nex update.

Best regards,
Sandra

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #6643 by vietvh
Replied by vietvh on topic limit the star rating in Hub-plugin
Hi Sandra,

It is very easy to change, you can open this file:

/components/com_solidres/models/forms/reservationassetfrontend.xml

Then edit this field to add/remove your desired rating:

<field name="rating" type="list" label="SR_FIELD_RATING_LABEL"
description="SR_FIELD_RATING_DESC" class="inputbox"
filter="intval" size="1" default="1" labelclass="control-label">
<option value="0">SR_STAR_UNRATED</option>
<option value="1">SR_STAR_1</option>
<option value="2">SR_STAR_2</option>
<option value="3">SR_STAR_3</option>
<option value="4">SR_STAR_4</option>
<option value="5">SR_STAR_5</option>
</field>

Regards,

Please Log in or Create an account to join the conversation.

More
6 years 2 weeks ago #6741 by sjp
Replied by sjp on topic limit the star rating in Hub-plugin
Hello Vietvh,

Thanks for the info. I could change the star rating options by editing that file and uploading hub plugin again in my back office. Would be great if you could make some adjustments in the future to this star rating feature, so changes can be made in the back office instead of adjusting files.

Best regards,
Sandra

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?