View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005331 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2013-08-07 18:24 | 2022-02-01 11:51 |
Reporter | FibreFoX | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Product Version | 4.7.6 / 5.0.6 | ||||
Summary | 0005331: If variant has 0 as price, the shop uses the parent-article-price | ||||
Description | I generated md-variants via shell-access and have the situation, that some variants end up having price equals 0. I do want having variants that price. When article is loaded and the price is get via magic "__get", 0 is loaded from database and overwritten via _assignParentFieldValue. Whould it be wise to add it to $_aNonCopyParentFields or having it changeable via shop-config-parmeter!? | ||||
Steps To Reproduce | * create article * create variants * make any variant having price 0 | ||||
Additional Information | My current workaround for my module overloading oxarticle: protected function _assignParentFieldValue($sFieldName) { if (!($oParentArticle = $this->getParentArticle())) { return; } $sCopyFieldName = $this->_getFieldLongName($sFieldName); if ($sCopyFieldName == "oxarticles__oxprice") { return; } return parent::_assignParentFieldValue($sFieldName); } | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Reminder sent to: FibreFoX Hi, thanks a lot for the bug entry, It was confirmed as feature request. Also we suggesting to overwrite parameter _aNonCopyParentFields instead of changing method as a module. |
|
waiting for the PO decision. |
|
Looks like a custom requirement to me. Please re-open with additional information if you disagree |