View Issue Details

IDProjectCategoryView StatusLast Update
0004406OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2015-05-04 15:10
Reportervanilla thunder Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.6.3 revision 47975 
Fixed in Version4.6.6 revision 54646 
Summary0004406: Variants do not inherit parent's persparam setting
Descriptionif creating variants of a customizable product, they do not inherit the setting "the product can be customized", so in frontend the persparam field disappears when choosing a variant.
Steps To Reproduce1. create new product
2. set "the product can be customized"
3. add variant
4. variant is always not customizable by default
TagsProducts
ThemeBoth
BrowserAll
PHP Version5.3
Database Version5.5

Activities

vanilla thunder

2012-08-17 10:52

reporter   ~0007334

Last edited: 2012-08-17 10:52

possible solution is to make the function _assignValues() in core/oxvarianthandler.php also inherit parent's oxarticles__oxconfigurable value

paste somewhere at the row 185:
$aParams['oxarticles__oxisconfigurable'] = $oSimpleVariant->oxarticles__oxisconfigurable->value;
and one more time at the row 215:
$aParams['oxarticles__oxisconfigurable'] = $oArticle->oxarticles__oxisconfigurable->value;

but it only works for generating variants from selection lists.