Jump to content

Recommended Posts

I am sorry to be thick but I have downloaded the file whcih you kindly sent me the link to and when I have extracted the files from the zip file there are empty folders. Now I dont understand why you would put folders in that where empty e.g. catalog/includes/modules/order_total is empty. There are other ones but I just listed this as an example.

 

Please can you expalain and advise?


Liz

 

A very appreciative member still attempting to climb the steep learning curve!

Share this post


Link to post
Share on other sites

OOPS...sorry about that, my mistake. Was working on a site, the OSC2.2 version and the OSC 2.3 version, forgot to include some essential files. The package has been fixed and re uploaded.

 

Todd

 

I am sorry to be thick but I have downloaded the file whcih you kindly sent me the link to and when I have extracted the files from the zip file there are empty folders. Now I dont understand why you would put folders in that where empty e.g. catalog/includes/modules/order_total is empty. There are other ones but I just listed this as an example.

 

Please can you expalain and advise?

Share this post


Link to post
Share on other sites

Thanks for this contribution.

Can you please confirm how we are meant to update the Order table (MYSQL). It does seem you recommend we add three tables:

 

giftMethod (this will be added after "cc_expires") - "cc_expires" does exists. So no problem here.

giftCard (this wlll be added after "giftwrap")

giftMessage (this to be added after "giftwrap")

 

I could not see any entry for "giftwrap". Were you meant to say "giftMethod".

Once again, thanks for the contribution.

Share this post


Link to post
Share on other sites

Thanks for this contribution.

Can you please confirm how we are meant to update the Order table (MYSQL). It does seem you recommend we add three tables:

 

giftMethod (this will be added after "cc_expires") - "cc_expires" does exists. So no problem here.

giftCard (this wlll be added after "giftwrap")

giftMessage (this to be added after "giftwrap")

 

I could not see any entry for "giftwrap". Were you meant to say "giftMethod".

Once again, thanks for the contribution.

 

Thank you for reporting this.

My sql statements are wrong, here are the correct ones:

 

ALTER TABLE orders ADD giftMethod varchar(20) NOT NULL default '' AFTER cc_expires;

ALTER TABLE orders ADD giftCard boolean NOT NULL default 0 AFTER giftMethod;

ALTER TABLE orders ADD giftMessage varchar(150) NOT NULL default '' AFTER giftCard;

 

I have updated the contrib packages also.

Share this post


Link to post
Share on other sites

Thank you for this great contribution, I have installed it and it almost works perfectly, I must have done something wrong somewhere because at the order confimation page there is a bunch of code displayed. I went thru the installation again and can't seem to lovate where I went wrong. Can you help please. I installed it on a fresh OSCommerce 2.31

 

Order Confirmation

 

 

Shipping Information

 

Delivery Address (Edit) Andre Desroches

10 Grant st

Cambridge, N1S1B7

ON, Canada Shipping Method (Edit) Flat Rate (Best Way) array(19) { ["order_status"]=> string(1) "1" ["currency"]=> string(3) "CAD" ["currency_value"]=> string(10) "1.00000000" ["payment_method"]=> string(16) "Cash on Delivery" ["cc_type"]=> string(0) "" ["cc_owner"]=> string(0) "" ["cc_number"]=> string(0) "" ["cc_expires"]=> string(0) "" ["shipping_method"]=> string(20) "Flat Rate (Best Way)" ["shipping_cost"]=> string(4) "5.00" ["giftwrap_method"]=> string(9) "Gift Wrap" ["giftwrap_cost"]=> string(4) "5.00" ["giftwrap_message"]=> NULL ["giftwrap_card"]=> NULL ["subtotal"]=> float(809.98) ["tax"]=> float(105.9474) ["tax_groups"]=> array(1) { ["HST 13.0%"]=> float(105.9474) } ["comments"]=> string(0) "" ["total"]=> float(925.9274) } pixel_trans.gifGiftWrap Method Gift Wrap Products (Edit) 1 x Under Siege $29.99 1 x Samsung Galaxy Tab $749.99 1 x Blade Runner - Director's Cut $30.00

Billing Information

 

Billing Address (Edit) Andre Desroches

10 Grant st

Cambridge, N1S1B7

ON, Canada Payment Method (Edit) Cash on Delivery Sub-Total: $809.98 Flat Rate (Best Way): $5.00 Gift Wrap: $5.00 HST 13.0%: $105.95 Total: $925.93

Share this post


Link to post
Share on other sites

I am having exactly the same problem as rockjam, and have I been through the installation very carefully many times, so I'm pretty certain that there is an error in the coding somewhere. Must admit though that I can't find the problem anywhere.... lildog, any ideas?

Share this post


Link to post
Share on other sites

Just remove the

 var_dump($order->info);

from catalog/checkout_confirmation.php and it will remove this code that is showing up.

Share this post


Link to post
Share on other sites

check out the OSC2.2 version and overwrite the giftwrap file included with the OSC3.2.1 with the mod (added logic) giftwrap file. That calculates giftwrap per item and not just a flat rate. It works on 2.3.1 (I am using it)

Share this post


Link to post
Share on other sites

Hi

 

Me just installed the contribution, but generating following Errors while chekingout

 

Warning: include(includes/languages/english/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED) [function.include]: failed to open stream: No such file or directory in E:\Webserver\root\prabhus\includes\classes\gift.php on line 37

 

Warning: include() [function.include]: Failed opening 'includes/languages/english/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED' for inclusion (include_path='.;C:\php5\pear;includes/phpids/lib/') in E:\Webserver\root\prabhus\includes\classes\gift.php on line 37

 

Warning: include(includes/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED) [function.include]: failed to open stream: No such file or directory inE:\Webserver\root\prabhus\includes\classes\gift.php on line 38

 

Warning: include() [function.include]: Failed opening 'includes/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED' for inclusion (include_path='.;C:\php5\pear;includes/phpids/lib/') in E:\Webserver\root\prabhus\includes\classes\gift.php on line 38

 

Fatal error: Class '' not found in E:\Webserver\root\prabhus\includes\classes\gift.php on line 40

 

 

Thanks in Advance

Vinod

Share this post


Link to post
Share on other sites

Hello. Can you help me to correctly display gift card message in UTF-8 in checkout_confirmation?


Thanks,

Yavuz

Share this post


Link to post
Share on other sites

I am using this contribution. I am also using Google Checkout IPN Module version 1.2.2.

 

The Gift wrap option works well and is calculated into the total of the order up until it is being process by Google Checkout.

 

In Google Checkout, the entire order is being charged EXCEPT for the gift wrap.

 

Is there a way to fix this?

Share this post


Link to post
Share on other sites

I've installed this contribution but currently the gift card text is not showing when ordered through Paypal standard... is there additional code that needs to be added? I've been back through the installation text but can't see any updates to the paypal files...

 

Any help that you can offer would be greatly appreciated!

Share this post


Link to post
Share on other sites

Hi

 

Me just installed the contribution, but generating following Errors while chekingout

 

Warning: include(includes/languages/english/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED) [function.include]: failed to open stream: No such file or directory in E:\Webserver\root\prabhus\includes\classes\gift.php on line 37

 

Warning: include() [function.include]: Failed opening 'includes/languages/english/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED' for inclusion (include_path='.;C:\php5\pear;includes/phpids/lib/') in E:\Webserver\root\prabhus\includes\classes\gift.php on line 37

 

Warning: include(includes/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED) [function.include]: failed to open stream: No such file or directory inE:\Webserver\root\prabhus\includes\classes\gift.php on line 38

 

Warning: include() [function.include]: Failed opening 'includes/modules/giftwrap/MODULE_GIFTWRAP_INSTALLED' for inclusion (include_path='.;C:\php5\pear;includes/phpids/lib/') in E:\Webserver\root\prabhus\includes\classes\gift.php on line 38

 

Fatal error: Class '' not found in E:\Webserver\root\prabhus\includes\classes\gift.php on line 40

 

 

Thanks in Advance

Vinod

Hi I am having same issue. Did you find the bug?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×