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

Gift Wrapping Contribution

Views: 90,257

Results 61 to 80 of 389
19 Nov 2007, 08:47
#61
lisk avatar

lisk

Zen Follower

Join Date:
Jun 2006
Posts:
118
Plugin Contributions:
0

Gift Wrapping Contribution

I used beyond compare as you suggested and it's all working beautifully except for an odd but rather large problem.... no matter what shipping you choose on the checkout shipping page, usps express mail shipping is what you get. I've gone back through the files comparing them and I'm not sure what I've done wrong to cause this to happen.... help?

21 Nov 2007, 06:28
#63
sky50 avatar

sky50

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hi there,

I've recently installed this great contribution to my online store, but for some reason I can't seem to work out how to make the value in the shopping cart show with tax included. Our store is currently set to display prices with tax.

Example:
Our price to gift wrap is based on $2.50 + 10% tax per item. So for a cart that has say 2 items, the total gift wrap value should $5.00 + $0.50 tax giving $5.50 total.

Currently the cart only shows $5.00 instead of $5.50. All other values are correct except this one.

Any ideas why this would be and how I can go about fixing it?

Thanks
Max

21 Nov 2007, 10:00
#64
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

For some unknown reason, I fat-fingered it and forgot this switch. :( I'll fix it in the next release. For now, use a tax-included price and set tax recalc to none - I think this should work.

21 Nov 2007, 11:37
#65
sky50 avatar

sky50

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Thanks for the fast reply.

If I set the value to a tax included price and tax recalc to none, this will not show correctly when I genenerate my tax reports.

I might see if I can take a closer look at this myself.

thank again swguy.

21 Nov 2007, 11:46
#66
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

If you look at low_order_fee, you'll see what you need to do. You won't need to add a database entry, since for your store it will be on all the time. Look for DISPLAY_PRICE_WITH_TAX.

21 Nov 2007, 12:18
#67
sky50 avatar

sky50

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Thanks for the pointer, I'll see what I can come up with.

22 Nov 2007, 16:26
#68
gift_taggs avatar

gift_taggs

New Zenner

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

Re: Gift Wrapping Contribution

I am sure I am doing something wrong, but I am can't get the category or product exit to work.

I have read the FAQ on the site for the category problems, but I can't even get the product exit to work. I have uninstalled and reinstalled the module.

Here is my code

    function exclude_product($prid) {
        $id = (int)$prid;
        switch($id) {
		   case 38:
		   case 40:
		   case 42:		   		   
                return true;
        }
        return false;
22 Nov 2007, 17:09
#69
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

This is only part of the logic - have you installed the template files too? These control whether or not a check is displayed.

22 Nov 2007, 18:52
#70
gift_taggs avatar

gift_taggs

New Zenner

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

Re: Gift Wrapping Contribution

I didn't update them from the older version!

Thank you for the quick reply and also for this add-on it is perfect!

23 Nov 2007, 10:28
#71
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

In version 2.1, the function apply_category_wrap_surcharge() still has one of my testcases in it; please delete

       case 19:

this should be line 88 of includes/modules/order_total/ot_giftwrap_checkout.php

24 Nov 2007, 01:40
#72
retrobec avatar

retrobec

New Zenner

Join Date:
Aug 2007
Location:
Boiling Springs, South Carolina
Posts:
43
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hi,
I just installed your gift wrapping contribution. Thanks...I had been wanting something like this for a while. It's working great, but I was wondering if there is a way to not allow gift wrapping for certain products. Right now it seems to apply to all categories/all products. Some of the things I sell I don't have gift packaging for. Any help would be much appreciated. Thanks!
-Becky

24 Nov 2007, 02:32
#73
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

If you download version 2.1, there are two user exits to allow you to disable gift wrap on specific categories and/or products.

28 Nov 2007, 08:15
#74
lisk avatar

lisk

Zen Follower

Join Date:
Jun 2006
Posts:
118
Plugin Contributions:
0

Re: Gift Wrapping Contribution

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?

28 Nov 2007, 11:41
#75
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

I would guess one of your merges failed. I would look at includes/classes/order.php.

01 Dec 2007, 14:06
#76
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

For vendors obligated to display prices inclusive of tax, please download version2.2 of this mod, which adds the "Tax Included" radio button. You must REMOVE (Admin->Modules->Order Totals->Gift Wrap at Checkout->Remove) and RE-INSTALL in order to use this feature.

Also included in version 2.2 is the fix for the issue reported in post 71 and css to vertically center the checkbox for gift wrapping on the first checkout page.

Thanks to sky50 for beta testing the tax logic and providing ideas for improvement.

Scott

02 Dec 2007, 03:11
#77
hutch32804 avatar

hutch32804

New Zenner

Join Date:
Nov 2007
Location:
Orlando, FL
Posts:
24
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hi SWGUY,

I'm trying to get this new version 2.2 released Dec 1 and for some reason at the checkout_shipping (http://tls.camerch.com/store/index.php?main_page=checkout_shipping) page it's returning a blank page.

Would you possible know why?

Thanks in advance!

02 Dec 2007, 03:50
#78
swguy avatar

swguy

Administrator

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

Re: Gift Wrapping Contribution

You really need to post the PHP error logs for me to have any hope of understanding what's happening in your environment. Saying "I got a blank page" doesn't give me enough clues to go on.

02 Dec 2007, 19:46
#79
hutch32804 avatar

hutch32804

New Zenner

Join Date:
Nov 2007
Location:
Orlando, FL
Posts:
24
Plugin Contributions:
0

Re: Gift Wrapping Contribution

Hey SWGUY,

Unfortunately no PHP "error_log" files are being generated when the blank page shows.. I'm not sure where to go from here, I can't find anything in logs to see what's going on here.

I know it's hard to figure it out with just blank page, so if you have a few minutes let me know I can provide my user/pass to my FTP so you can take look at it. It's a test server running Zen 1.3.7 freshly installed.

Thanks

04 Dec 2007, 05:51
#80
hutch32804 avatar

hutch32804

New Zenner

Join Date:
Nov 2007
Location:
Orlando, FL
Posts:
24
Plugin Contributions:
0

Re: Gift Wrapping Contribution

swguy:

You really need to post the PHP error logs for me to have any hope of understanding what's happening in your environment. Saying "I got a blank page" doesn't give me enough clues to go on.

OK, I moved it to a new server and now when I get to checkout_shipping I get the following error message: ```
"Fatal error: Call to undefined function: zen_get_customer_validate_session() in /home/thelaug/public_html/ZENCARTTEST/includes/modules/pages/checkout_shipping/header_php.php on line 27"


I searched in the developers Kit and  found this:

/home/thelaug/public_html/ZENCARTTEST/includes/modules/pages/checkout_shipping/header_php.php

Line #26 : if (zen_get_customer_validate_session($_SESSION['customer_id']) == false) {


Any clue why the "zen_get_customer_validate_session" function would be failing?