Add Discount Adjuster in Expresso Store -- 2

Closed Posted Jan 20, 2015 Paid on delivery
Closed Paid on delivery

[url removed, login to view]

In order to calculate a discount based on quantity of items in the cart that will take in consideration also the different weight of modifiers (suppose I sell the same product in different containers weighing from 1 to 210kg), I came up with an extension which grabs the $item->$item_qty at every order update, multiplies that value with the $item->sku, adds to the total of Kg being orderd and, based on a table of different discounts hardcoded with conditionals in the extension's php file, calculates the discount to be applied.

I can't seem to pass the $order->$order_discount to the actual order. When I submit the form, the order total doesn't take into account the calculated discount.

Please refer to this Stack Exchange question: http://expressionengine.stackexchange.com/questions/27025/expresso-store-2-0-discount-based-on-item-quantity-and-sku-modifier

Codeigniter eCommerce Expression Engine MySQL PHP

Project ID: #7003258

About the project

6 proposals Remote project Active Feb 26, 2015

6 freelancers are bidding on average $136 for this job

techwelfare

hi we could do it perfectly with accuracy, please let us know if you want to clarify in details.. if you want us to share our skill and previous work please initiate the chat by replying..

$105 USD in 3 days
(94 Reviews)
6.6
patidarpawan5566

Hello I am Pawan Patidar and have 25+ employee with 7 year work experienced in local and global market,my portfolio will express my work quality that is very important for every deal between you and me and my mi More

$111 USD in 3 days
(4 Reviews)
1.6
jyoti9090

Hi, I have a one year experience in EE, and I have worked on the expresso store too, if there is something wrong in the addon or you can't achieve the requirement, I can do it by updating the database when submittin More

$111 USD in 3 days
(0 Reviews)
0.0