How To Change Default Currency & How to Remove Region From Address
This topic contains 24 replies, has 2 voices, and was last updated by Abdilahi Mohamed 5 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
February 4, 2020 at 12:43 am #528642
Hi.I would like to know how to change the property CPT default currency from US$ to my local currency. Also I do not want the region & zip code fields in the archive page, archive itema and details page. I also need them removed from the frontend “add listing page”. I tried following your tutorial and adding this code to the child style.css but there is an error somewhere:
[css]#geodir_post_region_row,
#geodir_post_zip_row {
display: none
}[/css][css]span[itemprop=”addressRegion”],
span[itemprop=”postalCode”] {
display: none;
}[/css]February 4, 2020 at 1:12 am #528645Right now I am forced to use US dollars as the currency because my local currency (Kenya Shillings) is not on the list of default currency. How can I use Kenya Shillings?
February 4, 2020 at 2:15 pm #528728Please share WP Admin credentials so we can check the settings.
WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:It is quite possible to adjust the address display format.
Try using the GD Post Address widget. It has an advanced setting (blue button) to add a template. Hover on the question mark to see how to use it.
For the pricing field, when you display the field, you can use GD Post Meta. This can be used to display the label and the value, leaving out the icon for the currency. If that is the currency you are referring to, that is how to leave it out. As far as adding a new icon, the icons come from Font Awesome and there is only the selection you see available there unless you upgrade to FA Pro.
February 4, 2020 at 7:34 pm #528765This reply has been marked as private.February 4, 2020 at 8:09 pm #528769This reply has been marked as private.February 4, 2020 at 8:17 pm #528772This reply has been marked as private.February 4, 2020 at 8:22 pm #528774I also removed the $ symbol and added KSH symbol so the price issue is solved I think. Thanks
February 4, 2020 at 8:32 pm #528775I did not like the style of Custom maps addon so i disabled the addon and now I am left with ugly maps. I want to go back to how it was before custom maps addon.
Now If I try to change map display by editing property, i find I cannot change map back to default or to terrain, hybrid etc. And the sidebar maps as well.February 4, 2020 at 8:56 pm #528780Hello,
You can hide the zip code field with your own custom CSS if necessary, but there isn’t an option to hide it.
It is up to you what values end up in the address fields.
In the example you show, it looks like much of the address data has been left in the street address field. You will want to remove the duplicate elements to control the output on the frontend.
In the Location tab, click the blue button to reveal the advanced options. There you have several additional options including the ability to allow the user to move the map pin without changing the address. I am not sure about your situation/area exactly, but, in many cases when the address coverage in the Maps API is not getting you the results you want, disabling the update of the address when moving the map pin gives you the freedom to enter the address and move the map pin as needed.
About the custom maps addon, that doesn’t have any effect on the map type as in roadmap, street, or satellite. Only Google has different layers in that way. If you are using OSM it will always be a roadmap or with the custom maps addon you can choose one of the 3rd party layers offered.
February 4, 2020 at 8:58 pm #528781This reply has been marked as private.February 4, 2020 at 9:54 pm #528786Thank you for the quick reply. Okay I have changed settings on the Location tab, and now it displays the address that I want. I’m going to paste your CSS code on the customizer additional CSS box then see how it does. The last thing I need is to completely hide the region field on add listing and also from displaying on the sidebar post meta widget. In kenya we have same region name and city name in very many instances, so it is better to only have city name on addresses to avoid listing same name twice. As you can see on the attachment below the widget displays the address with the name Mombasa twice because Mombasa is both the city name and the region name is also Mombasa. That is what I mean when I say I would like to totally remove region field please. In other countries it is practical but not in Kenya. Thanks
February 4, 2020 at 10:03 pm #528790Also is there a way to show price per month on the properties CPT? I have properties for sale & rent. So I need the properties for Rent to display Rent Per Month and NOT Price. I just need properties for sale to display selling price.
February 4, 2020 at 10:18 pm #528792This code div#geodir_address_zip_row { display: none; } does the job of hiding zip well.
However if I try hiding the region using div#geodir_address_region_row { display: none; }
I find that the settings change to have only one city on the city drop down field. It chooses Nairobi as the default region thereby only shows one city choice.February 4, 2020 at 11:36 pm #528817It’s really not possible to hide the region field if you want to use more than one region or more than one city.
With the GD Post Address, using the custom Template option you can remove the region from display on the frontend and still use it in the backend to select different regions.
About the price field, have you tried changing the label? You can also add another text field, if needed, and change it to meet your needs.
February 5, 2020 at 10:47 pm #528968This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket