Jump to content

chocolategelt

Members
  • Content count

    28
  • Joined

  • Last visited

Everything posted by chocolategelt

  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!
  16. chocolategelt

    photo gallery for oscommerce

    Hi Matt - This is a great contrib! Thank you. I got the same error as that Armand on Sept 7th Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/autolief/domains/website.com/public_html/catalog/gallery_process.php on line 35 I did as you said and commented out lines 35-43 and added that little piece of code echo $cID." ".$pID; to gallery_process.php Now when I go to edit a pic I do see a blank white page and no error anymore. what do I do now? the site is chocolategelt.com PHP Version 4.4.1 Much appreciated Irina
  17. chocolategelt

    Option Type Feature v1.6 (for osc 2.2 MS2)

    it was one little line and winmerge made all the difference! Thank you!! :D
  18. chocolategelt

    Option Type Feature v1.6 (for osc 2.2 MS2)

    Text shows up in shopping cart and on checkout page, then it doesn't go through to email or order history and in the database gets overwritten by TEXT instead of the message customer wrote. I looked through this support thread and compared my files over and over to OTF 1.6 files. I don't see anything missing. I also tried what was suggested below (I see that it worked for many people) but no luck. :blink: Any ideas would be greatly appreciated! Thanks!
  19. chocolategelt

    Automated FedEx Labels

    I got it to work by deleting if / else and just leaving this: // check for test or production gateway define('FEDEX_URI', 'https://gateway.fedex.com/GatewayDC', true); define('FEDEX_HOST', 'gateway.fedex.com', true); Thanks for this awesome contrib!!!
  20. chocolategelt

    Automated FedEx Labels

    Keith, Thanks. I spoke with Fedex and they have me in their production d-base and my meter ID. I changed from 'test' to 'production' in catalog/admin/shipping modules. The code which I have to modify in fedexdc.php now accounts for else / if // check for test or production gateway if ($server == 'test') { define('FEDEX_URI', 'https://gatewaybeta.fedex.com/GatewayDC', true); define('FEDEX_HOST', 'gatewaybeta.fedex.com', true); } elseif ($server == 'production') { define('FEDEX_URI', 'https://gateway.fedex.com/GatewayDC', true); define('FEDEX_HOST', 'gateway.fedex.com', true); } I don't know where else to change it. Thanks!
  21. chocolategelt

    Automated FedEx Labels

    Any ideas appreciated. I got approved for the production server. I even got a new meter ID for the production server. But I still get the error: account not in the database... Thanks! Irina
  22. chocolategelt

    Seach Engine Friendly URL Support

    Please nevermind my previous post.... sorry. Now just tried installing this contrib. When I roll over product links, they show up as www.mydomain.com/categoryname/productname, but when I actually click on the link I get an error "The server encountered an internal error or misconfiguration and was unable to complete your request". I read earlier in this thread that it could be due to cookie path in configure.php. I checked mine is set to my domain name (www.domain.com) as described in instructions. any other ideas? Much appreciated! irina
  23. chocolategelt

    Seach Engine Friendly URL Support

    Can someone please post sql queries. It's not working for me through the install-sef.php. It just freezes and doesn't run any queries, no table is created etc.. I want to just upload it manually through mysql admin, but can't find the actual file with those queries. Thank you!
  24. chocolategelt

    Automated FedEx Labels

    Is there a way to add invoice number to the shipping manifest? Much appreciated!
  25. chocolategelt

    Automated FedEx Labels

    Actually, just tried it, it didn't work... The second line still doesn't show up. Oj Vej...
×