Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Gift Wrap


lildog

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!

Link to comment
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?

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
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?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
  • 6 months later...

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

Link to comment
Share on other sites

  • 4 months later...
  • 2 months later...

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?

Link to comment
Share on other sites

  • 10 months later...

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!

Link to comment
Share on other sites

  • 6 months later...

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...