#1
|
|||
|
|||
![]()
Hi all,
I've got a bit of a puzzle. My currency symbol is showing before and after the price for example € 265,000 € I checked 'View Source: <dd class="value price"><span class="currency">€</span> 265,000<span class="suffix"> €</span></dd> This is happening with every property? Anyone else come accross this? Where can I start looking to resolve this? Thanks for your help in advance Kind regards Steve |
#2
|
|||
|
|||
![]()
In general, the price field is rendered by:
PHP Code:
As you can see, there is a $fieldPrefix before the price and $fieldSuffix - after. So, check in price configs for the prefix and suffix values. |
#3
|
|||
|
|||
![]()
Thanks Gray,
Where do I configure the suffix? In HP, when I go into the settings, there doesn't seem to be anywhere to configure the suffix. I can set the currency but I still get the Euro symbol after the price? Am I missing something? Thanks for your help with this. Regards Steve |
#4
|
|||
|
|||
![]()
The Price field in extra fields management page does not have suffix/prefix settings.
Still, if to look at your HTML rendering (<span class="suffix"> €</span>), it seems that it does. So, check the _hp_prop_ef table. |
#5
|
|||
|
|||
![]()
Thanks Gray,
You were absolutely right. The older version of HP (0.98) allowed you to set whether the currentcy symbol displayed after the price or before. I migrated (like many others) by copying the database tables over. So whereby, the new version of HP doesn't give you that option, clearly the code is still rendering the settings in the database 9set from the old system). You are absolutely correct -the table is jos_hp_prop_ef field = 'price' and there is a column called 'append_text' where the offending € symbol had been set. I just deleted the € symbol - and that's fixed it. I guess that means that if anyone wants the currency symbol after the price, they'll need to manually input it in the database, as there is no where in the new HP version to set it. Thanks again for your help with this - much appreciated. Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|