Commit dc63d5a9 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

AwoCouponV1.2: Fix function signature

parent 1cbfc28c
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
......@@ -29,7 +29,7 @@ class plgVmShipmentRulesAwoCoupon extends VmPlugin {
* available in all rules.
* Please notice that this function might also be called for only a subset of products of the cart.
function onVmShippingRulesGetCartValues(&$cartvals, $cart, $products, $method, $cart_prices) {
function onVmShippingRulesGetCartValues(&$cartvals, $cart, $products, $method) {
// First, make sure coupons are processes (VM core processes third-party coupons AFTER the shipping)
// This does NOT update the cart_prices array, but at least it makes sure Awocoupon has processed the coupon
......@@ -4,9 +4,9 @@
<author>Reinhold Kainhofer, Open Tools</author>
<copyright>Copyright (C) 2014, Reinhold Kainhofer</copyright>
<copyright>Copyright (C) 2014-2017, Reinhold Kainhofer</copyright>
<license>GPL v3+</license>
<filename plugin="awocoupon">awocoupon.php</filename>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment