Zen Cart Logo
Forums / All Other Contributions/Addons / Gift Wrapping Contribution

Gift Wrapping Contribution

Views: 90,257

Results 121 to 140 of 389
15 Mar 2008, 20:39
#121
dnolan avatar

dnolan

New Zenner

Join Date:
Mar 2007
Location:
Dexter, MO USA
Posts:
32
Plugin Contributions:
0

Gift Wrapping Contribution

:huh:Hello everyone. I pretty well know the basics of adding mods to zen cart. But guess I am missing something on this one.
Looking under Order Total and can't find anything in Admin relating to Gift Wrapping.
What am I doing wrong?

15 Mar 2008, 21:04
#122
dnolan avatar

dnolan

New Zenner

Join Date:
Mar 2007
Location:
Dexter, MO USA
Posts:
32
Plugin Contributions:
0

Re: Gift Wrapping Contribution

:smile:Never mind. Will be making a contribution for this excellent mod. Found my own mistake.

15 Mar 2008, 21:49
#123
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

Thank you.

07 Apr 2008, 06:24
#124
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Re: Gift Wrapping Contribution

I have installed Gift Wrapping on zc1.3.8a with FEC 1.15(Fast and Easy Checkout) and ESL 1.16b(Easy Sign Up and Login).

It does not seem to be working correctly so I would like some help finding where I went wrong.

You can view the test site here:

http://drhenslin.com/zc138a/

Problem Description:

When a customer clicks the checkbox for gift wrapping an item, the page auto-refreshes and the Gift Wrapping Charge is seen in the "Shopping Cart Contents" box. The auto-refreshing of the page seems odd to me, is that the way it is supposed to work?

However after the page refreshes and updates the Order Total the checkbox for the item selected to be gift wrapped is not checked, to indicate the item has been selected to be gift wrapped.

If another item is then checked to be gift wrapped the page will refresh again but the order total does not add the charge for gift wrapping the item. No subsequent checks on gift wrapping items are calculated in the order total.

I have the Gift Wrap options set:

Gift Wrapping Flat Fee: 0
Gift Wrapping Per Item Fee: 4

Can anyone provide me with some help?

07 Apr 2008, 09:06
#125
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

07 Apr 2008, 23:06
#126
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

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?

09 Apr 2008, 12:13
#127
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

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) :unsure:

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

09 Apr 2008, 14:18
#128
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

Be sure it works in orders (not super orders). If so then recheck your merge with super orders.

09 Apr 2008, 23:15
#129
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

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.

$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

10 Apr 2008, 01:28
#130
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

10 Apr 2008, 03:24
#131
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: Gift Wrapping Contribution

swguy:

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!!

23 Jun 2008, 06:48
#132
motherthemother avatar

motherthemother

New Zenner

Join Date:
Jun 2008
Posts:
20
Plugin Contributions:
0

Re: Gift Wrapping Contribution

I copied files, set it up in admin, ran the script. No gift wrap option showing in step 2 of checkout. No errors. I renamed the .sql file with the prefix... nothing. Suggestions?

23 Jul 2008, 23:53
#133
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

A bug has been found in Gift Wrap version 2.x which affects carts using PayPal IPN. Please move the file

includes/extra_configures/giftwrap_tables.php

to

includes/extra_datafiles/giftwrap_tables.php

A new zip file containing this fix (for Zen Cart 1.3.8) has been submitted and will be available shortly.

06 Sep 2008, 09:23
#134
patpete avatar

patpete

New Zenner

Join Date:
Sep 2008
Posts:
8
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hello

This mod is fantastic.It was working very well till yesterdayBut now, suddenly it stopped working...

To be precise, I installed stock by attributes and it stopped working after that .

Any pointers please

Help is appreciated

Pat

02 Oct 2008, 00:57
#135
hintimates avatar

hintimates

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

Re: Gift Wrapping Contribution

boinkit:

I keep getting this error message in all my invoices...

1146 Table 'boinkit.TABLE_ORDERS_GIFTWRAP' doesn't exist
in:
[select orders_products_id from TABLE_ORDERS_GIFTWRAP where orders_id = '1008' and wrap = 1]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I installed the gift wrap module, but decided not to use it at this point (and have removed/de-activated via the admin).

Can anyone tell me how to remove this error message from my invoices and packing slips, as i don't want to send them out to customers with this show.

Many thanks!

I have this same issue happening. Only thing I did was turn off the module in the zen cart admin. Didn't do anything in the phpadmin.

02 Oct 2008, 01:21
#136
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

The message says the table doesn't exist. The way to get rid of this message is to re-create the table (download the contribution and re-run the SQL). You must have only half-installed it when you set it up.

01 Dec 2008, 12:57
#137
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Thanks for the excellent work on this.

One small request: Is there any way to show on the packing slip that gift wrapping was selected. We're in a situation where the emails coming in for the orders are processing in an office with somebody else picking the orders for dispatch. We have had a couple slip through that should have been wrapped.

( Totally our own fault !!!!! but it would be ideal to have gift wrap show on the slip the packer is using )

Thanks

Pat

01 Dec 2008, 13:09
#138
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

This is an excellent suggestion. I'll add it to the next release.

03 Dec 2008, 12:36
#139
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Gift Wrapping Contribution

The 1.3.8 version of this module (version 2.6_138) has been updated to print the gift wrapping settings on the packing slip. The readme also contains instructions for updating super_packingslip.php for Super Orders users.

04 Dec 2008, 03:08
#140
atomiksteve avatar

atomiksteve

New Zenner

Join Date:
Jul 2008
Posts:
43
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hi, is there a way to turn off the Gift Wrapping option for certain items? For instance, my company is offering holiday gift boxes that are already wrapped. Any assistance you can provide is much appreciated!