Skip to content

Commit 33c1682

Browse files
authored
Merge pull request #9 from techdivision/pac-497-ignore-attribute-value-on-update
2 parents 9ed5923 + 31de019 commit 33c1682

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Version 5.2.1
2+
3+
## Bugfixes
4+
5+
* none
6+
7+
## Features
8+
9+
* add new config for ignored attribute on update defined in configuration.json
10+
* Example:
11+
* Ignore attribute code `msrp_display_actual_price_type` from catalog_product entity on update value
12+
* Ignore ALL attribute codes from catalog_category entity on update value
13+
```
14+
"ignore-attribute-value-on-update": {
15+
"catalog_product": [
16+
"msrp_display_actual_price_type"
17+
],
18+
"catalog_category": []
19+
}
20+
```
21+
122
# Version 5.2.0
223

324
## Bugfixes
@@ -9,6 +30,7 @@
930
* Add #PAC-353 new feature to get magento configuration from api in Pacemaker Enterprise
1031
* Add #PAC-215 option `config-output` as default false to report all configuration json files in logs
1132
* The command: `bin/import-simple import:debug --config-output=true`
33+
1234
# Version 5.1.0
1335

1436
## Bugfixes

src/ConfigurationInterface.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,4 +522,20 @@ public function setConfigurationFiles(array $configurationFiles);
522522
* @return array
523523
*/
524524
public function getConfigurationFiles();
525+
526+
/**
527+
* Get the ignored attribute value from Config
528+
*
529+
* @return array
530+
*/
531+
public function getIgnoreAttributeValue();
532+
533+
/**
534+
* Set the ignored attribute value from Config
535+
*
536+
* @param array $ignoreAttributeValueOnUpdate ignoreAttributeValueOnUpdate
537+
*
538+
* @return void
539+
*/
540+
public function setIgnoreAttributeValue($ignoreAttributeValueOnUpdate);
525541
}

0 commit comments

Comments
 (0)