For anyone that needs this mod updated to work for version 1.3.7 - I have modified all the necessary files and tested on two different websites.
Here is a link to the revised files: How Did You Hear About Us V1.3.7
Enjoy!![]()
Judy
For anyone that needs this mod updated to work for version 1.3.7 - I have modified all the necessary files and tested on two different websites.
Here is a link to the revised files: How Did You Hear About Us V1.3.7
Enjoy!![]()
Judy
Hmmm - wonder where I got my files from then?There are quite some differences there that didn't show up for me.
Thanks for your work there - have you sent it to the downloads section as an update?
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Did you have some mods already in affecting your admin/orders.php? Around your line 184?
I got an errorand when I looked it it, there is a chunk of code which appears to be something to do with editing orders rather than referrals, and which isn't in the original ZC1.3.7 file.Code:Parse error: syntax error, unexpected T_CASE in /home/.../orders.php on line 195
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
I just downloaded the 1.3.6 mod files and used winmerge to compare them... and copied anything that was different over to the parallel ZenCart v 1.3.7 files. I HOPE that was the right thing to do!![]()
I will go send it to the downloads section just in case anyone else wants/needs it.![]()
Disregard MOST of the above please...I think there's something odd happened at my end.
That was the only error, but I was replacing the files one at a time - I have differences between mine, yours and the original which don't add up!
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Ryk,
In comparing the code I see that from line 181 to 194 in the MOD files there was a difference between the mod and zc 1.3.7.... (see below) which I copied over into the zencart file... is this what you are referring to?
*******************************
}
}
if (($action == 'edit') && isset($_GET['oID'])) {
$oID = zen_db_prepare_input($_GET['oID']);
$orders = $db->Execute("select orders_id from " . TABLE_ORDERS . "
where orders_id = '" . (int)$oID . "'");
$order_exists = true;
if ($orders->RecordCount() <= 0) {
$order_exists = false;
$messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST, $oID), 'error');
****************************
Judy
Yes - that's the section. I don't think it's to do with the referrals mod - but I may be wrong.
Unfortunately, I haven't got time to play with it right now, and as it's working on the site, I'll have to leave it be for a while.
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
Bookmarks