Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Don't Want Attribute Prices Automatically Added to Product Price

Don't Want Attribute Prices Automatically Added to Product Price

Views: 2,220

Results 1 to 8 of 8
29 Mar 2011, 9:19 PM
#1
fortun3 avatar

fortun3

New Zenner

Join Date:
Nov 2009
Posts:
21
Plugin Contributions:
0

Don't Want Attribute Prices Automatically Added to Product Price

Hello,

I previously wanted the prices for a product and each of its chosen attributes, to show up in the shopping cart. I have followed the instructions that were given in this old thread: http://www.zen-cart.com/forum/showthread.php?t=79602

My shopping cart now lists the cost of each attribute right next to the attribute name (see attachment).

My issue is that I don't want the price of each attribute to be automatically added to the price of the product (I want it separate so that the total cost at the end will include everything).

For example in my attachment, it's currently listed as:
Fine Elegance Saree $254.80 (unit) $254.80 (total)

  • Blouse Stitching (+ $10.00)
  • Matching Petticoat (+ $8.00)
  • Fall Etching (+ $1.00)

Is it possible to make it so that it's listed as:
Fine Elegance Saree $235.80 (unit) $235.80 (total)

  • Blouse Stitching (+ $10.00)
  • Matching Petticoat (+ $8.00)
  • Fall Etching (+ $1.00)

I don't want the + $10.00, + $8.00, +$1.00 automatically added onto the product/unit total (the product is $235.80 BEFORE the additional cost of the attributes). The product total, INCLUDING all chosen attributes should be listed at the very end where it says "Sub-Total" instead.

I just don't want people getting confused, thinking that they have to add on the price of the attributes themselves to the total price when it's already been calculated for them. I hope I'm making some sense here.

Thanks in advance.

29 Mar 2011, 10:55 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

I just don't want people getting confused, thinking that they have to add on the price of the attributes themselves to the total price when it's already been calculated for them.

There is an addon "dynamic price updater" which will add the attribute as it is selected and use the text "your price...." which should stop any confusion

31 Mar 2011, 4:50 AM
#3
fortun3 avatar

fortun3

New Zenner

Join Date:
Nov 2009
Posts:
21
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

Thank you so much Donal.

Though I still kinda prefer it the attribute prices could be separated and not automatically added to the product price in the shopping cart. I guess it's not possible then, huh?

Oh well, I guess I'll just have to edit the shopping cart page and put a message at the top informing customers that any attributes that they have chosen, the prices have already been added to the cost of the product.

10 Nov 2011, 7:53 PM
#4
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

Same feeling here. I tried the Dynamic Price Updater and, on the Shopping Cart page, it still doesn't show the item base price and the attribute price. It shows the item as a total price with the attribute and then the attribute price separately. I had already done that work-around by putting the atttribute price in its description line.

I tried the instructions in the old post you linked to, but I don't understand the last part, the correction, and haven't been able to figure it out. If you o anyone else got it working, please let me know.

R

10 Nov 2011, 9:03 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,627
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

Are you getting customer complaints about it or is it something that bothers you?

18 Nov 2011, 8:21 PM
#6
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

I got a couple of comments, not the biggest deal, but I imagine others regard it as unprofessional and don't say anything. That's the main thing with me, I simply want it to look professional and logical.

31 Dec 2011, 4:57 AM
#7
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: Don't Want Attribute Prices Automatically Added to Product Price

code to show product base price without adding attributes prices in shopping cart

<?php echo $currencies->display_price(zen_get_products_base_price($product['id']), zen_get_tax_rate($products[$i]['tax_class_id'])); ?>

Thanks to http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=905

with that code, and individual attributes price code can make cart look like attached
I think thats what you're looking for.

If you do the same for includes/classes/order.php post code here as I may do the same if I have time.

17 Dec 2012, 11:00 PM
#8
leet88845 avatar

leet88845

New Zenner

Join Date:
Dec 2012
Posts:
13
Plugin Contributions:
0

Re: Don't Want Attribute Prices Automatically Added to Product Price

I followed the first thread instructions and then this and it all worked perfect. Thanks!