I am trying to create a store using Magento ver. 184.108.40.206. My programming capabilities are not great. I am an electronics engineer and I know embedded C properly, only. So, please treat me well.
I have installed the theme Shoes Store from here. The theme works fine for now, but I have ran into the problem that near the price, there is a text "undefined", as it can be seen in the below screenshot clip.
I have used my browser to check the code of this block and it is like this:
<div class="price-box"> <span class="regular-price" id="product-price-1"> <span class="price"> <span class="cur_sym">1</span> <span class="price_int">9,99 TL.</span> <span class="price_deci">undefined</span></span> </span> </div> <div class="actions"> <a class="details" href="http://www.myurl.com/store/denek-urun.html" title="Details">Details</a> </div>
And this HTML code is generated by new_products.phtml page which is a part of the theme and which uses following to print the above HTML code:
<?php echo $this->getPriceHtml($_product, true) ?>
As far as I understand, the "undefined" comes from the decimal part of the price. I have checked
app/design/frontend/base/default/template/catalog/product/price.phtml but couldn't understand anything.
How can I get rid of the "undefined" text?