View Issue Details

IDProjectCategoryView StatusLast Update
0000912OXID eShop (all versions)4.08. Cachepublic2012-12-10 13:39
Reporterjuergen_busch 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.0 revision 17976 
Target VersionFixed in Version4.1.3 revision 19918 
Summary0000912: Variants with stock = 0 can't display in details.tpl
DescriptionCaching leads to unwanted results in case that the method is called with different $blRemoveNotOrderables.

Possible solution: store two cached arrays. "_aVariantsWithNotOrderables" and "_aVariantsWithoutNotOrderables".
Additional InformationIn details.tpl of a customer getVariantList() and $variant_product->oxarticles__oxstock->value > 0 is used. But with version 4.1.0 it doesn't work anymore to show variants with oxstock = 0, just to lable it as "Sold out".

Possible reason: implemented lazy loading.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

sarunas_valaskevicius

2009-06-09 14:05

reporter   ~0001036

solved like proposed: added $_aVariantsWithNotOrderables cache