Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2005
    Posts
    150
    Plugin Contributions
    0

    Default parenthese in price display

    How can I remove the parenthese that encases the option price?
    I want the value to display without the parenthese and be in bold.

    Now it is (+$5.00)
    I want it to be $5.00
    And bold.

    Thanks.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: parenthese in price display

    You would need to customize the:
    /includes/modules/attributes.php

    Copy that to your templates and overrides directory:
    /includes/modules/your_template_dir/attributes.php

    Search for:
    ' (
    NOTE: the space in there ...

    And there are at least 2 lines to edit to remove the parens from the price ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2005
    Posts
    150
    Plugin Contributions
    0

    Default Re: parenthese in price display

    Quote Originally Posted by Ajeh View Post
    You would need to customize the:
    /includes/modules/attributes.php

    Copy that to your templates and overrides directory:
    /includes/modules/your_template_dir/attributes.php

    Search for:


    NOTE: the space in there ...

    And there are at least 2 lines to edit to remove the parens from the price ...
    Thanks, I got rid of the ( ) on lines 145, 157, and 170.

    How can I make the price value be in bold? Or can I?

  4. #4
    Join Date
    Dec 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: parenthese in price display

    I came around to how to do this the long way, not having found this post first despite many searches. Oh well...

    The exact code changes are listed for copy/pasting about removing parentheses and bolding:

    http://www.zen-cart.com/forum/showth...028#post416028

  5. #5
    Join Date
    Feb 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: parenthese in price display

    How would one cause the price it shows in the parentheses to be the total of the base price plus the additional price for that option? So if the base price for an item is $4.00 and one option shows:

    4 oz (+$3.00)

    It would show

    4 oz ($7.00)

    I have searched and searched and have not found an answer.

  6. #6
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: parenthese in price display

    Quote Originally Posted by faithofgod View Post
    How would one cause the price it shows in the parentheses to be the total of the base price plus the additional price for that option? So if the base price for an item is $4.00 and one option shows:

    4 oz (+$3.00)

    It would show

    4 oz ($7.00)

    I have searched and searched and have not found an answer.
    Does anyone know what to do about this? I would like to do the very same thing but the directions that are here are for an obviously older version of Zen.

    Thanks

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: parenthese in price display

    Usually the way to do that is to use the Product as:
    Product Price 0.00
    Priced by Attribute YES

    and put the whole price in the Attribute ... but leave the prefix blank ...

    However, when you need to change the price of the base by 10.00 and have 15 colors you would need to edit them one by one ...

    There isn't enough info here to know what would work best for you but perhaps this will lead you to a solution ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Change Display price with attribute LARGEST price not lowest
    By bubbadan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Feb 2020, 05:37 AM
  2. v139h Display regular price AND sale price on email confirmation ?
    By sportbiker in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Nov 2013, 09:45 PM
  3. Need attribute price to display total price not incremental price
    By Rickk123 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 2 Sep 2010, 06:26 PM
  4. How to diable price display and display for certain users
    By marksu in forum General Questions
    Replies: 3
    Last Post: 10 Jan 2009, 05:02 PM
  5. Display price will include lowest group attributes prices plus price
    By jtjohnston in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Feb 2008, 06:39 AM

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