Jump to content

need SIMPLE php HELP - detect if voucher applied


Recommended Posts


in product.php i need to detect, if the product already is discounted by VOUCHER.


i have tried these function, but had not succeed:


1) Order::getCartRules();

2) isDiscounted();

3) discountExists($discountName, $id_discount = 0);

4) parent::cartRuleExists($discountName);

5) isset($order_invoice);



which one detects if there is voucher applied?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...