- Posts: 35
- Thank you received: 0
OS Property support center
Changing Price For
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
9 years 10 months ago #64602
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Hi Dam
Right now I am using theme 1
Regards
Chris
Right now I am using theme 1
Regards
Chris
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #64627
by Mr. Dam
Replied by Mr. Dam on topic Changing Price For
Hi,
Please open file:
components > com_osproperty > classes > listing.html.php
find
and change to
Thanks
Dam
Please open file:
components > com_osproperty > classes > listing.html.php
find
Code:
if($row->price_call == 0){
if($row->price > 0){
echo OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo "/".JText::_($row->rent_time);
}
}
}elseif($row->price_call == 1){
echo JText::_('OS_CALL_FOR_DETAILS_PRICE');
}
$price = ob_get_contents();
ob_end_clean();
$row->price_raw = $price;
and change to
Code:
if($row->price_call == 0){
if($row->price > 0){
echo OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo JText::_($row->rent_time);
}
}
}elseif($row->price_call == 1){
echo JText::_('OS_CALL_FOR_DETAILS_PRICE');
}
$price = ob_get_contents();
ob_end_clean();
$row->price_raw = $price;
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
9 years 10 months ago - 9 years 10 months ago #64671
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Hi Dam
I tried that and it just crashed the website with a blank screen.
Not sure what is going on, but when if I download the file using coreftp , and re-upload it without changing anything it causes me to have the same blank screen. So i think i'm going to log onto my cpanel tomorrow and download the file that way and try it, I think it may have something to do with the CoreFTP setting etc. but not sure, so i'm going to try that tomorrow using Cpanel to downloand the file, for your information, I use dreamweaver to edit the php files.
Regards
Chris
I tried that and it just crashed the website with a blank screen.
Not sure what is going on, but when if I download the file using coreftp , and re-upload it without changing anything it causes me to have the same blank screen. So i think i'm going to log onto my cpanel tomorrow and download the file that way and try it, I think it may have something to do with the CoreFTP setting etc. but not sure, so i'm going to try that tomorrow using Cpanel to downloand the file, for your information, I use dreamweaver to edit the php files.
Regards
Chris
Last edit: 9 years 10 months ago by Chris Jenkinson.
Please Log in or Create an account to join the conversation.
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
9 years 10 months ago - 9 years 10 months ago #64688
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Hi Dam, yes that worked a treat, so must be something to do with the coreftp transfer setting.
My only problem is still with the prices at the bottom of the details page , I have a section called Related properties and within there, there are 2 sections which still show the price with a / ie £395.00 /PCM how do I change this.
Regards
Chris
My only problem is still with the prices at the bottom of the details page , I have a section called Related properties and within there, there are 2 sections which still show the price with a / ie £395.00 /PCM how do I change this.
Regards
Chris
Last edit: 9 years 10 months ago by Chris Jenkinson.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #64691
by Mr. Dam
Replied by Mr. Dam on topic Changing Price For
Hi Chris,
The best solution is uploading your site into live server and we will test the issue together
Thanks
Dam
The best solution is uploading your site into live server and we will test the issue together
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
9 years 10 months ago #64692
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Thanks Dam, I have taken the site from offline to online for the moment.
www.citylets-leicester.co.uk/new/index.php/listing/clyde-court
if you click on any of the details of any of the properties, you will see at the bottom of that page the /PCM etc after the price
Regards
Chris
www.citylets-leicester.co.uk/new/index.php/listing/clyde-court
if you click on any of the details of any of the properties, you will see at the bottom of that page the /PCM etc after the price
Regards
Chris
Please Log in or Create an account to join the conversation.
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
9 years 10 months ago #64693
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Also when I click on the map search, it does not display anything after the price for example £395.00 PCM or £105 PW/PP etc. so people might think its £105 per month and not per week.
Is it possible that I have not set something in the configuration or does some files need changing?
Regards
Chris
Is it possible that I have not set something in the configuration or does some files need changing?
Regards
Chris
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #64724
by Mr. Dam
Replied by Mr. Dam on topic Changing Price For
Hi,
To remove the slash in the Price of part : Related properties, please folllow these steps
1. Open file: components > com_osproperty > helpers > layouts > relateproperties.php
2. find
echo "/".JText::_($rproperty->rent_time)."</span>";
and change to
echo JText::_($rproperty->rent_time)."</span>";
Thanks
Dam
To remove the slash in the Price of part : Related properties, please folllow these steps
1. Open file: components > com_osproperty > helpers > layouts > relateproperties.php
2. find
echo "/".JText::_($rproperty->rent_time)."</span>";
and change to
echo JText::_($rproperty->rent_time)."</span>";
Thanks
Dam
The following user(s) said Thank You: Chris Jenkinson
Please Log in or Create an account to join the conversation.
- Chris Jenkinson
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 0
9 years 10 months ago #64898
by Chris Jenkinson
Replied by Chris Jenkinson on topic Changing Price For
Thanks Dam That worked a treat as usual .
My last pricing issues is on the map search, it displays properties down the right hand side of the map, but only displays the price, it does not display the during for example PCM or PW/PP etc.
How can I change this as people will assume that they can have a property for 1 month for the per week price otherwise.
Regards
Chris
My last pricing issues is on the map search, it displays properties down the right hand side of the map, but only displays the price, it does not display the during for example PCM or PW/PP etc.
How can I change this as people will assume that they can have a property for 1 month for the per week price otherwise.
Regards
Chris
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #64903
by Mr. Dam
Replied by Mr. Dam on topic Changing Price For
Hi,
Please open file: components > com_osproperty > classes > locator.php
Find
and change to
Thanks
Dam
Please open file: components > com_osproperty > classes > locator.php
Find
Code:
echo " | <span style='color: red;font-weight:bold;'>" . OSPHelper::generatePrice($row->curr, $row->price) . "</span>";
and change to
Code:
echo " | <span style='color: red;font-weight:bold;'>" . OSPHelper::generatePrice($row->curr, $row->price) . "</span>";
if($row->rent_time != ""){
echo " ".JText::_($row->rent_time);
}
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.