Jump to content

chocolategelt

Members
  • Content count

    28
  • Joined

  • Last visited

1 Follower

Profile Information

Recent Profile Visitors

2,746 profile views
  1. chocolategelt

    FedEx - Web Services v9

    to change the number of days for delivery, I changed this line in fedexwebservices.php $transitTime = ' (' . str_replace(array('_', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteeen'), array(' ', 4,5,6,7,8,9,10,10,10,10,11,12,13,14), strtolower($rateReply->TransitTime)) . ')'; this ' ', 4,5,6,7,8,9,10,10,10,10,11,12,13,14 in original file was this ' ', 1,2,3,4,5,6,7,8,9,10,11,12,13,14 I just wanted to add 3 days for order processing and changed those digits. seems to work for me --------------------------------------------------------------------------- I still can't figure out how to print Home and Ground labels, can only do either or by changing 'Residential' => false) in fedexwebservices.php . Residential address checker just does not get passed to Fedex when I select Home Delivery I get an error that she shipment must be designated as residential... it worked fine in the old version. There is this piece of code in ship_fedex.php // if it's home delivery (90), add the "residential delivery flag" (440) if ($HTTP_POST_VARS['service_type'] == 90) { $shipData[440] = 'Y'; } else { $shipData[440] = 'N'; } but it doesn't seem to do anything...any ideas on this? Any help would be appreciated.
  2. chocolategelt

    Is USPS shipping module down

    Thanks very much! It worked for me.
  3. just wanted to say Thanks for a great contribution. Everything seems to be ok so far. I had the same error as someone in Nov 2009 Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\wamp\www\catalog\includes\functions\database.php on line 103 after checking the edits - this was due to my mistake when replacing the very first edit on product_info page. Just wanted to post in case someone else will have the same message, it will make for a quicker fix. Again, thank you!!
  4. Hi Cord Thank you for a great contribution. Just thought it would be nice to have an option to email customers who ordered certain products (say product id 50, 89 and 1200). Customers would appreciate coupons on stuff they order regularly. I was also wondering if there will be a way eventually to select 2 time periods at once (say all who ordered dec2009 and dec2010) that way someone who ordered both times will only get one email. The way it's set up now is if I send 2 emails with coupons to those groups, people who bought in 2009 and 2010 will get the email twice. Just ideas. Again, thank you. I look forward to using this module and will certainly show my appreciation through PayPal :)
  5. chocolategelt

    [contribution] Print Order Receipt

    What I did was create a page for PWA people called orders_printable_pwa.php so the invoice button is still on checkout_success page but the pop-up appears with alternative text for those who purchased without account. in print_order2.php changed this if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); to this if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_ORDERS_PRINTABLE_PWA, '', 'SSL')); in filenames.php added a new file define('FILENAME_ORDERS_PRINTABLE_PWA', 'print_order_pwa.php'); Now if someone checks out without account they get a message something like - since you checked out without creating an account your receipt is only available through email, please check your email for order confirmation.
  6. chocolategelt

    [contribution] Print Order Receipt

    Great contrib. Thank you! Question about checkount_success.php Do you have a solution for PWA? All I want to do is only show the receipt button if a person is logged in, otherwise if they are PWA no button for them.
  7. chocolategelt

    photo gallery for oscommerce

    I fixed it simply by replacing these in gallery_user.php $link = 'gallery_process.php?edit=yes&pID='.$fotos['pID'].'&cID='.$fotos['cID']; echo '[<a href="'.tep_href_link($link).'" onclick="return hs.htmlExpand(this, { objectType: \'iframe\',outlineType: \'rounded-white\', outlineWhileAnimating: true } )">' .TEXT_EDIT.'</a>]<br>'; with this echo'[<a href=gallery_process.php?edit=yes&pID='.$fotos['pID].'&cID='.$fotos['cID'].'"onclick="return hs.htmlExpand(this, { objectType: \'iframe\',outlineType: \'rounded-white\', outlineWhileAnimating: true } )">'.TEXT_EDIT.'</a>]<br>'; this fix might be helpful to anyone running SEO urls This is a great contrib, thank you very much and we'll look forward to updates! Cheers Irina
  8. chocolategelt

    photo gallery for oscommerce

    yes, of course, you are right. I think it is the SEO urls.
  9. chocolategelt

    photo gallery for oscommerce

    I replaced line 35 as you recommended. the second line of error message changed this is the error I got: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site202/fst/var/www/html/catalog/gallery_process.php on line 35 You have an error in your SQL syntax near 'AND pID=' at line 1 btw, I tried all the other fixes you suggested as well. Thank you!
  10. chocolategelt

    photo gallery for oscommerce

    just tested and noticed that even with a direct link the upload function doesn't work and returns the same error...
  11. chocolategelt

    photo gallery for oscommerce

    Yes, I see that the direct link works for the picture which you uploaded... But the dynamic code still retuns an error... any ideas? Thank you!
  12. chocolategelt

    photo gallery for oscommerce

    I fixed the link problem. I guess it's coded in includes/languages/english/gallery.php define('TEXT_LINK', 'Click <a href="had to change this link/gallery_user.php">here</a> to add your own pictures to this gallery.'); However, the errors while trying to edit pictures in user_gallery.php remain Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site202/fst/var/www/html/catalog/gallery_process.php on line 35 Warning: Cannot modify header information - headers already sent by (output started at /www/html/catalog/gallery_process.php:35) in /www/html/catalog/gallery_process.php on line 43
  13. chocolategelt

    photo gallery for oscommerce

    here is the value $link = 'gallery_process.php?edit=yes&pID='.$fotos['pID'].'&cID='.$fotos['cID']; Yes, I know about this issue, it is because I am using an ssl certificate provided by my hosting company, so the https link looks different from non-secure one. The page is not found after you log in because it's looking for a link https://ss42.shared.server-system.net/catal...allery_user.php, but is should be https://ss42.shared.server-system.net/~choc...allery_user.php. I couldn't find a place where to change that in your files yet. Thank you
  14. chocolategelt

    photo gallery for oscommerce

    done! Thank you
  15. chocolategelt

    photo gallery for oscommerce

    www.chocolategelt.com/catalog/gallery.php Thank you!
×