We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Fixed Price in properties module not working

Featured Lock Resolved Bug
http://nueva.gorostiaga.com.ar/http://nueva.gorostiaga.com.ar/
The fixed price inside the property component is ok but in the frontpage module from estate template, it calculates the price x m2 or sqft even though fixed price is active, this only happens if i complete the size field in the property, as you can see here the property page shows the right amount of price (6.700.000), but in the homepage it shows the price times the size (6.700.000 x2 m2 = 13.400.000).

5 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Sorry for the inconvenience. Please check this reply from this post https://www.joomshaper.com/forums/problems-with-the-fixed-price#reply-188019
Hope this will help.

-Best Regards
Hi,
Thanks for your query. Sorry for the inconvenience. Please check this reply from this post https://www.joomshaper.com/forums/problems-with-the-fixed-price#reply-188019
Hope this will help.

-Best Regards

Hi sifat, did the replacement of the default.php file, the problem was solved but the template css like the background color in the status boxes are modified. can you tell me wich line of default.php solves the fixed price so i can modify only that line?
I think i found the line on default.php , can you please confirm this? it seems that it has solved the problem..

replaced

<?php if ($property->fixed_price) { ?>
<?php echo $total_price; ?>
<?php } else { ?>


replaced for

<?php if ($property->fixed_price) { ?>
<?php echo $property->price; ?>
<?php } else { ?>
<?php if ($property->property_status == 'rent'){ ?>
<?php echo $total_price ; ?>
<?php }else{ ?>
<?php echo $property->price; ?>
<?php } ?>
<?php } ?>

Sifat - Staff

More than a month ago #Permalink
Yes you are right. These are the lines.


There are no replies made for this post yet.
Be one of the first to reply to this post!

123

Templates

327480

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us