Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / how to hide prices in attributes listings?

how to hide prices in attributes listings?

Locked

Views: 1,530

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
25 May 2010, 3:37 PM
#1
zerocool9455 avatar

zerocool9455

New Zenner

Join Date:
May 2010
Posts:
96
Plugin Contributions:
0

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

25 May 2010, 4:10 PM
#2
zerocool9455 avatar

zerocool9455

New Zenner

Join Date:
May 2010
Posts:
96
Plugin Contributions:
0

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! :hug:

25 May 2010, 4:14 PM
#3
zerocool9455 avatar

zerocool9455

New Zenner

Join Date:
May 2010
Posts:
96
Plugin Contributions:
0

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?

26 May 2010, 12:47 PM
#4
zerocool9455 avatar

zerocool9455

New Zenner

Join Date:
May 2010
Posts:
96
Plugin Contributions:
0

Re: how to hide prices in attributes listings?

Anyone?

31 May 2010, 5:30 PM
#5
thelawman avatar

thelawman

New Zenner

Join Date:
May 2010
Posts:
24
Plugin Contributions:
0

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.php?main_page=product_info&products_id=191

Thanks!

31 May 2010, 6:02 PM
#6
thelawman avatar

thelawman

New Zenner

Join Date:
May 2010
Posts:
24
Plugin Contributions:
0

Re: how to hide prices in attributes listings?

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

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/showthread.php?t=101082&highlight=remove+parenthesis+attribute I removed the parenthesis from the attrib price. If there is a better solution please post.

25 Dec 2010, 9:08 PM
#7
thedjphat avatar

thedjphat

Zen Follower

Join Date:
Nov 2010
Location:
Vancouver, BC
Posts:
108
Plugin Contributions:
0

Re: how to hide prices in attributes listings?

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

 //                         $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)