Skip to content

Commit

Permalink
MAGETWO-59512: [GitHub] Products in wishlist show $0.00 price magento…
Browse files Browse the repository at this point in the history
…#6866

-- functional test
  • Loading branch information
Stanislav Idolov committed Oct 24, 2016
1 parent 199456a commit c0ec134
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,13 @@ public function hoverProductBlock()
/**
* Returns product price
*
* @param string $currency
* @return string
*/
public function getPrice()
public function getPrice($currency = '$')
{
$price = $this->_rootElement->find($this->price)->getText();
return str_replace('$', '', $price);
return str_replace($currency, '', $price);
}

/**
Expand Down

0 comments on commit c0ec134

Please sign in to comment.