Option to put new price instead of majored price for attributes.

Posts: 541
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

Hi there,

I'm testing the new ubber alpha 7c and I find that attributes need an option which make sense to the new display option of attributes price.

Now (thanks to Lyle) you have 3 options for the attribute price displaying...

  • Don't display the price
  • Display the majored price (as ubercart do since the begining)
  • Display the total price (it's new, it's usefull... Eye-wink )
    • However, the third option bring a non sense when you add a new product with attributes. The price you put in the attribute price field, when you add an attribute continue to be the majored price. Even if you specify that you want to show the full attribute price.

      This way require a calculation to the product adder for each attribute which can be quickly fastidious...

      In addition, if I try to think as a product seller, I don't think the important price, for him, is the majored price for an attribute. The price which is important is the price it sell it, so the total price.

      So I suggest you change the behavior of the product cost, and sell price field to put the full price instead of the majored price to avoir a complex calculation for store owner. The best would be a new option in the new attribute option added by Lyle which allow to choose that. But, I think if you have to put just one solution, it should be the one I suggest.

      You can put your opinion about this on this thread, it's not just a thread to say to change that. Smiling

      zmove

Posts: 2271
Joined: 08/07/2007
AdministratoreLiTe!

The problem with putting the total price is that you can't figure out what it would be for each option when there are more than one attribute that affects the price. Displaying the total price next to the options really only works in one special case. I think it's a bad idea to write a bunch of new code to detect that special case, which then changes the way the forms work. I just know someone would make a mistake and put the wrong format in and throw their prices way off.

A little bit of math seems like a better solution to me.

Posts: 27
Joined: 09/22/2007

This is perfect for what I want to do, so I'm delighted.

At the moment I don't have any products with more than one attribute affecting price.

However, I see the point that if two or more attributes affect price, things get really complicated. What would be really nice is to have Ajax code to update the prices in all the other drop-downs when you change any attribute.

It would also be nice if this option could be set per attribute rather than being global.

But for my current needs, this is great.