Update getMaximamPrice() to return product price instead of getMinimalPrice() in AbstractType.
Solving issue with Simple products where price and special_price were the same amount in the REST API.
This commit is contained in:
parent
c4148f31fa
commit
63d86f5def
|
|
@ -536,7 +536,7 @@ abstract class AbstractType
|
|||
*/
|
||||
public function getMaximamPrice()
|
||||
{
|
||||
return $this->getMinimalPrice();
|
||||
return $this->product->price;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue