attribute pricing BUG ??

Locked

Started by virtualahmad on 27 Sep 2006, 5:51 PM · Views: 1,555

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
27 Sep 2006, 5:51 PM
#1
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

attribute pricing BUG ??

if i have an option name set to "checkbox"...

senario:
product base price: $100
attrib a: +100
attrib b: +150

If I add only "a" and "b" (not the actual base product), I should be charged the base price twice + 100, +150.

what seems to happen is that the base price is only added ONCE... therefore leaving a lot of discrepancy in pricing.

Can anyone confirm this or suggest an alternate ? I want to allow customers to select multiple options in one go.

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.

28 Sep 2006, 5:11 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: attribute pricing BUG ??

I'm not sure I'd say it's a bug. It's the design.

The base is for the product.

The options are for variations of the product. Singular. One Product.

Think of a T-Shirt. Charge $10 for shirt, and +$3 for print on front, and +$2 for print on back. Still only pays $10 once for the shirt, regardless whether printed on front and/or back.

It sounds like you're trying to use your attributes to order multiples of the same product.
You may have to skip having a base price, and simply set the real prices for each of your checkboxes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Sep 2006, 9:59 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: attribute pricing BUG ??

Perhaps the issue is with using checkboxes - it almost sounds as though these options are mutually exclusive (sizes for a shirt, for instance) and would be better suited for a dropdown box. Is this true?

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 Sep 2006, 1:01 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: attribute pricing BUG ??

If you have a Products Price of $100 and an attribute of $100 and $150 ... the most you will get is the total of $350

If you are trying to make the customer choose the Product $100 and Attribute A for $100 or Attribute B for $150 then you get $200 or $250

As checkboxes, you are saying pick a combo up to $350 ... never in these cases is it $100 plus $100 and $100 plus $150 for $450

To accomplish this, you would want a situation where the customer can choose either A or B plus the Product Price ...

Have you an URL to this Product so we can better see what you are doing on this?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

28 Sep 2006, 3:03 PM
#5
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

Re: attribute pricing BUG ??

so to answer everyone's question including mine own. :smartass:

For shirts, yes, they should be drop down or radio... but what if i want a small AND a medium ? I would have to go and add 2 products to my cart separately which involves many more clicks and likely will cause the sale to be abondoned. So IDEALLY, i would have checkboxes and a QTY field next to each... but we dont have that today... so the next best thing is that you can have checkboxes and a single QTY box which will apply to all the choices.

The way the attribute pricing is setup, you are all correct... it behaves in the manner described and for the reasons described... it just doesn't make sense to have a "checkbox" option for the OPTION's... it basically then introduces this "bug".

SOOOOOOOOOOooooooooooooooooo.....

After installing yet another ZC for yet another client... i run into a radio button:

Product Priced by Attributes:   
Yes   No 
*Display price will include lowest group attributes prices plus price 

This can be found in the product EDIT screen... NOT when you are in the attrib controller (maybe for useability it should be here as well ? ).

Select YES, and YESSSSS... its all good.

setting the product price to 0, and then just going with the attributes didn't work well... i can't remember what the resulting calculation was... :shocking:

and finally..., you can see this at www.ave nv iew.com (remove the spaces from URL... put in to prevent search engines from picking up the post with the domain... thus showing how i had problems :blush: )

#####################
EDIT: i just remembered
Even with this method the price has to be 0, but if you do not select YES for the option mentioned above, the displayed price is blank and looks bad for obvious reasons.

and btw... THANK YOU to everyone ... i believe this is what the Dr. was prescribing.

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.