ttoomey Posted February 22, 2006 Share Posted February 22, 2006 I'm trying to custom modify the coupons module by adding a field requiring a minimum quantity of 10 items in order for a coupon to be valid. I have tried to grab information out of the $order->products[$i]['quantity'] array and I can't get any informaiton. I'm just trying to echo out basic information at this point on the checkout_confirmation page with no luck. How would I be able to grab the quantity info from each product and add them together? Does anyone know how to just access this information and I can go on from there? any help is appreciated. Quote Assault If you want to find it you'll have to google "Assault T-Shirts" because posting my damn url in my signature is against the forum rules. T-Shirts with an edge Powered by OSCommerce + about 20 different custom addons and some Wordpress Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2006 Share Posted March 22, 2006 becareful in case the code you added concatenates strings instead of adding numbers. You could echo the result at the end of the iterations to see what shows up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.