VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: amymattian on October 22, 2012, 11:02:45 AM

Title: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: amymattian on October 22, 2012, 11:02:45 AM
Hi,

after migration seems that that the override rules show always "Apply generic rules". This causes a problem when adding a discount since that discount seems to apply to ALL products. How can I fix from the database so that all products have the setting "Apply no rule"?

Greetings,
Amy
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: amymattian on November 20, 2012, 22:19:49 PM
The default setting should definitely be "Apply no rule". I find this "Apply generic rules" very troublesome as a default value. Expecially when  you cannot set a default yourself but it takes all the discounts and makes therefore weired sales-prices. Please change the default as "Apply no rule"!

- Anne
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: anna_w27 on January 30, 2013, 12:14:42 PM
Is there already a solution for this problem?
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: Milbo on February 01, 2013, 12:29:27 PM
There is no problem, except that the documentation is lacking some easy examples. I wrote a big explanation already in german and on our tutorial is a small one http://extensions.virtuemart.net/all-tutorials/10-calculation-rules/11-quantity-plugin .
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: syntalk on September 01, 2013, 18:44:59 PM
Hi,

What actually "generic rule" does? I have the same problem. I have created my own rules and all works fine then or when "no rule" is set. But when "generic rule" is chosen, price appears wrong AFTER logged in or customer details entered (when buying anonymously). VM 2.0.18c.
What could be wrong?
Thanks
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: Maxim Pishnyak on September 01, 2013, 20:18:21 PM
What do you have in your rules?
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: syntalk on September 02, 2013, 11:30:39 AM
Normally I have just discounts -10%, -20%, (-% Price modifier before tax)etc. or VAT (+%) And they work fine. I noticed that the problem occurs when "State/county" is chosen.
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: Maxim Pishnyak on September 02, 2013, 17:35:18 PM
Are your rules state dependent?
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: syntalk on September 02, 2013, 17:52:13 PM
I have all states set to every rule... Should I do something with zones? In the states there is a dropdown menu and it's empty. Also where can I specify ZIPs?
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: Maxim Pishnyak on September 14, 2013, 13:03:18 PM
Quote from: amymattian on October 22, 2012, 11:02:45 AM
after migration seems that that the override rules show always "Apply generic rules". This causes a problem when adding a discount since that discount seems to apply to ALL products. How can I fix from the database so that all products have the setting "Apply no rule"?
I'm not sure where do you have "Apply generic rules". In products?
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: azamkl on March 13, 2014, 03:21:34 AM
Quote from: amymattian on November 20, 2012, 22:19:49 PM
The default setting should definitely be "Apply no rule". I find this "Apply generic rules" very troublesome as a default value. Expecially when  you cannot set a default yourself but it takes all the discounts and makes therefore weired sales-prices. Please change the default as "Apply no rule"!

- Anne

I too found it a troublesome to key-in product each time and sometime one might overlook that portion and lead to mistakenly add a discount to a product. Not all of my products have discount. I only offer discount for certain products only thus make the "Apply No Rule" as a default should be into consideration. Was hoping someone can shed some lights here.
Title: Re: How to fix default setting "Apply generic rules" to "Apply no rule" in database?
Post by: Milbo on March 18, 2014, 00:16:34 AM
You just need to understand the rule system and work with the system which makes the whole discounting a lot easier.

http://docs.virtuemart.net/manual/17-products-menu/30-taxes-and-calculation-rules.html