View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003297 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2011-10-07 16:35 | 2012-12-07 14:28 |
Reporter | d3 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 4.5.1 revision 38045 | ||||
Summary | 0003297: incorrect comparison: $oDetailsProduct->getFTPrice() > $oDetailsProduct->getFPrice() | ||||
Description | in template page/details/inc/productmain.tpl: this works not correct: [{if $oDetailsProduct->getFTPrice() > $oDetailsProduct->getFPrice()}] course $oDetailsProduct->getFTPrice() and $oDetailsProduct->getFPrice() return values with comma like 100,85 > 95,81 (95,81 is bigger as 100,85, if compared as string) 59,20 > 56,24 (this works ;-) ) | ||||
Additional Information | in relation with ticket: 0002874 | ||||
Tags | Products | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
duplicate of | 0003154 | resolved | Linas Kukulskis | Wrong comparision in listitem_line.tpl |
|
This is the same bug as https://bugs.oxid-esales.com/view.php?id=3154. Seems it wasn't fixed in all files. However: This is not a minor bug, because the whole template behavior for tprices is relying more or less on lucky coincidences. |
|
Marked this as duplicate of 3154. Set this entry as High priority |