Wednesday, December 16, 2015

How to Make coupon codes be case Insensitive (ATG Oracle Commerce)


As you might know ATG OOTB supports the creation of coupons and batch coupons, and you can redeem them or check are valids with /atg/commerce/claimable/ClaimableManager
By default Coupon Codes are Case Sensitive, menaing FREESHIP is different that freeShip.

But this can be changed with a Flag @ /atg/commerce/claimable/ClaimableTools

# This will make sure that coupons can be entered with different cases
caseInsensitiveClaimableIds=true



This will make the code check for couponCode without considering the case and is just a change on a flag.

You can find this on the documentation at http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGCommProgGuide/html/s0704theclaimabletoolscomponent01.html

Post a Comment