Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

How to Remove Currency Symbol from Magento site

  1. #1

  2. #2
    Junior Member
    Join Date
    Mar 2017
    Location
    Bangalore
    Posts
    64
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Magento1: Open your admin and go to system > manage currency > symbols. Here you can apply the changes.

    Magento2: Open your admin and go to Stores > currency > currency symbols. Here you can apply the changes.

  3. #3
    Junior Member
    Join Date
    Mar 2017
    Posts
    30
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    1. Open template file

    app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/template/catalog/product/view/attributes.phtml


    2. Then replace line
    <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>

    with

    <td class="data"><?php echo preg_replace('@[$€]@u', '', $_helper->productAttribute($_product, $_data['value'], $_data['code'])) ?></td>

    3. Currency symbol should hide after you flush cache.

  4. The Following User Says Thank You to SidharthNarayan For This Useful Post:

    kangbest114 (10-07-2017)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •