Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Add base price to attribute price so that attribute shows total amount

Add base price to attribute price so that attribute shows total amount

Locked

Views: 4,515

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
14 Aug 2010, 3:07 PM
#1
dcitsolutions avatar

dcitsolutions

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Add base price to attribute price so that attribute shows total amount

Hi,

I have a cart that is set up for a florist. The florist sells products that come in two sized: Standard and Deluxe.

For example, a bunch of flowers standard may cost $50.00 and a deluxe $80.00.

I know that using attributes I can elect not to display a base price and could set two attributes so that the client selects either Standar or Deluxe, with Standard being set as default. However, my client does not want their cart displayed this way.

My client wished for there to be a static base price (in this example $50.00) and then an option for the user to select Deluxe for $80.00.

This is what I have set up. I have set an attribute (checkbox) for Deluxe to +30.00

When I view the product the Deluxe shows as "(+$30.00)".

What I am trying to achieve is for Deluxe to show as the full price which in this example would be $80.00

Is there a way I can achieve this?

Thank you

14 Aug 2010, 5:03 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add base price to attribute price so that attribute shows total amount

Option Name Manager ...
Option Name: Size
Option Type: Radiobutton or Dropdown

Option Value Manager ...
Option Name: Size
Option Value: Standard
Default Sort Order: 10

Option Name: Size
Option Value: Deluxe
Default Sort Order: 20

Add the Product as:
Product Priced by Attributes: YES
Product Price: 0.00

Attributes Controller ...

Add the Attributes as:

Option Name: Size
Option Value: Standard
Price Prefix: blank
Price: 50.00
Default Attribute to be Marked Selected: YES
(this is assuming you want the Standard to be the default)

Option Name: Size
Option Value: Deluxe
Price Prefix: blank
Price: 80.00

NOTE: you do not need to exclude the Deluxe from the base price as the Standard, already, by default is marked to include in base price and the lowest value is used ...

14 Aug 2010, 11:51 PM
#3
dcitsolutions avatar

dcitsolutions

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

The above reply unfortunately is not desired by my client.

"I know that using attributes I can elect not to display a base price and could set two attributes so that the client selects either Standar or Deluxe, with Standard being set as default. However, my client does not want their cart displayed this way."

It appears from countless posts requesting the same function that this is not available at this point.

I am open to suggestions and will also see if I can develop a solution myself.

15 Aug 2010, 5:36 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add base price to attribute price so that attribute shows total amount

How else other than the Product Price displays everywhere in the listings and sideboxes as the Standard Price and on the Product _info as the Standard Price ...

And in the Dropdown/Radiobutton as;

Standard $50.00
Deluxe $80.00

would the client want this to display?

15 Aug 2010, 5:46 AM
#5
dcitsolutions avatar

dcitsolutions

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

Client wanted on the product page the only option be for the user to click as being "Deluxe". Client does not want client to have to either choose or have pre selected "Standard".

Anyhow, through a little bit of code updating I have managed to resolve the issue and achieve the desired outcome.

http://www.flowerswithstyle.com.au

15 Aug 2010, 2:54 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add base price to attribute price so that attribute shows total amount

What was the solution that worked for you on this? :smile:

15 Aug 2010, 9:44 PM
#7
dcitsolutions avatar

dcitsolutions

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

A couple of queries and a bit of code manipulation was required.

I will put it all into a mod in the next few days and submit. By the looks of what I have seen in forums there are a lot of people who have been or are still looking for this solution.

15 Aug 2010, 11:23 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Add base price to attribute price so that attribute shows total amount

Thanks that would be great ... :smile:

25 Aug 2010, 3:10 PM
#9
jacdesigner avatar

jacdesigner

Zen Follower

Join Date:
Jun 2005
Location:
Austin, Texas, US
Posts:
205
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

I made a modification similar to this a few years ago and now I can't recall how that was done. Did you ever submit your module info regarding these code changes, dcit?

25 Sep 2010, 1:06 AM
#10
hyperdogmedia avatar

hyperdogmedia

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

DCIT, I am also interested if you create this as a mod.

18 Nov 2010, 7:56 AM
#11
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: Add base price to attribute price so that attribute shows total amount

I have the same issue. My clients are confused with the attributes as showing additional money instead of showing the total price of the product with that attribute. I would love to know if this mod was contributed.