Results 1 to 4 of 4
  1. #1

    Default How to remove the price eg - (+£.105) from the attributes

    Can any one tell me where I can remove the price eg - (+£.105) from the attributes?

    I found a file called attributes.php in the modules directory. This is a big file and I can't seem to find out what I need to change. Unless there is a way to change this in the admin?

    Thanks

    Jason

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How to remove the price eg - (+£.105) from the attributes

    Have you explored any of the threads asking the same question? Scroll down this page the the Related Threads section to start.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: How to remove the price eg - (+£.105) from the attributes

    Quote Originally Posted by Kim View Post
    Have you explored any of the threads asking the same question? Scroll down this page the the Related Threads section to start.
    Hi Kim

    I did try searching before I started this thread.I couldn't find anything. I searched yet further and i've found that by removing the code below from attributes.php on line 158 removes the price, but....

    Code:
    $products_options_display_price=  ATTRIBUTES_PRICE_DELIMITER_PREFIX . $products_options->fields['price_prefix'] .
                              $currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ATTRIBUTES_PRICE_DELIMITER_SUFFIX;

    Now the dynamic price updater does not work, so i tried adding in <span> tags around the code above. for example, but...

    Code:
     $products_options_display_price= '<span>' . ATTRIBUTES_PRICE_DELIMITER_PREFIX . $products_options->fields['price_prefix'] .
                              $currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ATTRIBUTES_PRICE_DELIMITER_SUFFIX . '</span>';
    But the SPAN tags come out as text on the page instead of html. Does anyone know why? Or is there a PHP method I can add to have it output as html?

    Thanks

    Jason

  4. #4

    Default Re: How to remove the price eg - (+£.105) from the attributes

    I just thought I'd say that I want to put tags around the price so I can change its colour.

 

 

Similar Threads

  1. v139b How to remove the price from the Invoice?
    By tonybrown in forum Customization from the Admin
    Replies: 0
    Last Post: 15 Jan 2013, 03:09 PM
  2. how do I remove price from the top of the browser window?
    By feolindo in forum General Questions
    Replies: 5
    Last Post: 6 Nov 2008, 08:28 AM
  3. How do I remove the price from the status bar?
    By bscdb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Sep 2007, 07:09 PM
  4. Replies: 2
    Last Post: 12 Sep 2007, 05:34 AM
  5. How do I remove the price and product number from page title?
    By dinki in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Oct 2006, 06:55 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR