Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Hello,
I am running znecart 1.3.9h and the super orders 3.0. The latest.
When I click the usps auto fill button everything works, but it also is checking the box to add insurance on the usps site, is there a way to have the box un-checked? I have read through the posts and I do not see it discussed. please help.
thanks.
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
gokeypa
Hello,
I am running znecart 1.3.9h and the super orders 3.0. The latest.
When I click the usps auto fill button everything works, but it also is checking the box to add insurance on the usps site, is there a way to have the box un-checked? I have read through the posts and I do not see it discussed. please help.
thanks.
You need to post questions for USPS Auto-fill on the support thread for that particular add-on..
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
DivaVocals
You have a LOT of add-ons installed and any one of them (the payment modules are likely culprits) could be the cause of your unique issue.. Why not try doing a clean 1.5 install and then install Super Orders. Test things, then install each add on one at a time to see which one is bumping heads with Super Orders..
I will get a Try and revert
Re: Super Orders v4.0 for Zen Cart v1.5 is ALMOST ready to release!!!
Quote:
Originally Posted by
vkd1980
I will get a Try and revert
@DivaVocals
At last I found the module which is causing the error in my Installation CCAvenue 2.02.
Sorry for disturbing and thank you for Guiding me
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
DivaVocals
Appreciate the help.. this has already been addressed in the update I am working on.. as I posted earlier this and other fixes will be in the next update.. and to be CLEAR this is ONLY in the files that were bundled specifically for FEC or COWOA.. This does NOT affect those not using these mods and the files for those mods included in the Super Orders fileset..
I have read through this thread (and used the above post as a reference) but I cannot seem to resolve this error...
//Begin FEC Edit //End FEC Edit
showing on order details page. I am using v3.2, I have FEC installed and working fine, I used the files from the FEC folder WITHIN the Super Orders download as per the installation guide.
Now I'm stumped as to why it is displaying on the page as its a known and 'resolved' issue in this version.
Issue No.2...I get this error log everytime i enter or click within my admin area of Super Orders
can anyone shed any light on this please?
PHP Warning: Invalid CRT parameters detected in MYADMIN\includes\functions\extra_functions\super_orders_functions.php on line 212
PHP Stack trace:
PHP 1. {main}() MYADMIN\super_orders.php:0
PHP 2. zen_datetime_long() MYADMIN\super_orders.php:623
PHP 3. strftime() MYADMIN\includes\functions\extra_functions\super_orders_functions.php:212
PHP Warning: Invalid CRT parameters detected in MYADMIN\includes\functions\extra_functions\super_orders_functions.php on line 212
Many thanks in advance.
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
picandnix
I have read through this thread (and used the above post as a reference) but I cannot seem to resolve this error...
//Begin FEC Edit //End FEC Edit
showing on order details page. I am using v3.2, I have FEC installed and working fine, I used the files from the FEC folder WITHIN the Super Orders download as per the installation guide.
Now I'm stumped as to why it is displaying on the page as its a known and 'resolved' issue in this version.
Issue No.2...I get this error log everytime i enter or click within my admin area of Super Orders
can anyone shed any light on this please?
PHP Warning: Invalid CRT parameters detected in MYADMIN\includes\functions\extra_functions\super_orders_functions.php on line 212
PHP Stack trace:
PHP 1. {main}() MYADMIN\super_orders.php:0
PHP 2. zen_datetime_long() MYADMIN\super_orders.php:623
PHP 3. strftime() MYADMIN\includes\functions\extra_functions\super_orders_functions.php:212
PHP Warning: Invalid CRT parameters detected in MYADMIN\includes\functions\extra_functions\super_orders_functions.php on line 212
Many thanks in advance.
OK, an update, issue No.1 is to do with my LOCAL version pf PHP so I will ignore this bug file output.
issue No.2 I've tied it down to the Super_orders.php file in the FEC folder lines 1131 and 1239 the comments are not being commented out for some reasons. Anyone spot anything obvious please?
PHP Code:
<table>
</tr><tr><td align="right"> </td></tr>
<tr>
<td align="right" valign="bottom"><table border="1" bgcolor="#ffff99" rules="none" frame="box" cellspacing="2" cellpadding="2"></td>
<td class="invoiceHeading" align="center"><strong><?php echo TABLE_HEADING_FINAL_STATUS; ?></strong></td>
</tr>
<tr>
<td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'action=mark_completed&oID=' . $oID) . '">' . zen_image_button('btn_completed.gif', ICON_MARK_COMPLETED) . '</a>'; ?></td>
</tr>
<tr>
<td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'action=mark_cancelled&oID=' . $oID) . '">' . zen_image_button('btn_cancelled.gif', ICON_MARK_CANCELLED) . '</a>'; ?></td>
</tr>
</table>
</table></td>
</tr>
</table></td>
</tr>
//this here 1131 Begin FEC Edit
<?php
if (MODULE_ORDER_TOTAL_DOUBLEBOX_STATUS == 'true') {
$orders_doublebox = $db->Execute("select orders_products_id
from " . TABLE_ORDERS_DOUBLEBOX . "
where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");
// bof gift wrap
if ($orders_doublebox->RecordCount() > 0) {
?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><table border="1" cellspacing="0" cellpadding="5">
<tr>
<td class="smallText" align="center"><strong><?php echo DOUBLEBOX_SUMMARY_HEADING; ?></strong></td>
</tr>
<?php
while (!$orders_doublebox->EOF) {
$pos = -1;
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
if ($order->products[$i]['orders_products_id'] ==
$orders_doublebox->fields['orders_products_id']) {
$pos = $i;
break;
}
}
$orders_doublebox->MoveNext();
if ($pos == -1) {
continue; // Should never happen
}
$i = $pos;
echo '<tr>';
echo '<td class="accountProductDisplay">' . $order->products[$i]['name'];
if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
echo '<br><nobr><small>';
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
echo ' - ' . $order->products[$i]['attributes'][$j]['option'] . ": " . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '<br>';
}
echo '</small></nobr>';
}
echo '</td>';
echo '</tr>';
}
?>
</table></td>
</tr>
<?php
} else {
echo '<tr><td>'. DOUBLEBOX_NO_TEXT . '</td></tr>';
}
}
?>
<?php
if (FEC_GIFT_WRAPPING_SWITCH == 'true') {
$orders_wrapping = $db->Execute("select orders_products_id
from " . TABLE_ORDERS_GIFTWRAP . "
where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");
if ($orders_wrapping->RecordCount() > 0) {
?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><table border="1" cellspacing="0" cellpadding="5" width="50%">
<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent"><strong><?php echo GIFT_WRAP_SUMMARY_HEADING; ?></strong></td>
</tr>
<?php
while (!$orders_wrapping->EOF) {
$pos = -1;
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
if ($order->products[$i]['orders_products_id'] ==
$orders_wrapping->fields['orders_products_id']) {
$pos = $i;
break;
}
}
$orders_wrapping->MoveNext();
if ($pos == -1) {
continue; // Should never happen
}
$i = $pos;
echo '<tr>';
echo '<td class="accountProductDisplay">' . $order->products[$i]['name'];
if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
echo '<br><nobr><small>';
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
echo ' - ' . $order->products[$i]['attributes'][$j]['option'] . ": " . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '<br>';
}
echo '</small></nobr>';
}
echo '</td>';
echo '</tr>';
}
?>
</table></td>
</tr>
<?php
} else {
echo '<tr><td>'. GIFT_WRAP_NO_TEXT . '</td></tr>';
}
}
?>
<!-- eof gift wrap -->
//and 1239 End FEC Edit
<?php
// show downloads
require(DIR_WS_MODULES . 'orders_download.php');
?>
Re: Super Orders v3.0 Support Thread
This is all the FEC code.. You might get better answers posting this on the FEC support thread.. Honestly I don't have any idea what the answer is The FEC files were added to help Super Order users, but support for FEC should be directed to the FEC support thread.. Also these merged files are from an older version of FEC to boot..
Quote:
Originally Posted by
picandnix
OK, an update, issue No.1 is to do with my LOCAL version pf PHP so I will ignore this bug file output.
issue No.2 I've tied it down to the Super_orders.php file in the FEC folder lines 1131 and 1239 the comments are not being commented out for some reasons. Anyone spot anything obvious please?
PHP Code:
<table>
</tr><tr><td align="right"> </td></tr>
<tr>
<td align="right" valign="bottom"><table border="1" bgcolor="#ffff99" rules="none" frame="box" cellspacing="2" cellpadding="2"></td>
<td class="invoiceHeading" align="center"><strong><?php echo TABLE_HEADING_FINAL_STATUS; ?></strong></td>
</tr>
<tr>
<td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'action=mark_completed&oID=' . $oID) . '">' . zen_image_button('btn_completed.gif', ICON_MARK_COMPLETED) . '</a>'; ?></td>
</tr>
<tr>
<td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_SUPER_ORDERS, 'action=mark_cancelled&oID=' . $oID) . '">' . zen_image_button('btn_cancelled.gif', ICON_MARK_CANCELLED) . '</a>'; ?></td>
</tr>
</table>
</table></td>
</tr>
</table></td>
</tr>
//this here 1131 Begin FEC Edit
<?php
if (MODULE_ORDER_TOTAL_DOUBLEBOX_STATUS == 'true') {
$orders_doublebox = $db->Execute("select orders_products_id
from " . TABLE_ORDERS_DOUBLEBOX . "
where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");
// bof gift wrap
if ($orders_doublebox->RecordCount() > 0) {
?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><table border="1" cellspacing="0" cellpadding="5">
<tr>
<td class="smallText" align="center"><strong><?php echo DOUBLEBOX_SUMMARY_HEADING; ?></strong></td>
</tr>
<?php
while (!$orders_doublebox->EOF) {
$pos = -1;
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
if ($order->products[$i]['orders_products_id'] ==
$orders_doublebox->fields['orders_products_id']) {
$pos = $i;
break;
}
}
$orders_doublebox->MoveNext();
if ($pos == -1) {
continue; // Should never happen
}
$i = $pos;
echo '<tr>';
echo '<td class="accountProductDisplay">' . $order->products[$i]['name'];
if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
echo '<br><nobr><small>';
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
echo ' - ' . $order->products[$i]['attributes'][$j]['option'] . ": " . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '<br>';
}
echo '</small></nobr>';
}
echo '</td>';
echo '</tr>';
}
?>
</table></td>
</tr>
<?php
} else {
echo '<tr><td>'. DOUBLEBOX_NO_TEXT . '</td></tr>';
}
}
?>
<?php
if (FEC_GIFT_WRAPPING_SWITCH == 'true') {
$orders_wrapping = $db->Execute("select orders_products_id
from " . TABLE_ORDERS_GIFTWRAP . "
where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");
if ($orders_wrapping->RecordCount() > 0) {
?>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<tr>
<td class="main"><table border="1" cellspacing="0" cellpadding="5" width="50%">
<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent"><strong><?php echo GIFT_WRAP_SUMMARY_HEADING; ?></strong></td>
</tr>
<?php
while (!$orders_wrapping->EOF) {
$pos = -1;
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
if ($order->products[$i]['orders_products_id'] ==
$orders_wrapping->fields['orders_products_id']) {
$pos = $i;
break;
}
}
$orders_wrapping->MoveNext();
if ($pos == -1) {
continue; // Should never happen
}
$i = $pos;
echo '<tr>';
echo '<td class="accountProductDisplay">' . $order->products[$i]['name'];
if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) {
echo '<br><nobr><small>';
for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) {
echo ' - ' . $order->products[$i]['attributes'][$j]['option'] . ": " . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '<br>';
}
echo '</small></nobr>';
}
echo '</td>';
echo '</tr>';
}
?>
</table></td>
</tr>
<?php
} else {
echo '<tr><td>'. GIFT_WRAP_NO_TEXT . '</td></tr>';
}
}
?>
<!-- eof gift wrap -->
//and 1239 End FEC Edit
<?php
// show downloads
require(DIR_WS_MODULES . 'orders_download.php');
?>
Re: Super Orders v3.0 Support Thread
Thank you for your time, I shall delve a little deeper. The latest release of FEC no longer contains super order files, their readme states to use the files that come with SO3 so does that mean that neither developer will be updating those particular files to keep up with their respective modules. Oh and before anyone jumps on me...I would if I had the knowledge, but I don't :dontgetit
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
picandnix
Thank you for your time, I shall delve a little deeper. The latest release of FEC no longer contains super order files, their readme states to use the files that come with SO3 so does that mean that neither developer will be updating those particular files to keep up with their respective modules. Oh and before anyone jumps on me...I would if I had the knowledge, but I don't :dontgetit
Honestly I do not know what the FEC developer plans to do as far as providing help with implementing his add-on with Super Orders... as I stated, we included the FEC and COWOA files as a courtesy to Super Order users, but there was never any real intent to support FEC or COWOA beyond providing these file... Super Orders v4 no longer includes the FEC or COWOA files at all.. The reason is very simple, I realized after submitting Super Orders v3 that by including these files it unnecessarily burdened me to keep up with FEC and COWOA changes.. That's more work than I am willing to do on an unpaid volunteer basis (sorry..)
Re: Super Orders v3.0 Support Thread
Quote:
Originally Posted by
DivaVocals
Honestly I do not know what the FEC developer plans to do as far as providing help with implementing his add-on with Super Orders... as I stated, we included the FEC and COWOA files as a courtesy to Super Order users, but there was never any real intent to support FEC or COWOA beyond providing these file... Super Orders v4 no longer includes the FEC or COWOA files at all.. The reason is very simple, I realized after submitting Super Orders v3 that by including these files it unnecessarily burdened me to keep up with FEC and COWOA changes.. That's more work than I am willing to do on an unpaid volunteer basis (sorry..)
Don't be sorry at all, its not your job to hold everyones hand.
Anyway good news, all sorted. The php tags were in the wrong place on the lines in question :cool: