View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004406 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2012-08-17 10:15 | 2015-05-04 15:10 |
| Reporter | vanilla thunder | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.6.3 revision 47975 | ||||
| Fixed in Version | 4.6.6 revision 54646 | ||||
| Summary | 0004406: Variants do not inherit parent's persparam setting | ||||
| Description | if 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 Reproduce | 1. create new product 2. set "the product can be customized" 3. add variant 4. variant is always not customizable by default | ||||
| Tags | Products | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | 5.3 | ||||
| Database Version | 5.5 | ||||
|
|
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. |