Product Currency and Price on Product detail area is not allowing for changes

instantflorian

Hi,

the reason is a small JavaScript which changes the displayed price if you use option prices. See /modules/bakery/view_item.php lines 60ff.

The script seems to remove the span, so you have to put the "class=store-price" into the td tag.
The script uses the currency symbol provided in the backend, i don't know what happens if you enter a "$".

If you don't use option prices, you can try to remove the lines 60-83 from the view_item.php.

hth
-Florian.


tschiemer

 I can't get the prince on this page to change styles to class="store-price" ... it's in the code on the store, but it doesn't show.  I am also trying to remove the currency and just put $   -    http://www.ulbrichfit.com/pages/store/1-month-nutrition-program-4.php

I was able to do this on the front page (http://www.ulbrichfit.com/pages/store.php), but not on the item detail page.  Strange thing is, I was able to remove the shipping, the Sku, etc from this chunk of code for item detail, so I know it's the correct chunk of code that controls this area, but the currency and price seem to be coming from somewhere else... it's so weird.  Here is the code:

I can't get the prince on this page to change styles to class="store-price" ... it's in the code on the store, but it doesn't show.  I am also trying to remove the currency and just put $   -    http://www.ulbrichfit.com/pages/store/1-month-nutrition-program-4.php

I was able to do this on the front page (http://www.ulbrichfit.com/pages/store.php), but not on the item detail page.  Strange thing is, I was able to remove the shipping, the Sku, etc from this chunk of code for item detail, so I know it's the correct chunk of code that controls this area, but the currency and price seem to be coming from somewhere else... it's so weird.  Here is the code:

[IMAGE]
<form action="[SHOP_URL]" method="post">
<table border="0" cellspacing="0" cellpadding="1" class="mod_bakery_item_table_f">
<tr>
<td colspan="2" align="center" valign="top"><h2 class="mod_bakery_item_title_f">[TITLE]</h2></td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_price_f">[TXT_PRICE]:</span></td>
<td align="left" valign="top"><span class="store-price">$ [PRICE]</span></td>
</tr>
<tr>       
<td align="left" valign="top"><span class="mod_bakery_item_full_desc_f"><p>[TXT_FULL_DESC]:</p></span></td>
<td align="left" valign="top">[FULL_DESC]</td>
</tr>
[OPTION]
<tr>     
<td align="left" valign="top"> </td>
<td align="left" valign="top">
<input type="text" name="item[ITEM_ID]"  class="mod_bakery_item_input_f" value="1" size="2" />
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</td>
</tr>
</table>
</form>
<br />
<br />
[PREVIOUS] | <a href="[BACK]">[TXT_BACK]</a> | [NEXT]
</center>
<br />


Can someone please tell me why the currency and the price style will not change on these product pages.

Tom