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

Gift Wrapping Contribution

Views: 90,257

Results 101 to 120 of 389
04 Jan 2008, 18:03
#101
swguy avatar

swguy

Administrator

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

Gift Wrapping Contribution

Gift Wrap 2.3_138 is now available in the downloads area. Please ONLY upgrade to this version if you are running ZenCart 1.3.8; otherwise, just run version 2.3.

That Software Guy

10 Jan 2008, 02:47
#102
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 reported which affects storeowners who run with Gift Wrap include_tax = true in versions 2.2, 2.3 and 2.3_138 under php4. It is indicated by the error:

Warning: Division by zero in ...includes/modules/order_total/ot_giftwrap_checkout.php on line 174

The fix is identical in both versions: modify the file
includes/modules/order_total/ot_giftwrap_checkout.php line 173 from

   if ($this->include_tax == 'true') {

to

   if ($wrapfee != 0 && $this->include_tax == 'true') {

This issue will be fixed in the next release.

12 Jan 2008, 09:10
#103
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

The bug described above is not limited to PHP4; it can also occur in some configurations under PHP5, so if you use tax_included as a setting in gift wrap admin, please apply this patch.

Thanks,
Scott

10 Feb 2008, 03:30
#104
abwhitney avatar

abwhitney

New Zenner

Join Date:
Jan 2008
Posts:
33
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hello. I am just learning about this add on.

Can you help explain something? According to my PhPAdmin site my database is called: myusername_zc1

and in the readme file it says:

Run the sql script orders_wrap.sql in phpMyAdmin. If you have used
a prefix in your database, modify orders_wrap.sql to reflect this (e.g.
change "orders_giftwrap" to "zen_orders_giftwrap" if your prefix is
"zen_").

But I don't understand what to do. I'm not even familiar with phpadmin.

Step by step would be great.

Thanks!

10 Feb 2008, 10:49
#105
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

Call your hosting company and ask, "How do I get to phpMyAdmin?" It might be on your CPanel if you run CPanel, it might be somewhere else, I don't know, but they will help you find it. Once you've found it, you should probably place an ad in Commercial Help Wanted for someone to install this mod.

10 Feb 2008, 17:47
#106
abwhitney avatar

abwhitney

New Zenner

Join Date:
Jan 2008
Posts:
33
Plugin Contributions:
0

Re: Gift Wrapping Contribution

i know where phpadmin is. I'm pretty capable with html, sql, css and php. I just don't know how exactly I'm to edit their script before running it.

any ideas?

10 Feb 2008, 18:32
#107
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

You only have to edit the script if your database uses a prefix. Look in includes/configure.php to see if you've used a prefix value (look for DB_PREFIX). If you haven't, there's nothing to be done; just run the script.

18 Feb 2008, 04:33
#108
picci avatar

picci

Zen Follower

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

Re: Gift Wrapping Contribution

I am trying to integrate giftwrap_2.3_138 with Fast and Easy Checkout 1.12a in Zen Cart 1.3.8a.

The gift wrapping block displays correctly. All the admin controls work correctly in both modules/order total and Fast and Easy Checkout Module Switch. I do not get any errors.

However when the items gift wrap checkbox is checked the gift wrapping is ignored and I get "no gift wrapping selected" on the final confirmation page. It seems somewhere in my merging I may have fudged something as the gift wrapping is not being passed properly.

Can anyone suggest where I should look?

24 Feb 2008, 15:56
#109
mamirian avatar

mamirian

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Re: Gift Wrapping Contribution

I am using Gift Wrap with Pay Pal IPN. Orders are going through successfully, however, order details are not being recorded, meaning product attributes are not being recorded in the orders_products_attributes table and therefore not being recorded in the admin or invoice. If I enable credit cards on the site (only for test purposes, we are only using PayPal right now) it works just fine...orders with pay pal IPN are not. The Gift Wrap table is NOT being updated, however, but because the gift wrap is being entered into the orders_total table it still shows up on the invoice, and is therefore being correctly entered into paypal. Am I doing something wrong, did I miss something? I am using zen cart 1.3.7

24 Feb 2008, 17:48
#110
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

I haven't added the IPN logic.

24 Feb 2008, 18:00
#111
mamirian avatar

mamirian

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Re: Gift Wrapping Contribution

ah, that would explain it - I will revert to old method of adding gift wrap attributes to all products. Thank you for the speedy response.

26 Feb 2008, 11:26
#112
boinkit avatar

boinkit

New Zenner

Join Date:
Aug 2007
Location:
England
Posts:
65
Plugin Contributions:
0

Re: Gift Wrapping Contribution

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!

26 Feb 2008, 12:10
#113
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

Looks like you started deleting things before using the admin to turn the feature off. You still have the giftwrap copy of admin/invoice.php. Be sure you have replaced ALL the files with original untouched copies.

26 Feb 2008, 13:20
#114
boinkit avatar

boinkit

New Zenner

Join Date:
Aug 2007
Location:
England
Posts:
65
Plugin Contributions:
0

Re: Gift Wrapping Contribution

I haven't un-installed anything yet, all the files from the mod are still there.
I only changed the option in admin -- 'Order Totals' and told it to remove the gift wrap module. No other changes have been made at all.

Any ideas?

26 Feb 2008, 13:32
#115
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

You dropped the table. If you're going to drop the table, you need to revert the files. If you don't want to revert the files, you need to recreate the table.

05 Mar 2008, 05:30
#116
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Gift Wrapping Contribution

My zencart version 137, I am using Gift Wrap version 2.3. I hit the fatal error during checkout :-

Fatal error: Cannot redeclare class order in /home/angguguc/public_html/momsworld/shop/includes/classes/order.php on line 1031

Please advise. Thanks in advance.

05 Mar 2008, 08:37
#117
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

During installation, you must either remove the original copy of includes/classses/order.php or rename it to something that doesn't end with .php. For instance, includes/classes/order.php.orig is the naming scheme I use if I want to preserve the original copy of a core file. I suspect you renamed it to (say) includes/classes/order_orig.php, which won't work.

13 Mar 2008, 01:30
#118
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Gift Wrapping Contribution

swguy:

During installation, you must either remove the original copy of includes/classses/order.php or rename it to something that doesn't end with .php. For instance, includes/classes/order.php.orig is the naming scheme I use if I want to preserve the original copy of a core file. I suspect you renamed it to (say) includes/classes/order_orig.php, which won't work.

Everything is working perfectly now, thank you so much! :clap:

Another question, I would like to put in few wrappers for customer to choose, is there a way to put in wrapper selection ? Sorry... if this has been asked before. :blush:

13 Mar 2008, 01:57
#119
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

When I wrote this I put in the infrastructure for adding wrapping paper selection (so you wouldn't have to change the database again), but haven't done it yet. It's on the list.

13 Mar 2008, 06:15
#120
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Gift Wrapping Contribution

swguy:

When I wrote this I put in the infrastructure for adding wrapping paper selection (so you wouldn't have to change the database again), but haven't done it yet. It's on the list.

Right here waiting..... thank you~ :P