View Issue Details

IDProjectCategoryView StatusLast Update
0004768OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:20
Reporterray Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.1 / 5.0.1 revision 52468 
Fixed in Version4.8.0_5.1.0_beta1 
Summary0004768: "price from" missing in bargain list
DescriptionIf you assign a product with variants to promotion "bargains", normally the price is shown. If a product has variants and father is not buyable (with no price of course) - nothing is shown.
I would expect to see "from xx.xx €" as shown in lists.
The price for bargain on front page will be 0. It doesn't display price from variants like in 4.6.5
Steps To Reproduce1. create new product
 a) set title, manufacture, category
 b) don't set the price - price is only in variants

2. create variants with prices

3. add created product to bargainlist
Additional Informationrelated?
https://bugs.oxid-esales.com/view.php?id=4735

from forums:
http://forum.oxid-esales.com/showthread.php?t=17397

please check all other similar promotions and lists as well for this issue
TagsPromotion
ThemeAzure
BrowserAll
PHP Versionany
Database Versionany

Activities

Linas Kukulskis

2012-12-04 10:02

reporter   ~0008047

added with fix 0004736

ray

2012-12-04 21:58

reporter   ~0008054

here you wrote "Next Major Version" but in linked Bug you write "Patch for 5.0"

so when it will be released? In patch or in next upgrade?
Is there a hotfix if published in upgrade?

Linas Kukulskis

2012-12-05 08:37

reporter   ~0008056

for this bug in major version. (bug in koment in patch)

Linas Kukulskis

2012-12-05 08:41

reporter   ~0008057

fix:

in bargainitems.tpl:

[{if $_product->getFPrice()}]
                        [{assign var="currency" value=$oView->getActCurrency()}]
                        [{assign var="sFrom" value=""}]
                        [{assign var="fPrice" value=$_product->getFPrice()}]
                        [{if $_product->isParentNotBuyable() }]
                            [{assign var="fPrice" value=$_product->getFVarMinPrice()}]
                            [{if $_product->isRangePrice() }]
                                [{assign var="sFrom" value="PRICE_FROM"|oxmultilangassign}]
                            [{/if}]
                        [{/if}]
                        <span class="priceValue">[{$sFrom}] [{$fPrice}] [{$currency->sign}]
                         [{if $oView->isVatIncluded() }]
                             [{if !( $_product->hasMdVariants() || ($oViewConf->showSelectListsInList()&&$_product->getSelections(1)) || $_product->getVariants() )}]*[{/if}]
                         [{/if}]
                         </span>
                    [{/if}]