Templates
Wiki
Help
Add-ons
Download
Home
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
Support WebsiteBaker
Home
Help
Search
Login
Register
WebsiteBaker Community Forum
»
WebsiteBaker Support (2.8.x)
»
Bakery Shop
»
Product Currency and Price on Product detail area is not allowing for changes
Print
Pages: [
1
]
Go Down
Author
Topic: Product Currency and Price on Product detail area is not allowing for changes (Read 3411 times)
tschiemer
Posts: 62
Product Currency and Price on Product detail area is not allowing for changes
«
on:
June 13, 2014, 09:54:11 PM »
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_tab
le_f">
<tr>
<td colspan="2" align="center" valign="top"><h2 class="mod_bakery_item_tit
le_f">[TITLE]</h2></td>
</tr>
<tr>
<td align="left" valign="top"><span class="mod_bakery_item_pri
ce_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_ful
l_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_inp
ut_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
Logged
tschiemer
Posts: 62
Re: Product Currency and Price on Product detail area is not allowing for changes
«
Reply #1 on:
June 13, 2014, 11:56:26 PM »
I was asked to change the Store name, so here are new links to the issue:
http://www.ulbrichfit.com/pages/supplies.php
http://www.ulbrichfit.com/pages/supplies/1-month-nutrition-program-4.php
Logged
instantflorian
Guest
Re: Product Currency and Price on Product detail area is not allowing for changes
«
Reply #2 on:
June 14, 2014, 10:43:34 AM »
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.
Logged
Print
Pages: [
1
]
Go Up
WebsiteBaker Community Forum
»
WebsiteBaker Support (2.8.x)
»
Bakery Shop
»
Product Currency and Price on Product detail area is not allowing for changes