Jump to content

Promotional Codes are now Gift Cards


Peter H

Recommended Posts

The coupon info is stored in the CubeCart_coupons table in your store database. Don't know why they aren't visible but I would guess if you want to stop a code being used you could delete the relevant code record from the coupons table. Always back up your database before editing it.

Link to comment
Share on other sites

Looking at the CubeCart_coupons database table, examine these columns: 'cart_order_id', 'code'.

If the 'cart_order_id' is anything other than null, as if having nothing at all, a zero, or an actual cart order number, then CubeCart may consider this coupon as a Gift Certificate.

The database table viewer should show null as either an italicized null, or highlighted in some way. If the cell is empty, then there is something other than null, such as a zero-length string.

It could be the case that CubeCart must see something other than null to consider this coupon as a gift cert, and if an actual null, then it is a coupon. But I will have to double-check the code.

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...