Hello,
I have a product valued at 3000
I override the final price to 2500
All works fine in the front end. Product is given a 500 discount and displays at 2500.
I also have custom fields for that product to allow an upgrade, but when I choose and upgrade (which costs and additional 500) the final cost remains 2500 and the discount jumps up to 1000 - basically the system is giving the upgrade away for free!!!
Surely it should add the upgrade price to the already discounted price?
Any ideas?
Thanks in advance.
Hi
Thats the meaning of price override.
It means that this is the final price of the product and overrides any other parameter.
Your discount is not applied as well. What you get is just the overriden price
Thanks a mil for the fast response!
I can understand it overrides the price on the main product - but when someone then adds an additional upgrade via a custom field surely it should not include that in the final override price? You are then effectively giving all upgrade away for free.
If that is the case how should I be achieving my desired result?
Apply a discount rule. See http://forum.virtuemart.net/index.php?topic=121993.msg417220#msg417220 and the rest of this thread.
Thanks jenkinhill,
I tried that, but it seems to apply the discount to every single product.
I see you suggest creating a discount category and assigning them to that category. What if I have 2 items with different discounts? Must I create 2 different discount rules and then create 2 different discount categories?
In the price area, you can select the which rules will be applied or if no rule will be used
Thanks eeryone, I will try it out...
It just seems so much more practical if the overide price applied only to the main product price and not the 'add ons' . I just can't see any reason why anyone would want someone to apply and addon to a product and still have it remain at the overide price...
But that is just my opinion.
OK, so after much fiddling and playing around I am sad to say the result is the same...
Attachment 1
I set up the Discount in the Calculations Rule. I assigned that to a category that made earlier called 'Discount (10%)'
Attachment 2
I create the product and assign it to the 'Discount (10%)' category.
Attachment 3
At this point the discount is applied to the product correctly
Attachment 4
The moment I select a product to add-on from the custom-fields it applies the discount to that as well... which is clear something you would not want to do...
It appears that there is no way to discount the base product but still allow a 'sell up' on the product add-ons...
Am I doing something wrong?
Regards
Bevan
[attachment cleanup by admin]
Yes, I have the exactly same problem!
Can somebody help ?
The calculation virtuemart is currently doing is...
(Price + Custom Fields Price) + Calculation Rule
It should be...
(Price + Calculation Rule) + Custom Fields Price
crashtackle
in your opinion, that is the way you would like it to work
However, it works the way it is coded
discounts tend to apply to the toal cost of products, not to specific elements
Imagine buying a t-shirt
The base price is for the small item
large is the base price + 10
Now I apply a discount - of 10%
Your approach would result in the large shirt not having a 10% discount - not really what a customer would expect.
Whichever way it was coded, the approach would not work for some users
Using you example...
Attachment 1
Product priced 1000 (with 10% discount) = 900
Shopper selects additional item (lets pretend its you 'Large Shirt' from your example) the additional price 'HE IS EXPECTING TO PAY' is clearly visible in the drop down.
So we have 900 + 9648.25 = 10548.25 (That is price he is expecting to pay. Correct?)
Attachment 2
Once selected the additional item is added...
The total price is now 9583.43??? (NOT what he was expecting to pay - a nice surprise for him yes, but not technically accurate is it?)
So basically it doesn't work your way either...
[attachment cleanup by admin]
crashtackle,
Use phpstorm or some other ide to look into the array variables and see what values are being processed
From what you show it looks odd but unfortunately I do not have time to test this for you. (I am not part of the project)
Hey crashtackle,
I just came across the same situation you were having. I also don't want to apply calculation rules to custom field prices. Did you ever figure out a way to do this?
Nope. I am afraid the folks at virtuemart don't seem to see the problem with the way they have set it up. To me it makes no sense whatsoever.
I am really glad there is someone else out there that has the same issue.
QuoteI also don't want to apply calculation rules to custom field prices
I think that it needs a small customization to do that.
If you want to avoid hacking the core you can use a plugin for your custom fields and do it work like that.
How to hack the core or it there such plugin?
Is there a workaround this problem?
I understand that "override final price" should override the finale sales price, can't argue there but Is really a problem with custom fields if you have added prices or minus on those.
Why are you choosing to "override final price" for these products?
As LP has noted - That is what the feature is intended to do - i.e. Set the final price of the product regardless of other considerations
My simple suggestion would be not to use "override final price" for your products that have customfields
And Max has mentioned a few times that this is sort of a dirty leftover from very early versions and shouldn't really be used unless you really really want this to be the price.. full stop
the taxes & calc rules can achieve just about any discount or price manipulation u can think of
Have you guys tried doing discounts for 1 or 2 products with taxes and calculation rules?
You have to create a discount, filter it per category to reduce your work.
Then in each single product in that category you will have to change the "apply generic rules" to "do not apply rules" which in our case is a lot of work and in cases of 600 -1000 products or more is a nightmare.
Please tell me there is an easier way or im just doing it wrong cause that way is not user friendly to create discounts.
A simple final override in the product price doest the job in 1 minute.
And I have not tested it but a user here also mentions that even with a discount rule he encounters the same situation where custom fields are override by the discount.
Regards
LP
QuoteA simple final override in the product price doest the job in 1 minute.
It can work as long as you consider that this is a fixed FINAL price
However - just to ensure that we are in no doubt
Override Price - Overrides the price that will be charged for the item you are buying - That is what it is intended to do (as you noted in your earlier post)
QuoteHave you guys tried doing discounts for 1 or 2 products with taxes and calculation rules?
Yes - it works very well and takes a fractional amount of time to assign a product to an additional control category (in this case - one that gives a discount)
This also allows you to view the products in this discount category in one easy view - Not sure that is very easy to do with those "overrides"
QuotePlease tell me there is an easier way or im just doing it wrong cause that way is not user friendly to create discounts.
This might help you:-
http://docs.virtuemart.net/manual/general-concepts/207-categories.html (http://docs.virtuemart.net/manual/general-concepts/207-categories.html)
Quoteeven with a discount rule he encounters the same situation where custom fields are override by the discount
That depends on how you have your products configured
If you are using customfields that are a + or - from a the base price you can use discounts that apply to the base price
Your post was really helpfull for me AH,
I think I got you, basicly you create an unpublished category, what you call control or dummy categories for discounts and when you create the discount you apply it to that category. Then you assign the product also to that category, makes sense so it inherits the rule.
About the custom fields yes we use + and - for price in some so it makes sense that the discount is on the base price, ill have to test all this thanks.
Regards
LP
Yep I think you understand the use of dummy control categories
Give them a go
:)