Hi guys,
i have humbly created a simple VQMOD to auto-fill Coupon when creating new one for my own use as i would need it.
Thinking of sharing it with the community.
it merely input unique mixture of alphas-and-numeric string of 8 Characters when creating new Coupon so you can save the hassle of manually entering.
if you want to edit the number of chars, find and edit the following underlined quantity.
substr(md5(rand(0, 10000000)), 0, 8)
10000000 - if you wish for only 5 chars, this should be 100000, and if you wish for 4 chars, this should be 10000, etc).
thank you
Attachments
VQMOD - Auto fill unique coupon
Last edited by mrjave on Fri Sep 28, 2012 3:19 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest