VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: vaskern on November 08, 2014, 12:05:47 PM

Title: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 08, 2014, 12:05:47 PM
Managed to set up a custom field cart variant working nicely (displaying the price with tax with the "Display variant prices with tax" checked). But when I try to use the same cart variant on a product that has an overridden price, the cart variant effects the base price only - thus having no effect.
Is there a setting for that aswell?
Thanks

VM 2.6.12
J 2.5.27
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 14, 2014, 12:29:17 PM
Anyone gotten this to work in VM 2.9.9.4?
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: balai on November 14, 2014, 12:45:08 PM
Overriden price means  a final price that is not affected by any variant (not calc. rules, not custom fields)
There is no reason to use the price override if you want your price to be affected by the custom fields
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 14, 2014, 12:52:20 PM
Ok, thanks. I use the over-ride price to show a discount. Any other way to show a discount and use a cf cart variant?
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: balai on November 14, 2014, 13:27:56 PM
Creating a calculation rule of type discount
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 14, 2014, 14:54:56 PM
Got it, thanks!
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 17, 2014, 13:37:03 PM
Strange thing: If I choose "apply no rule" in the product, final price - the cart variant adds the correct amount including tax when selected. But if I choose the discount rule, the cart variant adds the amount without tax?
That is, the dropdown shows the price with vat included but the amount added seems to be the amount without vat? (if the discount rule is chosen, not if apply generic rules or no rules is chosen)

2.6.12.2
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 19, 2014, 17:23:01 PM
Does the description below make sense? Is it a bug?
Quote from: vaskern on November 17, 2014, 13:37:03 PM
Strange thing: If I choose "apply no rule" in the product, final price - the cart variant adds the correct amount including tax when selected. But if I choose the discount rule, the cart variant adds the amount without tax?
That is, the dropdown shows the price with vat included but the amount added seems to be the amount without vat? (if the discount rule is chosen, not if apply generic rules or no rules is chosen)
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: balai on November 19, 2014, 18:30:58 PM
Use the "price modifier before tax" for your discount rule. This way you can select it only for the base price and keep the "apply generic rules" or the tax for the final price
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: vaskern on November 20, 2014, 14:37:26 PM
Thanks, but the only selectable in the base price seem to be taxes. My price modifier does not show up (and it says "Tax Affecting: " beside the base price)?
Title: Re: Custom field cart variant modifies base price but not the overridden price?
Post by: balai on November 20, 2014, 16:22:23 PM
There are 2 drop-down lists. Check them both.
By setting 1 rule before the final price and the other after you should be able to see them both