tegsol Posted August 9, 2010 Posted August 9, 2010 Hi, after quite a fight I succeeded in installing Individual Product Shipping Prices. I even made IPSP display the price with two decimal places by altering the 'products_ship_price'-field in the database to type 'decimal(10,2)'. Now, it displays the correct shipping price, but it does so with a point as decimal separator, instead of a comma which is the standard in my language and country. Any ideas where to look for? Many thanks, Oliver Quote
tegsol Posted August 9, 2010 Author Posted August 9, 2010 thx to every reader - I managed it. Solution is number_format; my full line in product_info.php now reads: echo 'Shipping price: ' . number_format($extra_shipping['products_ship_price'], 2, ',','.') . ' Euro.</p>'; and echoes, e.g. Shipping price: 99,00 Euro. :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.