Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Gift Wrap


12 replies to this topic

#1 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 04 August 2011, 13:20

Support thread for the Gift Wrap contribution for OSC 2.3.1. Found here: http://addons.oscommerce.com/info/8115.

For the Giftwrap contribution for OSC 2.2xx support thread go here.

Edited by lildog, 04 August 2011, 13:30.


#2 Measha06

  • Community Member
  • 206 posts
  • Real Name:Liz Wagner
  • Gender:Female
  • Location:UK

Posted 04 August 2011, 18:29

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!

#3 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 04 August 2011, 21:06

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

View PostMeasha06, on 04 August 2011, 18:29, said:

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?


#4 psseuro

  • Community Member
  • 3 posts
  • Real Name:John

Posted 06 August 2011, 15:43

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.

#5 lildog

  • Community Member
  • 608 posts
  • Real Name:Todd
  • Gender:Male
  • Location:Sunny Florida

Posted 07 August 2011, 19:33

View Postpsseuro, on 06 August 2011, 15:43, said:

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.

#6 rockjam

  • Community Member
  • 4 posts
  • Real Name:Andre

Posted 08 October 2011, 20:31

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) } [img]http://weshop4u.ca/store/catalog/images/pixel_trans.gif[/img] GiftWrap 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

#7 HuskyDog

  • Community Member
  • 34 posts
  • Real Name:Ian Beadle

Posted 12 October 2011, 07:11

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?

#8 colageneral

  • Community Member
  • 19 posts
  • Real Name:Imraan

Posted 14 October 2011, 05:48

Hi, has anyone found a sollution to the code problem on the order confirmation page

#9 colageneral

  • Community Member
  • 19 posts
  • Real Name:Imraan

Posted 02 November 2011, 06:46

Still no solution then?????

#10 aqeeliz

  • Community Member
  • 1 posts
  • Real Name:Aqeel Zafar

Posted 24 November 2011, 13:34

Just remove the
  var_dump($order->info);
from catalog/checkout_confirmation.php and it will remove this code that is showing up.

#11 colageneral

  • Community Member
  • 19 posts
  • Real Name:Imraan

Posted 25 November 2011, 03:37

Thanks a lot!!!!!!!!!!! You are a true genius:)

#12 silv3r007

  • Community Member
  • 19 posts
  • Real Name:john

Posted 25 November 2011, 09:42

Ive installed the gift wrap contribution happily, but i need it to work on quantity, not just a flat rate.

Any ideas?

#13 colageneral

  • Community Member
  • 19 posts
  • Real Name:Imraan

Posted 25 November 2011, 18:05

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)