Forum


× Posts in this category are old and the answers are probably no longer correct.


Neeed some help with tarifs

More
3 years 5 months ago #33979 by Chris
Chris created the topic: Neeed some help with tarifs
Hello

I'm using the Jomres to show some apartments and villas.

All of the apartments is opening only for summer seasons from April to October, for the winder time (November to April) all the apartments is closed.

My problem is the POA on the price .

How can i show the minimum summer price in winder time ??? is this possible ?

Now my apartments list show the POA on the prices

i found some posts on the forum but they can't help me, like this one :
www.jomres.net/forum/do-something-that-d...ing-instead-of-price

Thank you
More
3 years 5 months ago #33990 by Rodrigo Rocco
Rodrigo Rocco replied the topic: Neeed some help with tarifs
try tweaking core-minicomponents\j01010listpropertys.class.php about L264 where
$jomres_property_list_prices->gather_lowest_prices_multi($propertysToShow);

change it to
$jomres_property_list_prices->gather_lowest_prices_multi($propertysToShow,true);

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
The following user(s) said Thank You: Miklos Mateidesz, Julie Deganutti
More
3 years 1 month ago #35407 by Julie Deganutti
Julie Deganutti replied the topic: POA prices
Hello Rodrigo,
I implemented this fix you suggested to Chris (above) and it works great. Now I would like to do the same thing in 2 other places :
- in the property description page, above the images (see jpg attached)
- also in the Featured Properties asa-module, which displays on a separate Joomla page .

I have the same problem as Chris, my client's properties are not rented all year long, so often the price shows up as POA. I would like to display the lowest price available all year.

Thank you !
Attachments:
More
3 years 1 month ago #35408 by Vince Wooll
Vince Wooll replied the topic: POA prices
Take a look at the jomres_property_list_prices.class.php class, try changing L54 from

$lowest_ever = false

to

$lowest_ever = true

Follow me on twitter
Do not send me PMs, if you need to contact me use the ticket system.
Read this before you customise Jomres files
The following user(s) said Thank You: Julie Deganutti
More
3 years 1 month ago #35411 by Julie Deganutti
Julie Deganutti replied the topic: POA prices
Bingo!
Thank you Vince!
More
4 months 4 weeks ago #46574 by webaza
webaza replied the topic: POA prices
Hi Vince, i know this post are old but i followed the instruction of Rodrigo for change the POA in the list of property and it work,

but you say for change the POA in the property description page:

"Take a look at the jomres_property_list_prices.class.php class, try changing L54 from

$lowest_ever = false

to

$lowest_ever = true"

I tryed to change it but it show me POA, there are other place to change for show the lowest price in the property page?

Regards
More
4 months 4 weeks ago #46577 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
Nope as soon as there is not a 07016 plugin that overrides the lowest price function ( and I doubt that there is a plugin like that)

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46578 by webaza
webaza replied the topic: POA prices
Thanks Rodrigo, so where i can found a way to show the lowest price instead POA in the property page?
More
4 months 4 weeks ago #46580 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
POA minds that Jomres is not able to find a tariff so you need to check your tarrifs settings.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46581 by webaza
webaza replied the topic: POA prices
I understend this, but why the POA not appear in the property list with your trick:

$jomres_property_list_prices->gather_lowest_prices_multi($propertysToShow);

change it to
$jomres_property_list_prices->gather_lowest_prices_multi($propertysToShow,true);

and there is no possibility to trick the property page POA?
More
4 months 4 weeks ago #46582 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
Sorry but I am afraid that I don't understand you.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46583 by webaza
webaza replied the topic: POA prices
Sorry my english is not perfect.

What i say is:

Why there are possibility to show the lowest price in the list with your trick and there are no possibility to show the lowest price in the single property page?

Do you understend now?
More
4 months 4 weeks ago #46584 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
Exactly where, show me an screen shot please.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46585 by webaza
webaza replied the topic: POA prices
in the poperty header part
look the attachment
Attachments:
More
4 months 4 weeks ago #46586 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
Have a look into jomres\libraries\jomres\functions\get_property_price_for_display_in_lists.php

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46587 by webaza
webaza replied the topic: POA prices
Hi Rodrigo,

i tryed to change line 55:

$plugin_will_provide_lowest_price = false;

to

$plugin_will_provide_lowest_price = true;

but now they show price 0 instead POA

Can you help me for understend wich part of code to modify please?

Regards
More
4 months 4 weeks ago #46588 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
It is not same file, please read my previous post properly.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46589 by webaza
webaza replied the topic: POA prices
you say before: Have a look into jomres\libraries\jomres\functions\get_property_price_for_display_in_lists.php

In that file i found the code

$plugin_will_provide_lowest_price = false;

Which file do you mean?
More
4 months 4 weeks ago #46590 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
You need to code a plugin if you set that to true. I am afraid that you need php skills and Jomres knowledge to make that happen.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY
More
4 months 4 weeks ago #46591 by webaza
webaza replied the topic: POA prices
Thanks for reply Rodrigo, i really dont understend why there is a possibility to show the lowest price for the properties in the list view
and there isnt a possibility to show in the property page.

I can pay for this :)
More
4 months 3 weeks ago #46592 by Rodrigo Rocco
Rodrigo Rocco replied the topic: POA prices
You know where to find me :)

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY

ABOUT US

Vince portrait smallaladar

Developed and maintained by Vince Wooll and Aladar Barthi, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was formally released as a commercial project. Since then, Jomres has become one of Mambo’s, and now Joomla’s, longest running projects. It has survived various versions of Mambo, then Joomla 1.0, 1.5, 1.6, 1.7, 2.5 and 3.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. He has since become an integral part of the project and has contributed significantly to it's development over the years.

Whilst not formally part of the Jomres project, Rodrigo Rocco and the team have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous new Valentina Template Package.

 

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner.

www.jomres.net is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2018 Woollyinwales IT.