Page 33 of 40 FirstFirst ... 233132333435 ... LastLast
Results 321 to 330 of 393
  1. #321
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: Gift Wrapping Contribution

    i have this working with both addons, i've had no issues whatsoever, not much help towards your problem but at least a confirmation they work together (zen cart 1.3.9h)

  2. #322
    Join Date
    Jul 2010
    Location
    Findon, UK
    Posts
    90
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Hi Bonnit,

    Many thanks for your reply. Have you had to edit certain php files manually to make the two add ons running. For instance order.php and header_php.php ?

    Kim

  3. #323
    Join Date
    Jan 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Hello again.
    Still haven't found the solution to the gift wrapping issue.
    ZC 139h with FEC 194.

    Checking gift wrap check box does not add gift wrap line or update total.

    Just like http://www.zen-cart.com/forum/showth...=76557&page=61 post 603. Thread continues to indicate that the problem had been solved. but not shown and here we are.

    Searched for Gift Wrapping Contribution v2.6b_139 there is no other reference to it besides these two pages.

  4. #324
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: Gift Wrapping Contribution

    Quote Originally Posted by PUREchocolatetruffle View Post
    Hi Bonnit,

    Many thanks for your reply. Have you had to edit certain php files manually to make the two add ons running. For instance order.php and header_php.php ?

    Kim
    so sorry! didnt see this, i cant remember exactly as it was last year i installed i think, but i use winmerge with every add on so if you start there and merge the files together, as i recall both addons are well documented in letting you know where their "bit of code" is?

    let me know the exact path to the files your having trouble with and ill jump in and have a peek to see how ive merged it if you like? maybe give you a copy or at least advise you onwards :)

  5. #325
    Join Date
    Jan 2011
    Posts
    33
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Got an answer back from Numinix today.
    Pay for a hour of programming and we'll figure out what gift wrapping module works with our FEC module.

    Would you pay $40.00 for that answer?

    Me neither.

    Seems like they might have figured that out before they told people their module works with a (or any) gift wrap module.

    So since at this point gift wrap is more improtant than FEC,
    FEC goes into the recycle bin.

    Too bad.

    Well, that's one guys experience.
    For what it's worth.

  6. #326
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,712
    Plugin Contributions
    123

    Default Re: Gift Wrapping Contribution

    Gift Wrap updated to 1.5.0 rc2.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #327
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Gift Wrapping Contribution

    Hi folks
    I have just installed Gift Wrapping into my test site (hence no url). It works perfectly, thank you SWGuy.
    However as you will see from the attached image I have an alignment issue with the radio button to the text. If anyone knows how I can alter this (css?) I would be most thankful.
    I am using ZC 1.3.9h and gift_wrapping_2-8a_139.

    Many thanks
    Attached Images Attached Images  

  8. #328
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Quote Originally Posted by Lisk View Post
    Hi - The contribution is working great except for one small problem. On my invoices when a customer has paid for gift wrap, it still says "No gift wrapping selected" at the bottom of the invoice. Did I miss a step in the installation somewhere?
    Quote Originally Posted by swguy View Post
    I would guess one of your merges failed. I would look at includes/classes/order.php.
    Hello,
    I have installed your module and all seems to work fine but for one thing, I am also getting the 'no gift wrapping selected' message at the foot of my invoices, even though a customer has selected gift wrap and was charged for it. I have used winmerge to compare the includes/classes/order.php files and all the new code is there. What else could be causing this problem?
    Here is the file as it currently stands...


    Code:
    <?php
    /**
     * @package admin
     * @copyright Copyright 2003-2010 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: invoice.php 15788 2010-04-02 10:44:40Z drbyte $
    */
    
      require('includes/application_top.php');
    
      require(DIR_WS_CLASSES . 'currencies.php');
      $currencies = new currencies();
    
      $oID = zen_db_prepare_input($_GET['oID']);
    
      include(DIR_WS_CLASSES . 'order.php');
      $order = new order($oID);
    
      // prepare order-status pulldown list
      $orders_statuses = array();
      $orders_status_array = array();
      $orders_status = $db->Execute("select orders_status_id, orders_status_name
                                     from " . TABLE_ORDERS_STATUS . "
                                     where language_id = '" . (int)$_SESSION['languages_id'] . "'");
      while (!$orders_status->EOF) {
        $orders_statuses[] = array('id' => $orders_status->fields['orders_status_id'],
                                   'text' => $orders_status->fields['orders_status_name'] . ' [' . $orders_status->fields['orders_status_id'] . ']');
        $orders_status_array[$orders_status->fields['orders_status_id']] = $orders_status->fields['orders_status_name'];
        $orders_status->MoveNext();
      }
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <script language="javascript" src="includes/menu.js"></script>
    <script language="javascript" type="text/javascript"><!--
    function couponpopupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    
    <!-- body_text //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
            <td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td colspan="2"><?php echo zen_draw_separator(); ?></td>
          </tr>
    
    <?php
          $order_check = $db->Execute("select cc_cvv, customers_name, customers_company, customers_street_address,
                                        customers_suburb, customers_city, customers_postcode,
                                        customers_state, customers_country, customers_telephone,
                                        customers_email_address, customers_address_format_id, delivery_name,
                                        delivery_company, delivery_street_address, delivery_suburb,
                                        delivery_city, delivery_postcode, delivery_state, delivery_country,
                                        delivery_address_format_id, billing_name, billing_company,
                                        billing_street_address, billing_suburb, billing_city, billing_postcode,
                                        billing_state, billing_country, billing_address_format_id,
                                        payment_method, cc_type, cc_owner, cc_number, cc_expires, currency,
                                        currency_value, date_purchased, orders_status, last_modified
                                 from " . TABLE_ORDERS . "
                                 where orders_id = '" . (int)$oID . "'");
      $show_customer = 'false';
      if ($order_check->fields['billing_name'] != $order_check->fields['delivery_name']) {
        $show_customer = 'true';
      }
      if ($order_check->fields['billing_street_address'] != $order_check->fields['delivery_street_address']) {
        $show_customer = 'true';
      }
      if ($show_customer == 'true') {
    ?>
          <tr>
            <td class="main"><b><?php echo ENTRY_CUSTOMER; ?></b></td>
          </tr>
          <tr>
            <td class="main"><?php echo zen_address_format($order->customer['format_id'], $order->customer, 1, '', '<br>'); ?></td>
          </tr>
    <?php } ?>
          <tr>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><b><?php echo ENTRY_SOLD_TO; ?></b></td>
              </tr>
              <tr>
                <td class="main"><?php echo zen_address_format($order->billing['format_id'], $order->billing, 1, '', '<br>'); ?></td>
              </tr>
              <tr>
                <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
              </tr>
              <tr>
                <td class="main"><?php echo $order->customer['telephone']; ?></td>
              </tr>
              <tr>
                <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '">' . $order->customer['email_address'] . '</a>'; ?></td>
              </tr>
            </table></td>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td class="main"><b><?php echo ENTRY_SHIP_TO; ?></b></td>
              </tr>
              <tr>
                <td class="main"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td class="main"><b><?php echo ENTRY_ORDER_ID . $oID; ?></b></td>
      </tr>
      <tr>
        <td><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main"><strong><?php echo ENTRY_DATE_PURCHASED; ?></strong></td>
            <td class="main"><?php echo zen_date_long($order->info['date_purchased']); ?></td>
          </tr>
          <tr>
            <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
            <td class="main"><?php echo $order->info['payment_method']; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr class="dataTableHeadingRow">
            <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td>
            <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td>
            <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td>
          </tr>
    <?php
        for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {
          echo '      <tr class="dataTableRow">' . "\n" .
               '        <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . '&nbsp;x</td>' . "\n" .
               '        <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
    
          if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) {
            for ($j = 0; $j < $k; $j++) {
              echo '<br><nobr><small>&nbsp;<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
              if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
              if ($order->products[$i]['attributes'][$j]['product_attribute_is_free'] == '1' and $order->products[$i]['product_is_free'] == '1') echo TEXT_INFO_ATTRIBUTE_FREE;
              echo '</i></small></nobr>';
            }
          }
    
          echo '        </td>' . "\n" .
               '        <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n";
          echo '        <td class="dataTableContent" align="right" valign="top">' . zen_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' .
                          $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) .
                          ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format($order->products[$i]['onetime_charges'], true, $order->info['currency'], $order->info['currency_value']) : '') .
                        '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' .
                          $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) .
                          ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format(zen_add_tax($order->products[$i]['onetime_charges'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) : '') .
                        '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' .
                          $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) .
                          ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format($order->products[$i]['onetime_charges'], true, $order->info['currency'], $order->info['currency_value']) : '') .
                        '</b></td>' . "\n" .
               '        <td class="dataTableContent" align="right" valign="top"><b>' .
                          $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) .
                          ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format(zen_add_tax($order->products[$i]['onetime_charges'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) : '') .
                        '</b></td>' . "\n";
          echo '      </tr>' . "\n";
        }
    ?>
          <tr>
            <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2">
    <?php
      for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
        echo '          <tr>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
             '          </tr>' . "\n";
      }
    ?>
            </table></td>
          </tr>
        </table></td>
      </tr>
    
    <?php if (ORDER_COMMENTS_INVOICE > 0) { ?>
          <tr>
            <td class="main"><table border="0" cellspacing="0" cellpadding="5">
              <tr>
                <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_DATE_ADDED; ?></strong></td>
                <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_STATUS; ?></strong></td>
                <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_COMMENTS; ?></strong></td>
              </tr>
    <?php
        $orders_history = $db->Execute("select orders_status_id, date_added, customer_notified, comments
                                        from " . TABLE_ORDERS_STATUS_HISTORY . "
                                        where orders_id = '" . zen_db_input($oID) . "' and customer_notified >= 0
                                        order by date_added");
    
        if ($orders_history->RecordCount() > 0) {
          $count_comments=0;
          while (!$orders_history->EOF) {
            $count_comments++;
            echo '          <tr>' . "\n" .
                 '            <td class="smallText" align="center" valign="top">' . zen_datetime_short($orders_history->fields['date_added']) . '</td>' . "\n";
            echo '            <td class="smallText" valign="top">' . $orders_status_array[$orders_history->fields['orders_status_id']] . '</td>' . "\n";
            echo '            <td class="smallText" valign="top">' . ($orders_history->fields['comments'] == '' ? TEXT_NONE : nl2br(zen_db_output($orders_history->fields['comments']))) . '&nbsp;</td>' . "\n" .
                 '          </tr>' . "\n";
            $orders_history->MoveNext();
            if (ORDER_COMMENTS_INVOICE == 1 && $count_comments >= 1) {
              break;
            }
          }
        } else {
            echo '          <tr>' . "\n" .
                 '            <td class="smallText" colspan="5">' . TEXT_NO_ORDER_HISTORY . '</td>' . "\n" .
                 '          </tr>' . "\n";
        }
    ?>
            </table></td>
          </tr>
    <?php } // order comments ?>
    
    </table>
    
    <!-- bof gift wrap -->
    <table width="100%">
    <?php
      if (sizeof($order->wrapped) > 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="100%">
              <tr>
                <td class="smallText" align="center"><strong><?php echo GIFT_WRAP_SUMMARY_HEADING; ?></strong></td>
              </tr>
    <?php
           for ($w = 0; $w < sizeof($order->wrapped); $w++) { 
              $pos = -1;
              for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
                  if ($order->products[$i]['orders_products_id'] == 
                      $order->wrapped[$w]['orders_products_id']) {
                      $pos = $i; 
                      break;
                  }
              }
              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 '&nbsp;&nbsp;- ' . $order->products[$i]['attributes'][$j]['option'] . ": " . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '<br>';
                        }
                   echo '</small></nobr>';
              }
    
              if ($order->wrapped[$w]['wrap_config'] == 'D') { 
                 echo "<br />" . GIFT_WRAP_PAPER_SELECTED . " " . $order->wrapped[$w]['wrap_name'];
         
              } else if ($order->wrapped[$w]['wrap_config'] == 'I') { 
    
                 echo "<br />" . GIFT_WRAP_PAPER_SELECTED;
                 $paper = $order->wrapped[$w]['wrap_name'];
                 if (is_file(GIFTWRAP_IMAGE_DIR . $paper)) { 
                    echo '<img src="' .GIFTWRAP_IMAGE_DIR . $paper . '" height="' . GIFTWRAP_IMAGE_HEIGHT . '" width="' . GIFTWRAP_IMAGE_WIDTH. '" alt="'.$paper . '" />';
                 } else {
                     echo GIFT_WRAP_IMAGE_UNAVAILABLE . $paper; 
                 }
              }
              echo '</td>'; 
              echo '</tr>'; 
           }
    ?>
            </table></td>
          </tr>
    <?php
      } else { 
        echo '<tr><td>'. GIFT_WRAP_NO_TEXT . '</td></tr>'; 
      } 
    ?>
    </table>
    
    <!-- eof gift wrap -->
    <!-- body_text_eof //-->
    
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    Help much appreciated,
    Beep

  9. #329
    Join Date
    Jun 2012
    Posts
    50
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Hello, newbie here. I tried to search for this but no luck

    Here's my problem:
    I have a custom template, but I don't know how to change/rename the 'custom' template to my current themplate's name
    Can someone help me, please.

    I have installed it and it shows up in my admin, but I guess since I didn't change the template's name (since I don't know how to) it doesn't show up when i do a mock-checkout to test it....

    Help anyone?
    thanks

  10. #330
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,712
    Plugin Contributions
    123

    Default Re: Gift Wrapping Contribution

    This is an basic guide on how to install a mod.

    http://www.thatsoftwareguy.com/zencart_install_mod.html
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 33 of 40 FirstFirst ... 233132333435 ... LastLast

Similar Threads

  1. Gift Wrapping
    By Ms_X in forum General Questions
    Replies: 1
    Last Post: 23 Jan 2011, 03:05 AM
  2. Gift Wrapping Contribution
    By rascald in forum General Questions
    Replies: 0
    Last Post: 4 Jul 2009, 10:10 AM
  3. Gift Wrapping
    By Patpete in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 5 Sep 2008, 06:28 AM
  4. Gift Wrapping
    By AvieLF in forum General Questions
    Replies: 6
    Last Post: 6 Mar 2007, 01:56 AM
  5. Gift Wrapping
    By tbrides in forum General Questions
    Replies: 7
    Last Post: 3 Feb 2007, 10:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR