You are here:  » price format


price format

Submitted by danba on Tue, 2013-09-17 18:01 in

Hello,

as already described here I'd like to use german notation with the wordpress login. What do I need to modify?

Thanks,
Daniel

Submitted by support on Wed, 2013-09-18 07:29

Hello Daniel,

Sure, - as in the standalone version the price is displayed in a number of places, so you could search and replace in your text editor as follows;

In the following files:

pto_featured.php
pto_searchresults.php

Search:

$pto_config_currencyHTML.$row->minPrice

Replace:

number_format($pto_config_currencyHTML.$row->minPrice,2,",",".")

And in

pto_product.php

$pto_config_currencyHTML.$product->price

Replace:

number_format($pto_config_currencyHTML.$pto_config_currencyHTML.$product->price,2,",",".")

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by danba on Wed, 2013-09-18 22:40

Thanks, working quite well!

Submitted by danba on Wed, 2013-09-18 23:32

It works fine expect when using the min price tag [pto minPrice="xyz"]
Here I get the standard format again.

Submitted by support on Thu, 2013-09-19 08:49

Hello danba,

What is the full shortcode you are using? e.g.

[pto minPrice="xyz" search="Keywords"]

If you can also post an example URL where you are still seeing standard format numbers that will help (I'll remove the link before publishing your reply)

Thanks!
David.
--
PriceTapestry.com

Submitted by danba on Tue, 2013-09-24 20:34

Hello David,

I use

[pto minPrice="product name"]

Unfortunately I can't provide an example URL as I work on a local server.

Best, Daniel

Submitted by support on Wed, 2013-09-25 10:22

Hello Daniel,

Ah, this looks like a custom shortcode that we added. Would you like to email me your latest pto.php and I'll check that out for you...

Cheers,
David.
--
PriceTapestry.com