Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How can I multiply cost by quanity THEN add on an attribute cost without multiplying

How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Locked

Views: 5,292

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
4 Sep 2006, 6:13 PM
#1
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Hi

The site I am developing sells curtains. For each curtain I have attribute Height with a selection of heights each costed differently. The cost of a curtain is per 0.1m width. So I have changed the quantity box to be called width, so to order a larger width you enter the width in the quantity box and it multiplies it. This of course multiplies the cost of the height purchased too.

BUT
I also have an attribute I want applied to each curtain, not each width. So no matter what width you choose it should only add on this extra attribute once as in fact you are buying one curtain (with multiple widths).

But it doesnt, it multiplies this additional attribute by the number you enter in width.

So if you understand what I am on about does anyone know how I can have the height attributes, then a text box I can enter a width which mulitplies the cost chosen for hight, and after that add on the cost for another attribute?

I suppose an easy way to describe it is an attribute which can be added to a product once no matter how many of those products you choose.

Thanks

4 Sep 2006, 6:56 PM
#2
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Ah, I think I figured it out. I removed the price for the added attribute to be charged once and added the price in as a One Time charge. Think this is working.

4 Sep 2006, 7:02 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Thanks for the update ...

The attributes give many methods to compute a price from:

per attribute
one time per product
price factor of the products_price
one time price factor of the products_price
attribute qty discount prices

Combinations of these can acheive some remarkably intuative as well as creative pricing methods to meet most any need ... :smile:

4 Sep 2006, 7:06 PM
#4
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Actually the problem now is the "Starting From" price disappears and there is no prodict price when using this One Time Only charge for one attribute! Does anyone know how to get this back in??

4 Sep 2006, 7:10 PM
#5
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Sorry we cross posted, ignore my last post, there was another attribute set to £0 which made the Starting From price be £0 so this confused me!

Yes I think getting to know the attribute functions a lot more will acheive great results Ajeh. I am a bit new to these advanced functions so couldn't figure it out!

4 Sep 2006, 7:12 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Not a problem ...

Your questions and even self answers help others ... the more the merrier!

5 Sep 2006, 2:30 PM
#7
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Actually I think I have made a mistake and that the solution I stated is NOT working. Either it was working and now it isn;t or I misinterpreted the results. But what I am seeing now is I have the one-time charge applied but this is still getting multipled by the quantity.

Perhaps I was not clear enough either... the quantity box is renamed to width. So the customer can choose what width they want and this multiplies the cost of the curtains they are purchasing. But theres one item they can choose if they want, which gets charged only once no matter what "quantity" they choose. So in basic terms its like shopping for a product, buying 10 of them but an option you chose for those 10 gets added once, not multipled by 10 also.

So is this one-time charge supposed to do that or have I misunderstoond? Becaise its not doing it now. :wacko:

6 Sep 2006, 11:51 AM
#8
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

HI

Does anyone have a suggestion? i.e. choose to buy x amount of products (which have options that are also added x times) but have an additional option that is only added once for the multiple products you are buying?

Thanks

6 Sep 2006, 1:20 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

If you have the Attribute Price set to 5.00 and the One Time set to 3.00 ... you will get:

QTY TOTAL
1 is (1 x 5) + 3 = 8.00
10 is (10 x 5) + 3 = 53.00
100 is (100 x 5) + 3 = 503.00

6 Sep 2006, 1:44 PM
#10
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

I'll tell you want it is, I found the confusion...

The Sub-Total of the product in my cart does not show the One Time price added, but when I go to checkout, on Payment Information page it shows the sub-total with the one time charge addedd. So this is the confusion, the shopping cart summary for the product is not showing the one time price added.

Do you have a suggestion for that?

Thanks

6 Sep 2006, 1:46 PM
#11
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

This is what it shows:

Total
£10.40
£3.00

Sub-Total: £10.40

So sub-total should be £13.40. It shows £13.40 when you go to Payment Information page.

6 Sep 2006, 1:57 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

What is the Product Price on this Product?

Do you have it marked as Price by Attribute?

Have you an URL to this Product?

6 Sep 2006, 2:10 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

Are you using a template?

I see template_default in the header vs you own customized template

7 Sep 2006, 9:46 AM
#15
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: How can I multiply cost by quanity THEN add on an attribute cost without multiplying

I have taken this site over from someone who unfortunately does not seem to know about Zencart templates and they have been changing the default_template files instead of creating a new one.