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

Commit

Permalink
Merge pull request #2 from everlytic/Edit
Browse files Browse the repository at this point in the history
Edit
  • Loading branch information
ade1705 authored Oct 8, 2019
2 parents 0b3d1bc + d61764c commit 01fe2b1
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 01fe2b1

Please sign in to comment.