Chill_user Posted January 9, 2020 Share Posted January 9, 2020 Hello to all, I tried to execute sql query to get all info about CartRule by ID of cart rule (need product_id cart rule using and description of the cart rule. $sql = new DbQuery(); $sql->select('*'); $sql->from('uhep_cart_rule'); $sql->where('id_cart_rule = .$voucher_int'); $tar = Db::getInstance()->executeS($sql); var_dump($tar); But the return is bool(false) What is the problem? Link to comment Share on other sites More sharing options...
EvaF Posted January 9, 2020 Share Posted January 9, 2020 $sql->where('id_cart_rule = '.$voucher_int); 1 Link to comment Share on other sites More sharing options...
Chill_user Posted January 10, 2020 Author Share Posted January 10, 2020 Thanks! 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