File tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Block/Product/View 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public function hasOptions()
160
160
*/
161
161
protected function _getPriceConfiguration ($ option )
162
162
{
163
- $ optionPrice = $ this -> pricingHelper -> currency ( $ option ->getPrice (true ), false , false );
163
+ $ optionPrice = $ option ->getPrice (true );
164
164
$ data = [
165
165
'prices ' => [
166
166
'oldPrice ' => [
@@ -195,7 +195,7 @@ protected function _getPriceConfiguration($option)
195
195
],
196
196
],
197
197
'type ' => $ option ->getPriceType (),
198
- 'name ' => $ option ->getTitle ()
198
+ 'name ' => $ option ->getTitle (),
199
199
];
200
200
return $ data ;
201
201
}
@@ -231,7 +231,7 @@ public function getJsonConfig()
231
231
//pass the return array encapsulated in an object for the other modules to be able to alter it eg: weee
232
232
$ this ->_eventManager ->dispatch ('catalog_product_option_price_configuration_after ' , ['configObj ' => $ configObj ]);
233
233
234
- $ config= $ configObj ->getConfig ();
234
+ $ config = $ configObj ->getConfig ();
235
235
236
236
return $ this ->_jsonEncoder ->encode ($ config );
237
237
}
You can’t perform that action at this time.
0 commit comments