This repository was archived by the owner on Jun 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
module-vsbridge-indexer-catalog/Model/Indexer/DataProvider/Product
module-vsbridge-indexer-review/ResourceModel Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+
6
+ ## [ 1.8.3] (2019.12.19)
7
+
8
+ ### Fixes
9
+ - support table prefix with review_entity
10
+ - fix exporting final_price and price for configurable products when ` final_price ` equals ` 0 `
11
+
12
+ ## [ 1.8.2] (2019.11.29)
13
+
14
+ ### Fixes
15
+ - fix notice undefined final_price
16
+
5
17
## [ 1.8.1] (2019.11.28)
6
18
7
19
### Fixes
Original file line number Diff line number Diff line change 6
6
"name" : " Agata" ,
7
7
8
8
}],
9
- "version" : " 1.8.2 " ,
9
+ "version" : " 1.8.3 " ,
10
10
"keywords" : [
11
11
" magento" ,
12
12
" magento2" ,
Original file line number Diff line number Diff line change @@ -257,13 +257,14 @@ private function prepareConfigurableProduct(array $productDTO)
257
257
258
258
if (!empty ($ childPrice )) {
259
259
$ finalPrice = min ($ finalPrice );
260
- $ productDTO ['final_price ' ] =
261
- isset ($ productDTO ['final_price ' ]) ? min ($ finalPrice , $ productDTO ['final_price ' ]) : $ finalPrice ;
262
260
263
261
if (!$ hasPrice ) {
264
262
$ minPrice = min ($ childPrice );
265
263
$ productDTO ['price ' ] = $ minPrice ;
266
264
$ productDTO ['regular_price ' ] = $ minPrice ;
265
+ $ productDTO ['final_price ' ] = $ finalPrice ;
266
+ } else {
267
+ $ productDTO ['final_price ' ] = min ($ finalPrice , $ productDTO ['final_price ' ]);
267
268
}
268
269
}
269
270
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function getEntityId(): int
110
110
if (null === $ this ->entityId ) {
111
111
$ connection = $ this ->getConnection ();
112
112
$ select = $ connection ->select ()
113
- ->from ('review_entity ' , ['entity_id ' ])
113
+ ->from ($ this -> resource -> getTableName ( 'review_entity ' ) , ['entity_id ' ])
114
114
->where ('entity_code = :entity_code ' );
115
115
116
116
$ entityId = $ connection ->fetchOne (
You can’t perform that action at this time.
0 commit comments