Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
Removed html tags from price
Browse files Browse the repository at this point in the history
  • Loading branch information
ade committed Oct 4, 2019
1 parent 24723be commit 91679e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Everlytic_Productapi_Model_Api2_Product_Rest_Admin_V1 extends Mage_Catalog
protected function _prepareProductForResponse(Mage_Catalog_Model_Product $product)
{
$productData = $product->getData();
$productData['price'] = Mage::helper('core')->currency($product->getPrice());
$productData['price'] = strip_tags(Mage::helper('core')->currency($product->getPrice()));
$productData['gallery'] = $this->getGalleryFromProduct($product);
$productData['product_url'] = $product->getProductUrl();
$productData['add_to_cart_url'] = Mage::getBaseUrl() . "add-to-cart/index/index/product/" . $product->getId();
Expand Down

0 comments on commit 91679e6

Please sign in to comment.