View Issue Details

IDProjectCategoryView StatusLast Update
0004473OXID eShop (all versions)2.4. Administer productspublic2012-12-18 15:42
Reportertabsl 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version4.6.6 revision 54646Fixed in Version4.6.6 revision 54646 
Summary0004473: updating oxremindactive in article_variant
Descriptionoxremindactive will not be updated if you are using the stock-field in article_variant and save

checked in 4.6.1 and 4.6.2
Additional Informationsolution:
add in render() bevor save();

        if($aParams['oxarticles__oxstock'] > 0)
        {
            if ( $oArticle->oxarticles__oxremindactive->value &&
                $oArticle->oxarticles__oxremindamount->value <= $oArticle->oxarticles__oxstock->value )
                $oArticle->oxarticles__oxremindactive->value = 1;
        }
TagsProducts, Stock, Variants
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

aurimas.gladutis

2012-12-18 15:42

reporter   ~0008169

Last edited: 2012-12-18 15:50

View 2 revisions

Fixed. Also added oxarticle method resetRemindStatus for reseting remindStatus.