Jump to content
thirty bees forum

CartRules - Voucher minimum amount based on selected productsonly


Recommended Posts

Posted (edited)

Hello,

I just finished a modification on the CartRules class and admin theme  + one more column in mysql table tb_cart_rule

This function was missing for some TB users >>

Before : Minimum amount to reach is based on total amount of the order => good for most situations.

Now : If you activate selected products the minimum amount to reach in your order will be calculated from your products in your cart that match the selected products of the voucher only if selected.

😛

posted on github here : https://github.com/thirtybees/thirtybees/pull/1147

 

as TB now use use ObjectModelSchemaBuilder to create database schema, there's no need to update anything in install directory, right ?

Edited by zen
Posted

Hello,  thank you for your idea and solution.  There are links in your posts that wont work  (seems to be directly to your phpMyAdmin).   Is there a chance to see this live?  Maybe in your shop?   I think this is very useful and should be something like a standard  💪 

Posted

the link to phpmyadmin was by mistake.. it's deleted, thank you for reporting it.

But yes If you want to add this to your shop, for now it's better to use phpmyadmin to add that new column,

It might get integrated on the next release and then no need for modifications with phpmyadmin of DB, simple upgrade will do.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...