I was wanting to create a custom block where an end user can search with a Search Input for an UberCart Store Discount Coupon via the Search API and after some 4 hours research, I'm stumped as to where it can go. I have Tokens, and Token Browser modules installed and the UC Coupons work normally via the Cart, but cannot get any further as to how the Search API shows the uc_coupon_code in order to retrieve the item. After the code is retrieved the user can make a note of it and add it later to a Product purchase via the cart.

Similarly, I want to create a similar search for Affiliate User Codes but again the Search API field options doesn't show any token aspects.

Probably my approach is all wrong, really, I don't know now. Can you please give me some direction on how to enable users to search for coupon codes?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.