Results 1 to 10 of 393

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Gift Wrapping Contribution

    I have heard before that Gift Wrap doesn't play well with FEC, which is not surprising; they're both large customizations. You might ask the FEC guy if he has time to debug this.
    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.

  2. #2
    Join Date
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Can someone provide a link to a store with Gift Wrap 2.3_138 module running so I can see how it is supposed to work?

  3. #3
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Hi swguy, great mod!

    however I have a bit of a problem, probably user error (me) but not real sure what to look for. (not very good with code)

    everything works on the customer side when placing an order, however when viewing history, it doesn't show the table of products gift wrapped within order view as indicated

    "Account History Page displaying gift wrapping"

    On the admin side, although I placed an order of 3 products and indicated by checkbox only two of the products be gift wrapped, when I go to view the order on the admin view order screen there is no table indicating the products which need to be gift wrapped. the only thing I see is a statement saying "no gift wrapping selected". (even though gift wrapping was selected).

    I do use the mod, super orders and am pretty sure that I have added the gift wrap code to the super_orders.php file properly but maybe not??.

    Do you have any idea's as to what may of happend.

    Your help would be much appreciated.

    TIA

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Gift Wrapping Contribution

    Be sure it works in orders (not super orders). If so then recheck your merge with super orders.
    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.

  5. #5
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Thanks swguy

    doesn't work with just orders.php either. have checked the merged code for super_orders and it appears to be as it should be. The only other thing I can think of is that I also use timezone offset mod.

    below is a section of code that is also in the orders.php file which relates to the timezone offset mode. Please check to see if anything in this would conflict with the gift wrap code.

    Code:
    $db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . "
                          (orders_id, orders_status_id, date_added, customer_notified, comments)
                          values ('" . (int)$oID . "',
                          '" . zen_db_input($status) . "',
                          date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR),
                          '" . zen_db_input($customer_notified) . "',
                          '" . zen_db_input($comments)  . "')");
              $order_updated = true;
            }
    This is the only bit of code that is different in the orders.php file

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Gift Wrapping Contribution

    If you don't see it in admin then I suspect you've merged includes/classes/order.php incorrectly; this is where the records get inserted. If you get "no gift wrapping selected" then the query

    select orders_products_id
    from " . TABLE_ORDERS_GIFTWRAP . "
    where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");

    returned zero records. Trace this back.
    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. #7
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Gift Wrapping Contribution

    Quote Originally Posted by swguy View Post
    If you don't see it in admin then I suspect you've merged includes/classes/order.php incorrectly; this is where the records get inserted. If you get "no gift wrapping selected" then the query

    select orders_products_id
    from " . TABLE_ORDERS_GIFTWRAP . "
    where orders_id = '" . zen_db_input($oID) . "' and wrap = 1");

    returned zero records. Trace this back.
    Bingo!! It turns out that the timezone mod had also overwritten includes/classes/order.php. I merged the giftwrap code into the file and wha'la, it now works.

    Thanks swguy for your speedy and helpful assistance!!

 

 

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

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