Weird prices after update

zirzy

Sounds good (Y) (Y) Backend bootstrap sounds good too (Y)

crnogorac081

Its pretty much same db design, but its just for listing so far. There are no shopping options yet, because they were not needed at this time.

Also it is coded as tool, not as page module. I will probably publish code after I finish backend bootstrap template.
Web developer

zirzy

Do you mean if I have options for items? I think there is no options.

How can it be possible to get this just to update older shop (where wasn't this kind of things) to new one? It just popped out?

btw. If your example site is made with bakery, it's nice and responsive. How did you do it, just by fixing templates? And how did you set up that slider on item page?


crnogorac081

js is recalculatign prices if you have options :D for example like here

Web developer

zirzy

I found this from the source which was effecting the price field:

<script type="text/javascript" src="/modules/bakery/jquery/calc_price.js"></script>
<script type="text/javascript">
$(document).ready(function() {

// Get the price container (must be adapted if html template has been modified)
container     = $('.mod_bakery_item_price_f').parent().next();

// General settings
currency      = 'EUR';
decimal_sep   = '.';
thousands_sep = "'";

// Calculate price on document ready
$('.mod_bakery_item_select_f :selected').calcPrice();

// Calculate price on selcted item option
$('.mod_bakery_item_select_f').change(function() {
$('.mod_bakery_item_select_f :selected').calcPrice();
});
});


I took javascript off from the backend and price is correct again. What is it?


zirzy

Hi,

Weird prices after update in view item page.

Here everything is ok:
http://www.tooltek.net/pages/fi/kauppa.php

But here in the view item page prices are totally weird:
http://www.tooltek.net/pages/bakery/freud-pyoeroeterae-400x4.0x30-z-96-aeaenivaimennus-63.php

How can I fix it?