OS Property support center

Pricing issue for rental properties

More
10 years 3 weeks ago #61549 by Hans
I've just purchased OSProperty, OSCalendar and the OSP Realty template for a new website that will handle both sales and rentals.
The template for sales shows a sales price both on the property listing and property detail view, which is fine. However, for rental poperties it shows "Price: $150", which is not useful. Rental prices are per night, per week, per month, per weekend, and depend on the dates. Some properties can be rented per night, others only per week or per month. I should be able to show something like "Price: from $150/night" or "Price: from $450/month".

How should I go about that?

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

More
10 years 3 weeks ago #61571 by Mr. Dam
Replied by Mr. Dam on topic Pricing issue for rental properties
Hi Hans,
Can you send us the screenshot of the part you want to show the "From price" label. I will let you know where can you make the modification to solve the issue
Thanks
Dam

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

More
10 years 3 weeks ago #61581 by Hans
Replied by Hans on topic Pricing issue for rental properties
Hi Dang,

I included a screenshot of the April - May calendar, showing different prices and minimum stay.
The second screenshot is how this property is rendered in listing view. Where does it get the $150 from? And how can I show it something like "Price: from $150/night".

Thanks!
-- Hans
Attachments:

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

More
10 years 3 weeks ago #61630 by Mr. Dam
Replied by Mr. Dam on topic Pricing issue for rental properties
Hi Hans,
Can you send me the link?
Thanks
Dam

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

More
10 years 3 weeks ago #61633 by Hans

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

More
10 years 3 weeks ago #61634 by Mr. Dam
Replied by Mr. Dam on topic Pricing issue for rental properties
Hi,
That's the Content slider module of OS Property, so to add the word "From" beside "Price" on the slider, please follow these steps
1. Open file: modules > mod_os_contentslider > classes > osproperty.php
2. find
$item->price = JText::_('PRICE').": ".HelperOspropertyCommon::loadCurrency($item->curr)." ".HelperOspropertyCommon::showPrice($item->price);
and replace by
$item->price = JText::_('From Price').": ".HelperOspropertyCommon::loadCurrency($item->curr)." ".HelperOspropertyCommon::showPrice($item->price);

Good luck
Dam

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

Moderators: Mr. DamNguyen Phu Quan