Post by mrjave » Sun Sep 02, 2012 1:00 pm

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.

Active Member

Posts

Joined
Wed Jun 13, 2012 4:22 pm

Post by mrjave » Mon Sep 03, 2012 3:31 pm

hi,

anybody can assist to help me have this refine that it generates numerics and alphas of lower and UPPER case mixture?

kind regards,
Jave

Active Member

Posts

Joined
Wed Jun 13, 2012 4:22 pm
Who is online

Users browsing this forum: No registered users and 1 guest