OS Property support center

To rent + to sale at the same time

More
10 years 5 months ago - 10 years 5 months ago #54360 by fiter
To rent + to sale at the same time was created by fiter
Hello!
How can I add both of "To sale" and "To rent" properties to my item?
Attachments:
Last edit: 10 years 5 months ago by fiter.

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

More
10 years 5 months ago #54364 by Mr. Dam
Replied by Mr. Dam on topic To rent + to sale at the same time
Hi,
OS Property has feature to allow you to assign more than one category for one property. So you can use "To sale" and "To rent" are categories. And you will be able to assign those categories to one property.
P/s: It seems the screenshots you sent isn't come from OS Property.
Thanks
Dam

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

More
10 years 5 months ago #54366 by fiter
Replied by fiter on topic To rent + to sale at the same time
The pictures is just a design which shows what I need to do.
I think I can't use category on this way, because I'll use categories for "Villas\Yachts\Cars" as you can see on a search module. So I need an advice how to do exactly as on a pictures. Maybe I can make a 3 "Property types" like "To rent", "To buy", "To rent & buy" and hide "To rent & buy" in a search module, and add "To rent & buy" in all search SQL queries?
Is that an easiest way to get what I need?

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

More
10 years 5 months ago #54367 by Mr. Dam
Replied by Mr. Dam on topic To rent + to sale at the same time
Hi Filter,
I think you can add the option "Any" in the dropdown select list "Property type". And if customer don't select any specific Property type, the system will search properties in both "To rent' and "To buy" property types
Thanks
Dam

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

More
10 years 5 months ago #54371 by fiter
Replied by fiter on topic To rent + to sale at the same time
I think you get me wrong.
When customer select "To buy" system should serch "To buy" and "To rent & buy".
And when customer select "To rent" system should serch "To rent" and "To rent & buy".

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

More
10 years 5 months ago #54372 by Mr. Dam
Replied by Mr. Dam on topic To rent + to sale at the same time
Hmm, it's quite difficult, you need to hack into all search functions of OS Property (Listing filter, advanced search and locator search) to change it.
Listing filter:
componnents > com_osproperty > classes > listing.php function listProperties
Advanced search
componnents > com_osproperty > classes > listing.php function advsearch
Locator search
componnents > com_osproperty > classes > locator.php
I think it will be a lot of works
Thanks
Dam

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

More
10 years 5 months ago #54373 by fiter
Replied by fiter on topic To rent + to sale at the same time
Thanks.
I hope in a future you'll add an opportunity to sale and rent a property in a same time.

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

More
10 years 5 months ago #54381 by fiter
Replied by fiter on topic To rent + to sale at the same time
And one more question.
Can I use OS_ORIGINAL_PRICE as a price of a rent? This field is hidden but I can use it if I need?

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

More
10 years 5 months ago #54383 by Mr. Dam
Replied by Mr. Dam on topic To rent + to sale at the same time
Hi Filer,
Yes, that field is hidden now and you can use it if you want.
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan