Staff replied Templates

sp-property map display

Asked by Scott 3 years ago Last activity 3 years ago

On the Home Search by map page, the map icon displays either the price or $$$(when price is not to be displayed) for each property. How can I change $$$ to something else? The map type I am using is Google (not Open Street Map).

3 replies

Toufiq Senior Staff

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

Note: Please share an screencast video about the full scenario.

-Thanks

Scott Asked this
3 years ago · edited

As shown in the template
https://demo.joomshaper.com/?template=estate
under Home->Home Search By Map
properties without a price are displayed as "$$$".

I was able to fix this on my own, here is how:

  • Replace this map marker with custom image:
    • components/com_spproperty/assets/images/custom-marker-1.png
  • If using Open Street map: add css line to disable display of price:
    • components/com_spproperty/assets/css/style.css
    • .sp-marker-icon .marker-text{
    • display: none;
  • If using Google map: Change lines 62 & 66 to change display of price to a ' ':
    • from: 'currency' => explode(':', $curr)[1]
    • to: 'currency' => ' '
    • in templates/shaper_estate/sppagebuilder/addons/spproperties_map/site.php
Toufiq Senior Staff

Glad to know that your problem is solved. Thanks

Log in to reply.