Voucher Reseller Plugin

Mo6538

New Member
YetiShare User
YetiShare Supporter
Feb 17, 2018
23
3
3
20
#1
I only can generate 100 Voucher Codes, even if i type in 5,10,50,..., 120. What causes this error ?
 

adam

Administrator
Staff member
Dec 5, 2009
1,657
20
38
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#2
Hi,

Thanks for reporting this. The issue was around the form and when jquery creates a duplicate of it for the popup. I've fixed it in our latest release code but you can also patch it by doing the following:

In:

"\plugins\vouchers\admin\manage_vouchers.php"

Find:

function confirmAdd()

Replace with:

function confirmAdd(ele)

Find:

$('#generateVouchersDataForm').submit();

Replace with:

$(ele).parent().parent().find('form').submit();

Find:

onClick="confirmAdd();

Replace with:

onClick="confirmAdd(this);
 
Likes: Mo6538