I'm using Swiss franc (CHF) as currency. If an item is, let's say, CHF 5.00, the price tag should look like this: CHF 5.??? (the ".-" indicating that there are no decimals). If an item is CHF 5.50 it should exactly look like this without the ".???" in the end. Since I didn't find any option in the admin panel to achieve this I set the "Currency symbol" to ".???" and used
PHP Code:
str_replace('.00', '', [PRICE])
I edited the file ec_product_details_page.php and replaced
PHP Code:
<div class="ec_details_price ec_details_single_price"><?php $this->product->display_product_list_price(); ?><?php $this->product->display_price(); ?></div>
with
PHP Code:
<div class="ec_details_price ec_details_single_price"><?php str_replace('.00', '', $this->product->display_product_list_price()); ?><?php str_replace('.00', '', $this->product->display_price()); ?></div>
The store address is: http://www.ideenservice.biz/ressourcen/