Results 1 to 7 of 7
  1. #1
    Join Date
    May 2010
    Posts
    96
    Plugin Contributions
    0

    Default how to hide prices in attributes listings?

    about 95% of my site is priced by attributes and there are certain attributes I don't want the price shown in the listings in a drop down menu. How can I hide them?

    Thank you!

    z

  2. #2
    Join Date
    May 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings

    ok,.... here's what I am trying to do


    I got a product that can be bought at certain levels which is listed in a first attribute, but I need a second attribute that mods the price of the first. Can this be done by percentage of the second attribute? How is this done?



    Also,.. what is price factor?

    thank you!

  3. #3
    Join Date
    May 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings

    Um,.. can I put in a "%" instead of a "+" in the second attribute to make the price adjust accordingly?

  4. #4
    Join Date
    May 2010
    Posts
    96
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings?

    Anyone?

  5. #5
    Join Date
    May 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings?

    I too am trying to hide attribute prices (or the attribute name). I'm using attributes for the gift certs and currently have the attrib name of $5 and the amount of $5 both showing up. I only want one to be seen - either one fine with me.



    Link: http://www.solsticecatalog.com/index...roducts_id=191

    Thanks!

  6. #6
    Join Date
    May 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings?

    Not sure if this was the "correct" way to do this but...

    I deleted the option values (the sort order let's me know how much each is anyway) and then based on this thread https://www.zen-cart.com/forum/showt...esis+attribute I removed the parenthesis from the attrib price. If there is a better solution please post.

  7. #7
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    108
    Plugin Contributions
    0

    Default Re: how to hide prices in attributes listings?

    I just found the solution for this - as it applies to price factors.

    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;
    by commenting out these two lines in attributes.php My site no longer displays the (+$xx.xx) with my quantity attributes.

    (i'm using the flexible attributes mod so I'm not sure if it's the same but lines 163 and 164 for me)

 

 

Similar Threads

  1. v150 Hide product prices if item is priced by attributes (php help)
    By mi16chap in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jun 2012, 04:37 PM
  2. How to display prices in sub category listings?
    By Twaddle in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Mar 2010, 04:06 AM
  3. How do I globally hide all product prices?
    By TimUK in forum Customization from the Admin
    Replies: 12
    Last Post: 11 Jul 2009, 04:23 PM
  4. How do I hide prices from guests?
    By Roidhun in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 17 Oct 2008, 10:52 AM
  5. How to create groups and hide prices?
    By Apoc in forum Managing Customers and Orders
    Replies: 4
    Last Post: 18 Feb 2008, 09:20 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