Jump to content
Latest News: (loading..)

cigarsforless

Members
  • Content count

    77
  • Joined

  • Last visited

1 Follower

Profile Information

Recent Profile Visitors

9,956 profile views
  1. cigarsforless

    Multi_Vendor_Shipping new thread

    for what its worth, getting a new USPS API username seemed to fix my issues of no data showing up on the checkout shipping page.
  2. cigarsforless

    Multi_Vendor_Shipping new thread

    I'm at a bit of a loss, the USPS module installs fine in admin, but i get nothing in the catalog side. no errors, nothing. I have a highly modified shop and it is a mix of 2.2 and 2.31 and partially updated for php5.3 but running on an older version (5.2.17) anyone have any ideas?
  3. cigarsforless

    Multi_Vendor_Shipping new thread

    USPS Methods for MVS now uploaded! after much hair pulling and a celebratory shot of rum, I finally got USPS international rates to work. this forum and its contibutors have helped me so much over the years I had to share. :) you can find the usps.php file in the UPS Methods contrib page here UPS Methods for MVS or in the MVS contrib page here USPS for MVS sorry, no taxes, insurance, dimensions and many letter mail services are included as I do not use them, but it does return valid rates for both US domestic and international shiping
  4. maybe you can help me to get a nice template for my store. I will help you to try to get this usps converted to mvs

  5. cigarsforless

    Multi_Vendor_Shipping new thread

    MVS and usps.php? does anybody have a working version of usps.php modified for MVS? Seems that the folks over at the Post Office royally messed up the API with the latest revisions on Jan 2, 2011 International shipping does not work anymore. looks like they have a "working" version of USPS Methods at USPS Methods Contrib. but i need it to work with MVS losing money hand over foot thanks to the folks at USPS anyone?
  6. cigarsforless

    Order Editor for MVS

    I have a problem with order editor for MVS and shipping totals If I edit the amount of the shipping rate, the order totals update, BUT the values in the orders_shipping table do not update. Also when you delete a product and there are no more products for that vendor, the entry in the orders_shipping table does not also get deleted. Makes it a pain to have to go and manually delete/change the entries via phpMyAdmin I have spent a couple of hours trying to debug this but to no avail I believe the code responsible is here in edit_orders.php ////////////////////////////MVS //1.3.1.1 Update orders_shipping table //if there are no products associated with the vendor, we delete the vendor //but, as of right now, not before we give Admin the chance to send out a new vendors email if ($this_is_an_mvs_order) { if (is_array ($_POST['update_shipping'])) { foreach ($_POST['update_shipping'] as $orders_shipping_id => $shipping_details) { if (isset($delete_this_vendor_check)) unset($delete_this_vendor_check); $save_this_vendor = false; $delete_this_vendor_query = tep_db_query(" SELECT orders_products_id FROM " . TABLE_ORDERS_PRODUCTS . " WHERE vendors_id = '" . $shipping_details["vendors_id"] . "' AND orders_id = '" . (int)$oID . "'"); while ($delete_this_vendor_result = tep_db_fetch_array($delete_this_vendor_query)) { $delete_this_vendor_check = $delete_this_vendor_result['orders_products_id']; } if (tep_not_null($delete_this_vendor_check)) { //then there is something in the orders_products table $save_this_vendor = true; } if ($save_this_vendor) { $Query = "UPDATE " . TABLE_ORDERS_SHIPPING . " SET shipping_method = '" . $shipping_details["method"] . "', shipping_tax = '" . $shipping_details["tax"] . "', shipping_cost = '" . $shipping_details["cost"] . "', shipping_module = '" . $shipping_details["module"] . "' WHERE orders_id = '" . (int)$oID . "' AND orders_shipping_id = '" . $orders_shipping_id . "';"; tep_db_query($Query); //we only add tax to the sum if there are products for the vendor if (DISPLAY_PRICE_WITH_TAX == 'true') { $RunningTax[$default_tax_name] += $shipping_details["tax"] * $shipping_details["cost"] / ($shipping_details["tax"] + 100); } else { $RunningTax[$default_tax_name] += ($shipping_details["tax"] / 100) * $shipping_details["cost"]; }//end if DISPLAY_PRICE_WITH_TAX == true } else { //if we don't update, we delete! //this only works for the first vendor in the array? $Query = " DELETE FROM " . TABLE_ORDERS_SHIPPING . " WHERE orders_id = '" . (int)$oID . "' AND vendors_id = '" . $shipping_details["vendors_id"] . "' AND orders_shipping_id = '" . $orders_shipping_id . "';"; tep_db_query($Query); }//end if ($delete_this_vendor[$orders_shipping_id]) }//end foreach ($_POST['update_shipping'] as $orders_shipping_id => $shipping_details) }//end if (is_array ($_POST['update_shipping'])) }//end if ($this_is_an_mvs_order) /////////////////////////////end MVS it looks like it should work, but for the life of me I can't get it to do what it is supposed to any help is greatly appreciated
  7. cigarsforless

    Request Product Reviews

    I too was getting blank emails sent when run from CRON (perfect when run manually) I tried adding above line 163 if (!isset($PHP_SELF)) $PHP_SELF = $_SERVER['PHP_SELF']; but that did not work so I changed 161 as indicated above (rest of paths are relative) and it now works like a charm. FYI, here are the errors I was getting when blank emails were sent [11-Nov-2009 05:30:01] PHP Warning: file(.tpl) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /home/cigars/public_html/admin/request_reviews/review_mail.php on line 163 [11-Nov-2009 05:30:01] PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /home/cigars/public_html/admin/request_reviews/review_mail.php on line 163 Great script, got 6 reviews from the email I manually sent yesterday!
  8. cigarsforless

    Multi_Vendor_Shipping new thread

    I too would love to see one page checkout and MVS working together. I gave it a try a while ago, but the Ajax part is a bit beyond me at this point.
  9. cigarsforless

    Multi_Vendor_Shipping new thread

    no, my customers get a plain text email
  10. cigarsforless

    Multi_Vendor_Shipping new thread

    the delivery_telephone variable comes from another add-on Address Book Enhancer http://addons.oscommerce.com/info/1868 I use it because UPS (and other delivery companies) require a delivery phone number for all packages You can also use this add-on Add telephone number to shipping & delivery addresses http://addons.oscommerce.com/info/5682 which is based on Address Book Enhancer but is easier to install (with a few less features) My shop has at least 60 or more different add-on installed so it is sometimes hard to keep track of all the code changes If you are not going to add the Address Book Enhancer add-on, deleting the variable as you have done is fine, but I recommend you add it unless you are only going to ship via the post office which does not reguire a customer phone number
  11. cigarsforless

    Multi_Vendor_Shipping new thread

    that image is from the stock Vendor Email Send module and has nothing to do with the my mod My mod sends the email out when the order is placed and will also send you a copy as if it was sent from the vendor. be sure you have the following settings made go to admin, vendors, vendor manager, click on each vendor and be sure that Send Order Emails is checked go to admin, configuration, email options and make sure that "Use MIME HTML When Sending Emails" is set to True go to admin, configuration, Shipping/Packaging, When to send the Vendor Email and check either "Catalog" or "Both" My Mod will NOT work if you have it set to send from "Admin" or "Not at all" the whole point of my mod is to automate the order process as much as possible by sending the vendor the dropship order info and packing slip that they can print out this is done when the order is placed by the customer and requires no additional work by the store owner
  12. cigarsforless

    Multi_Vendor_Shipping new thread

    Do you have your shop set up to send HTML emails? go to admin, cofiguration, email options and make sure that "Use MIME HTML When Sending Emails" is set to True as for the Send Vendor Email page, this mod is not part of that. It sends the vendor email when the order is placed online by the customer
  13. cigarsforless

    Multi_Vendor_Shipping new thread

    1 more fix you also have to remove the } from line 459 before $printinfo = '<br /><br /><b><i>NOTE: Print page 2 only if you just want to print the packing slip.</i></b>'; } $email= '<html><head><title></title></head><body><table><tr><td>' . $trackcomments . $printinfo . $custinvoiceinfo . '</td></tr></table></body></html>'; after $printinfo = '<br /><br /><b><i>NOTE: Print page 2 only if you just want to print the packing slip.</i></b>'; $email= '<html><head><title></title></head><body><table><tr><td>' . $trackcomments . $printinfo . $custinvoiceinfo . '</td></tr></table></body></html>'; let me know if that fixes it
  14. cigarsforless

    Multi_Vendor_Shipping new thread

    sorry about that. When I removed a bunch of my custom coding I forgot to remove an end } remove the } from line 519 just above /// END DROPSHIP ORDER let me know if that fixes the problem
  15. cigarsforless

    Multi_Vendor_Shipping new thread

    No problem! If it wasn't for all the hard work you and Craig have put into MVS, my running my sites would be a lot harder. Glad to give something back to the comunuity. I am using a partially patched older version of MVS (along with some custom modifications), so while I think the code I provided "should" work just fine, as I mention, there might be a bug or two in it or better ways to do what I have done. It certainly looks a lot better and has more info in there than the stock vendors email though! Hope it helps people.
×