Error when entering coupon in checkout

Created on 8 March 2013, almost 12 years ago
Updated 25 January 2024, 11 months ago

I have followed your readme on how to create the new rules and assigned it to the taxonomy term in my coupon.
When entering the coupon code in checkout I get this error:

Call to a member function value() on a non-object in sites\all\modules\commerce_coupon_by_terms\commerce_couponterms.rules.inc on line 152

I checked out the $term object and its a bit over my head! Any ideas how to fix?

Thanks.

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇬🇧United Kingdom karengrey

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024