Thread: Remove + Sign

Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    73
    Plugin Contributions
    0

    Default Remove + Sign

    When using the attributes and the + value is used, the page displays + £xxxx. Is there anyway to hide the output of the "+"?

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

    Default Re: Remove + Sign

    Empty the box when setting your attributes.
    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
    Join Date
    Jan 2008
    Location
    Healdsburg, CA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Remove + Sign

    Then again, if you have lot's of products loaded and that would be a real pain, and you want to remove the + sign everywhere in all normal price attributes, you could go to includes/modules/attributes.php, find the line (around 158):

    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;
    and change it to:

    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;
    Here you're just commenting out the price prefix (the plus sign). You can do pretty much the same thing with anything that has 'price_prefix'. Make sure you save this modified file according to conventions in the correct override folder.

 

 

Similar Threads

  1. Remove Customer Sign Up Form
    By scottmcclean in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Dec 2009, 09:13 PM
  2. Remove Newsletter sign-up option
    By kidzcomfort in forum General Questions
    Replies: 1
    Last Post: 3 Oct 2008, 09:43 PM
  3. Remove sign-up page
    By illusive101 in forum Basic Configuration
    Replies: 1
    Last Post: 18 Mar 2008, 04:14 AM
  4. Remove + (plus) sign
    By enofman in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Jul 2007, 10:52 PM
  5. Remove Sign Up
    By helpdbay in forum Managing Customers and Orders
    Replies: 2
    Last Post: 15 Jul 2006, 04:54 AM

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