13thjoker Posted November 29, 2017 Share Posted November 29, 2017 Hey, nice to see your looking at my question. Now lets begin. Over the course of the past week ive been making some website. Now i've run into an issue. There is no such thing as updateQTY with 76 becaulse then it would add 76 instead of make it 76 so i tried 0 then it set to 0. Is there a way which i can make it or any code which puts the QTY to the exact ammount of my variable. Or maybe even updateQTY - 1 becaulse i have a up an down button but up works perfect but down doesnt please help me fix. Thanks, 13th joker Link to comment Share on other sites More sharing options...
13thjoker Posted November 30, 2017 Author Share Posted November 30, 2017 Just fixed it. By using $context->cart->updateQty(1, $productid, 0, $customization = false, $operator = 'down'); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now