Jump to content

Coupon Expired


vidmarc

Recommended Posts

There is currently no code to determine if a customer has used a coupon. CubeCart has a table, CubeCart_order_notes, that records interesting facts about an order, such as:

Discount Codes Used: Test

but it is unstructured and would require some pattern matching to find the appropriate phrase (which may change based on language used/edited) from all the notes associated with all the orders associated with any given customer.

However, it's entirely do-able.

"Number of uses" is an aggregate count.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...