View Issue Details

IDProjectCategoryView StatusLast Update
0001430OXID eShop (all versions)4. ------ eShop Core -------public2012-12-10 13:42
Reporterd3 Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionno change required 
Product Version4.2.0 revision 23610 
Summary0001430: protected oxarticle::_hasAnyVariant()
DescriptionWhy oxarticle::_hasAnyVariant() is protected?
In any situations in smarty etc. it will be fine to know if a article has variants without loading whole variantlist with oxarticle::getVariantList().
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-11-02 15:11

reporter   ~0001991

Reminder sent to: d3

Hi,

This function is planned to be protected, because we see no sense to make it public.
The fact - if article has variants - depends on more factors. For checking if article has variants - the best way is to use oxArticle::getVariants() and check returned array.

Best regards,