Before anyone judges me, I asked politely for help via PMs and here on the forums. These people didn't lift a finger to help. They seem very arrogant and too busy to help anyone here.
Incredible!
Before anyone judges me, I asked politely for help via PMs and here on the forums. These people didn't lift a finger to help. They seem very arrogant and too busy to help anyone here.
Incredible!
Attached are my working files with tracking incorporated for the store front.
400+ people have downloaded that damn module without returning problems.
Last edited by gob33; 31 Jul 2010 at 12:56 AM.
Thank you!!!
Pb fixed. Be warned, users, to be carefull when patching the source.I really appreciate you getting back to me and trying to help.
I was missing a syntax on header.php. I fixed it.
Thank you, Scott
When changing to this:
6) Edit "admin/orders.php"
6.1) Line 589, add 1 piece :
from this:PHP Code:<tr>
<td class="main"><strong><?php echo ENTRY_NOTIFY_CUSTOMER; ?></strong> <?php echo zen_draw_checkbox_field('notify', '', true); ?></td>
<!-- GOB_PACKAGE_TRACKERS_MODIFICATION_BEGIN -->
<td class="main"><strong><?php echo ENTRY_NOTIFY_TRACKING; ?></strong> <?php echo zen_draw_checkbox_field('notify_tracking', '', true); ?></td>
<!-- GOB_PACKAGE_TRACKERS_MODIFICATION_END -->
<td class="main"><strong><?php echo ENTRY_NOTIFY_COMMENTS; ?></strong> <?php echo zen_draw_checkbox_field('notify_comments', '', true); ?></td>
</tr>
PHP Code:<tr>
<td class="main"><strong><?php echo ENTRY_NOTIFY_CUSTOMER; ?></strong> [<?php echo zen_draw_radio_field('notify', '1', true) . '-' . TEXT_EMAIL . ' ' . zen_draw_radio_field('notify', '0', FALSE) . '-' . TEXT_NOEMAIL . ' ' . zen_draw_radio_field('notify', '-1', FALSE) . '-' . TEXT_HIDE; ?>] </td>
<!-- GOB_PACKAGE_TRACKERS_MODIFICATION_BEGIN -->
<td class="main"><strong><?php echo ENTRY_NOTIFY_TRACKING; ?></strong> <?php echo zen_draw_checkbox_field('notify_tracking', '', true); ?></td>
<!-- GOB_PACKAGE_TRACKERS_MODIFICATION_END -->
<td class="main"><strong><?php echo ENTRY_NOTIFY_COMMENTS; ?></strong> <?php echo zen_draw_checkbox_field('notify_comments', '', true); ?></td>
Your emails are not sent!
If I use the second code above it works fine. What is the problem here?
In addition why are no tracking numbers sent if there are no comments on the order?
1) No problem there.
The modifs to do are between the labels <!--GOB_PACKAGE_TRACKERS_MODIFICATION_XXXX --> only.
You have copied a line from ZC 1.3.8 (when that module was published).
That line has been changed in 1.3.9 in:
Simply insert the modif between labels without changing the code.Code:<td class="main"><strong><?php echo ENTRY_NOTIFY_CUSTOMER; ?></strong> [<?php echo zen_draw_radio_field('notify', '1', true) . '-' . TEXT_EMAIL . ' ' . zen_draw_radio_field('notify', '0', FALSE) . '-' . TEXT_NOEMAIL . ' ' . zen_draw_radio_field('notify', '-1', FALSE) . '-' . TEXT_HIDE; ?>] </td>
2) This is the standart behaviour of orders emails in ZC.
A comment or an order status change is needed for the email to be send.
Line 122 of admin\orders.php says:
If you need to send an email, put some char like '-' in the comments.Code:if ( ($check_status->fields['orders_status'] != $status) || zen_not_null($comments)) { $db->Execute("update " . TABLE_ORDERS . " .....