Issue with price format on Product Page (getPriceHtml)
I'm having troubles with the price formatting on a product page of a downloadable product. The format (as defined globally) should be EUR 15.23. It work's fine in the sidebars, category pag开发者_开发问答es, homepage and so on. Anyway, on the product page the price is shown wrong (without space): EUR15.23
catalog/product/view.phtml:
//calling once - price EUR15.23
<?php echo $this->getPriceHtml($_product, true); ?>
//calling twice - first price EUR15.23 second price EUR 15.23 (correct)
<?php echo $this->getPriceHtml($_product, true); ?>
same problem when calling:
<?php echo $this->getChildHtml('product_type_data'); ?>
I think it has to do with the reloadPrice : function()
JavaScript Code in
downloadable/catalog/product/links.phtml
Anyone also had this problem? Actually I don't want to get through the JavaScript-Code and change something here as I do not want to change the core files.
Thanks!
Sure it isn't right solution, but if I got you right and it is always true that "first price EUR15.23 second price EUR 15.23 (correct)", then why not just
<?php $this->getPriceHtml($_product, true); // no output ?>
<?php echo $this->getPriceHtml($_product, true); // correct output ?>
精彩评论