OS Property support center

Changing Price For

  • Chris Jenkinson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
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

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

More
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
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
  • Junior Member
More
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
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
  • Junior Member
More
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
Last edit: 9 years 10 months ago by Chris Jenkinson.

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

More
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

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

  • Chris Jenkinson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
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

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

  • Chris Jenkinson
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
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

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

More
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
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
  • Junior Member
More
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

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

More
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
Code:
echo "&nbsp;|&nbsp;<span style='color: red;font-weight:bold;'>" . OSPHelper::generatePrice($row->curr, $row->price) . "</span>";

and change to
Code:
echo "&nbsp;|&nbsp;<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. DamNguyen Phu Quan