I‘m using… OXID eShop CE 4.5.8_42471 . I have question about price, that is shown near product. Now it is shown the smallest price, user is alowed to change product, price is changing too.
The question is how could i change this funkcion – i want as administrator manualy set the price what i want to show as a main price. Please tell me how could i set that funkcion ir my portal.
when the drop downs are choosen and the actual price appears.
Where is the price calculated or coming from ?
As it does not seem to be in /tpl/page/details/inc/pricinfo.tpl
My problem is i have a variant with a price of 2248,00 - this gets a 5% discount = 2135,60
done that, solves nothing.
In fact the 1000 dot seperation, and the comma are automatically added.
So even if you enter the price 1265
It will still be formatted for the “from price” as 1.265,00
The price [{$fPrice}] is fine.
There are 2 variations available
the initial “from price” is fine
after choosing 1 variation, the new “from price” is fine
choose the 2nd variation and the price is wrong
where is the javascript thats doing the ajax ? - i can only assume its doing the formatting
have you customized your template?
can you switch to azure or basic and check it again?
there is a lot of information you can get by reading the source code of the templates. give it a chance!
e.g. have a look at the product template: out/theme/tpl/page/details/details.tpl
it includes some other templates, which contains all the scripts needed for the page.
no am on the non changed azure, does not happen with basic (uses a different ajax)
yep been looking there
tpl/page/details/inc/productmain.tpl
am dumping out fprice, and its fine, but as i say is does not change when the ajax kicks in.
[{assign var=“fPrice” value=$oParentProduct->getFPrice()}
It only seems to be a problem when there are 2 variation, drop downs, and only on the final price.
I’m sure its a js formatting problem, i just cannot work out which bit of js does the formatting