Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

blucollarguy

Archived
  • Posts

    739
  • Joined

  • Last visited

Posts posted by blucollarguy

  1. Hey,

     

    I got a question.. Is it possible with the MVS to set "first item -- plus" to work like:

     

    If you set 2 vendors, both with shipping method "first item plus", when you buy 2 products from each vendor,

    the MVS maintain the higher first rate between the 2 vendors and sum the other "plus" items? Basically, the mvs give just 1 first item and sum the rest as "plus items" instead of give the 2 first item from each vendor and plus the items?

     

    Thank you

    Nope, MVS functions on a "per Vendor" basis, no products form other Vendors will be factored into any shipping quotes, if a particular shipping module is doing that, there is something wrong with the module and it is NOT giving an accurate quote.

     

    Craig :)

  2. Hi..

     

    I haven't set the Admin > Configuration >Shipping/Packaging > Use Vendor Shipping to true.

    I just did, but now i got this error on the checkout process page:

     

    "Fatal error: Call to undefined method: shoppingcart->vendor_shipping() in /homepages/19/d217709471/htdocs/Loja/catalog/includes/modules/vendor_shipping.php on line 13"

     

    Any idea?

     

    Thank oyu

    This sounds like you did not do the edits in catalog/includes/classes/shopping_cart.php or you simply did not get the edits correct. Double check your work, using a file comparison program can make this job much easier.

     

    Good luck, Craig :)

  3. I'm having a problem with one of my installations of MVS. Reportedly the admin screen goes blank after a correct password is entered. I can't duplicate the error myself so in the meantime, while I figure out what is probably wrong on the clients own computer (from two thousand miles away!), I need a way to quickly and easily disable the admin side password system that is part of MVS. I've got the forder well protected with .htaccess in the meantime.

     

    Any Ideas?

     

    Thanks!

    There is no password system included with MVS. If this Admin is not password protected through .htaccess, then at some point, another contribution was installed.

     

    Good luck, Craig :)

  4. Thanks for responding. I've installed MVS 1.1, and outside of a few minor issues which I was able to resolve, it seems to be up and running.

    Question: Where? How? do I put the shipping costs?

    I see the page to set up the vendors, but nothing else that seems to be for setting up shipping modules per vendor.

    All I see is (on the edit vendor page)

    This doesn't tell me anything other than it is a suggestion to set a rule per vendor. This doesn't seem to allow me to set a combination of shipping options. Where do I set the shipping options?

     

    Thank you.

    From the page showing you the list of Vendors, you will see a button, "Manage", select the Vendor you want to work with, and click that button. You will see the shipping modules available to install for the selected Vendor.

     

    Good luck, Craig :)

  5. Thanks for responding. I've installed MVS 1.1, and outside of a few minor issues which I was able to resolve, it seems to be up and running.

    Question: Where? How? do I put the shipping costs?

    I see the page to set up the vendors, but nothing else that seems to be for setting up shipping modules per vendor.

    All I see is (on the edit vendor page)

    This doesn't tell me anything other than it is a suggestion to set a rule per vendor. This doesn't seem to allow me to set a combination of shipping options. Where do I set the shipping options?

     

    Thank you.

    From the page showing you the list of Vendors, you will see a button, "Manage", select the Vendor you want to work with, and click that button. You will see the shipping modules available to install for the selected Vendor.

     

    Good luck, Craig :)

  6. One vendor works great, with USPS shipping option.

    Vendor Two, with UPS receives this error:

     

    110604: Invalid package declared value

     

    And then I receive this e-mail message:

    UPSXML Rates Error: 110604: Invalid package declared value experienced by customer

    Any thoughts?

    Hmmm...

     

    Well it sounds like perhaps your insurance value is not a value UPS likes, which UPS module did you setup for this Vendor?

     

    Is there a version that is recommended? I'm looking at the contributions and they seem to be in bits and pieces added to the mix here and there by different people. It is confusing and disheartening if I have to start with a very old version and make 15 or so updates.

    No, MVS 1.1 should be the only REAL package you should download. There are a few bugs to be corrected though. I have simply been too busy to put together an updated package with complete instructions. The best thing to do is to install MVS 1.1(make sure you backup your site first, including ALL files that are changed or replaced) and if you encounter any issues, then come and search through this thread(there is a search function) to find the bug fix.

     

    Good luck to both of you, Craig :)

  7. I'm trying to install MVS 1.1 right now, and I'm having some trouble. I just followed all the instructions in Admin_Install.txt and then before going on to Catalog_Install.txt, I wanted to make sure I did everything right so far. Hence, I went to the /admin/index.php, and I get this:

     

    Fatal error: Cannot redeclare tep_cfg_select_multioption() (previously declared in /home/alfaelec/public_html/shop/admin/includes/functions/general.php:66) in /home/alfaelec/public_html/shop/admin/includes/functions/general.php on line 835

     

    I recognize tep_cfg_select_multioption($select_array, $key_value, $key = '') to be part of what Admin_Install.txt told me to put in after lines 10-11:

     

      Released under the GNU General Public License
    */

     

    The overall code it told me to put in was:

     

    //// MVS start  
    // Sets the Vendor Send Order Emails
     function tep_set_vendor_email($vendors_id, $vendors_send_email) {
    if ($vendors_send_email == '1') {
      return tep_db_query("update " . TABLE_VENDORS . " set vendors_send_email = '1' where vendors_id = '" . (int)$vendors_id . "'");
    } elseif ($vendors_send_email == '0') {
      return tep_db_query("update " . TABLE_VENDORS . " set vendors_send_email = '0' where vendors_id = '" . (int)$vendors_id . "'");
    } else {
      return -1;
    }
     }
    
     function tep_get_vendors_info($product_id, $vendors_id, $language_id = 0) {
    global $languages_id;
    
    if ($language_id == 0) $language_id = $languages_id;
    $product_query = tep_db_query("select * from " . TABLE_VENDORS . " where " . TABLE_VENDORS . " .vendors_id = " . TABLE_PRODUCTS . " .vendors_id and products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'");
    $product = tep_db_fetch_array($product_query);
    
    return $product['vendors_name'];
     }
    
     function tep_get_vendors_prod_comments($product_id) {
    $product_query = tep_db_query("select vendors_prod_comments from " . TABLE_PRODUCTS . " where products_id = '" . (int)$product_id . "'");
    $product = tep_db_fetch_array($product_query);
    
    return $product['vendors_prod_comments'];
     }
    
     function tep_get_vendor_url($vendor_id, $language_id) {
    $vendor_query = tep_db_query("select vendors_url from " . TABLE_VENDORS_INFO . " where vendors_id = '" . (int)$vendor_id . "' and languages_id = '" . (int)$language_id . "'");
    $vendor = tep_db_fetch_array($vendor_query);
    
    return $vendor['vendors_url'];
     }
    // works to send copy of EVERY EMAIL SENT FROM STORE uncomment to use
    /*
    if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
      $message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $from_email_name, $from_email_address, $email_subject);
    }  */
    
     // Alias function for array of configuration values in the Administration Tool
     function tep_cfg_select_multioption($select_array, $key_value, $key = '') {
    for ($i=0; $i<sizeof($select_array); $i++) {
      $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value');
      $string .= '<br><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"';
      $key_values = explode( ", ", $key_value);
      if ( in_array($select_array[$i], $key_values) ) $string .= 'CHECKED';
      $string .= '> ' . $select_array[$i];
    }
    return $string;
     }
    //MVS End

     

    I'm about to install the catalog and run the mvs.sql too to see if it helps, but I doubt it will change anything for this error.

    Simple enough, remove the function. What causes this is that while installing another contrib at some point, you already have the function installed. MVS uses it as well, and there is no way of knowing if a shop owner has installed another contribution that would have installed any particular function or bit of code.

     

    Keep in mind that the instructions are based on an "a virgin install of osCommerce", so if you have installed other contributions, there could be conflicts, one must pay close attention and back up all files being modified.

     

    Good luck, Craig :)

  8. The latest full release is MVS 1.1, dated 27 Oct 2006. There is one fix there also, dated 5 Feb 2007, and at least one more a few pages back in this thread. Sorry, but Craig has been too busy to put together another release, and I'm the same.

     

    Regards

    Jim

    Yeah, I am very sorry folks, I keep getting into it and then getting hammered with work. There are a number of udpates(not many critical) for the next release and I need to write up better installation instructions this time. These updates will hopefully include bugfree compatibility updates for "register_globals", and several other updates and changes that took place in the osC RC1 release. I had originally intended to put my efforts into re-writing MVS to work with MS3, but it seems I will be better off working towards the MS2 final release.

     

    I am still trying to keep up with the support here too, and I know I have been remiss in my responses. But don't worry, MVS will not fall by the way side, it's too good for that.

     

    A note to all looking for shipping modules, there are many that have already been modified for MVS, be sure to look aroung the contribution pages for MVS versions. And search this "way to big" thread, some folks have simply offered bits of code for some of the simpler shipping modules.

     

    Craig :blush: :)

  9. I am not entirely certain but I believe this to be an MVS error.

     

    I have made a few mods to my store and have only noticed this error recently.

     

    After an order is made and when there are attributes attached to the item, the invoice actually lists the product twice like this:

     

    Vendor Products Shipper Method Ship Cost Model Tax Price (ex) Price (inc) Total (ex) Total (inc)

    AzureGreen

    Shipment Number 1 of 2

    Vendor Order Sent: yes USPS Parcel Post 9.5600 - ship tax

    0.0000 - - - -

    1 x TEST PRODUCT

    - Size: 1 lb (+$2.00) - - - TEST100 6.25% $12.00 $12.00 $12.00 $12.00

    AzureGreen

    Shipment Number 2 of 2

    Vendor Order Sent: yes table Best Way 7.0000 - ship tax

    0.0000 - - - -

    1 x TEST PRODUCT

    - Size: 1 lb (+$2.00) - - - TEST100 6.25% $12.00 $12.00 $12.00 $12.00

    Sub-Total: $12.00

    IL TAX 6.25%: $0.75

    Best Way: $7.00

    Total: $19.75

    I know it's hard to read without the table, but you get the general idea. The grand order total works correctly, it just lists the product as two separate shipments.

     

    Anyone have any idea why? If not, does anyone know which file I should look into to correct this? There are no errors that come up during the checkout process.

     

    Thanks in advance!!

    This looks like a file editing error. Since I have never seen it happen before(installed MVS on literally dozens of sites) I can only guess as to where the error may have been made. First, have you checked the database directly to see if the information being stored is accurate? This is important since if it is being stored improperly at the beginning, we know the error is in the checkout process itself. This could in theory happen without anything showing during checkout, so it is possible. Most likely, this would point to "checkout_process.php" on the catalog side. It could also be includes/classes/shopping_cart.php or order.php.

     

    If the data is correct in the database, then the error is probably on the Admin side, probably in includes/classes/order.php. Most all the data is collected there, so that is the first place to look.

     

    One important addendum to my last post:

     

    I recently changed from weight-based shipping to the table rate method. I have no other shipping methods installed. I have verified this in both the admin/modules/shipping section as well as with the individual vendors. On this particular vendor, however, USPS is showing a "sort order" of 0 even though the module has literally been uninstalled.

     

    One of the "quotes" on the invoice shows shipping with USPS and gives their rate, and then the second "quote" is showing the table rate method (as it should).

     

    It feels like OsC and/or MVS seems to think that I still have USPS shipping installed somewhere even though I have double-checked that I do not.

     

    Any suggestions....?

     

    (*crossed fingers*)

    This is from a bug in the display of the sort order in the Admin, nothing to worry about, but it can be a bit disconcerting. I have this fixed in the new version(if I ever get around to finishing it up and uploading it). If I have time later tonight, I will post here what was changed to deal with this bug.

     

    Good luck, Craig :)

  10. I found the code in catalog/checkout_process.php and made the change that you specified. I am still having the same issue. When any Vendor is set to "send emails" all Vendors are updated to "yes" even though the only Vendor sent an e-mail is the one set to send it. My settings are to send the e-mail from admin and automatically do so when the Status is set to Processing. V1 is set to send e-mail. V2 and V3 are set to don't send e-mail. From what you explained earlier and looking at the code you posted I don't understand why it always looks like this:

     

    Order Sent to V1: yes

    Order Sent to V2: yes

    Order Sent to V3: yes

     

    when it should look like this:

     

    Order Sent to V1: yes

    Order Sent to V2: no

    Order Sent to V3: no

     

    Am I just being picky or is this not functioning properly? I want to make things easy for my staff and this is at best confusing and could cause problems when an employee thinks the order was sent to the vendor when it in fact was not.

     

    I really appreciate your help and insight and await your response

     

    Thanks!!

     

    shpkeeper

    I don't know what to tell ya, it works fine on all the shops I have installed MVS on and on my test server(PHP5 and MYSQL5), so I am not sure what else to suggest. If your using the admin only for the emails, then the code I posted in my last response would be the only one that would make any difference. If you have tried that, I am out of ideas.

     

    I will post back if I come up with anything, try to do some debugging and make sure all your edits are correct.

     

    Craig :blink:

  11. Craig,

    Thank you for the very fast response. You are talking about admin/orders.php for the change in code correct?

     

    I was taking a look at that file and I do not see where that code is you were referring to?

     

    I found this code though, but it is not the same

    tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS)  ;
        $vendor_order_sent = true;
    
    if ($debug == 'yes') {
              echo 'The $email(including headers:<br>Vendor Email Addy' . $the_email . '<br>Vendor Name' . $the_name . '<br>Vendor Contact' . $the_contact . '<br>Body--<br>' . $email . '<br>';
              }
    
           if ($vendor_order_sent == true) {
            tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = 'yes' where orders_id = '" . (int)$oID . "'");
    }
    // header ("Location: [url="http://newfedora/3/admin/orders.php?page=1&oID=""]http://newfedora/3/admin/orders.php?page=1&oID="[/url] . $oID . "&action=edit");
     }
    
    return true;
    }

     

    Please help!! Is there something wrong with thew code above?

     

    Thanks!!

     

    shpkeeper

    Nothing wrong with it, that is from admin/orders.php. The code change I posted would be in checkout_process.php.

     

    To change the code in admin/orders.php to be more foolproof, you would only need to change one 2 lines of code:

    tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) ;
     $vendor_order_sent = true;

    to this:

    if (tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) )
     $vendor_order_sent = true;

    That should do it, let me know what you end up with, Craig :)

  12. I am having a similar issue to what is described above. At first it was exactly as the above issue. I then implemented the fix in admin/orders.php and catalog/checkout_process.php. The e-mails seem to be sending/or not sending fine depending on whether "send e-mail's" is selected or not in the Vendor section. The problem I am now having is that on orders with more than 1 vendor, if even 1 vendor is set to "send e-mail's" all Vendors are updated to sent. See below.

     

    Order Sent to V1: yes

    Order Sent to V2: yes

    I do not have "send e-mail's" set as active for V2, but do have it set active for V1. It should look like below.

     

    Order Sent to V1: yes

    Order Sent to V2: no

     

    V1 is sent an e-mail, but V2 seems to not send an e-mail. Why are they both then updated to "yes"?

     

    I have been searching for a fix or answer to my problem with no luck and would like for this key feature to work as it is supposed to. I guess i could set all vendors to not "send e-mail's" and manually send the e-mail on the admin/orders.php, but that defeats the purpose of having this automated feature.

    Any help would be Greatly Appreciated as I personally cannot figure it out

     

    Thanks

    shpkeeper

     

    Hmmm..

     

    that is a strange one. The emails are sent by this code:

    	tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) ;
     $vendor_order_sent = true;
    
    if ($debug == 'yes') {
    	   echo 'The $email(including headers:<br>Vendor Email Addy' . $the_email . '<br>Vendor Name' . $the_name . '<br>Vendor Contact' . $the_contact . '<br>Body--<br>' . $email . '<br>';
    	   }
    
    	if ($vendor_order_sent == true) {
    	 tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = 'yes' where orders_id = '" . (int)$oID . "'");
    }

     

    This is from admin/orders.php, I have just now realized that the same code in checkout_process.php does have one difference,

    	tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) ;
     $vendor_order_sent = 'yes';
    
     tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = '" . tep_db_input($vendor_order_sent) . "' where orders_id = '" . (int)$oID . "'  and vendors_id = '" . (int)$vendors_id . "'");
    
     if ($debug == 'yes') {
    	   echo 'The $email(including headers:<br>Vendor Email Addy' . $the_email . '<br>Vendor Name' . $the_name . '<br>Vendor Contact' . $the_contact . '<br>Body--<br>' . $email . '<br>';
    	   }
     }

    Note that for some reason I did not use an "if" statement here. That could be your issue. It shouldn't, but it could be.

     

    To make this more foolproof, do this,

     

    change:

     tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) ;
     $vendor_order_sent = 'yes';
    
     tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = '" . tep_db_input($vendor_order_sent) . "' where orders_id = '" . (int)$oID . "'  and vendors_id = '" . (int)$vendors_id . "'");

    to

      if (tep_mail($the_name, $the_email, EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID ,  $email .  '<br>', STORE_NAME, STORE_OWNER_EMAIL_ADDRESS) ) $vendor_order_sent = 'yes';
    
       if ( $vendor_order_sent == 'yes') {
     tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = '" . tep_db_input($vendor_order_sent) . "' where orders_id = '" . (int)$oID . "'  and vendors_id = '" . (int)$vendors_id . "'");
    			   } else {
    	  tep_db_query("update " . TABLE_ORDERS_SHIPPING . " set vendor_order_sent = 'no' where orders_id = '" . (int)$oID . "'  and vendors_id = '" . (int)$vendors_id . "'");
    			   }

     

    And let me know what you get.

     

    Good luck, Craig :)

  13. Are you using a modified version beyond the latest release of UPS Choice?

    As far back as I can remember, it was the latest release that we used.

     

    It is still functional, and works very nicely. What I would like to do ultimately is re-write the UPS and FedEx modules to be a bit more effiecient, but that will take a lot of time, and I have been short on time.

     

    Good luck with your shop, Craig :)

  14. In the base MVS includes/modules/vendors_shipping directory, there are two UPS modules, ups.php and upsxml.php. I have one site that uses the ups.php within MVS and it works great. Estimates are nearly perfect-unlike the upsxml.php module.

     

    I have another non-MVS site that I would like to incorporate the ups.php module into instead of the upsxml.php bu I cannot find the contrib for it in the list. Could anyone tell me where this comes from (ups.php) for MVS? Was it developered for MVS only or is it available for a non-MVS site?

    That was UPS Choice from the contributions page. That is a very old module, and I am a bit surprised it still functions at all. But I use that one my self, and agree that for some reason, the rates it returns do seem to be more accurate.

     

    Craig :)

  15. Just tried your demo and when I check out I get the following errors...

     

    Warning: Invalid argument supplied for foreach() in /home/bcsales/public_html/mvs/checkout_process.php on line 125

     

    Warning: Cannot modify header information - headers already sent by (output started at /home/bcsales/public_html/mvs/checkout_process.php:125) in /home/bcsales/public_html/mvs/includes/functions/general.php on line 33

     

    and when I get the email through it looks like this (sorry dont have time to read 151 pages incase this has already been mentioned)

     

    MVS0

    ------------------------------------------------------

    Order Number: 34

    Detailed Invoice: http://blucollarsales.com/mvs/account_hist...php?order_id=34

    Date Ordered: Thursday 31 May, 2007

     

    Products

    ------------------------------------------------------

    There will be at least 0 packages shipped.

    ------------------------------------------------------

    Sub-Total: $330.97

    Flat Rate (Best Way): $5.00

    Total: $335.97

     

    Delivery Address

    ------------------------------------------------------

    fred fred

    32 test

    test, tS6666F

    test, United Kingdom

     

    Billing Address

    ------------------------------------------------------

    fred fred

    32 test

    test, tS6666F

    test, United Kingdom

     

    Payment Method

    ------------------------------------------------------

    Cash on Delivery

    I had been working with some modifications and hadn't updated it back to functioning yet. My bad, will try to get it back to normal again by the weekend.

     

    Craig :)

  16. hiya,

     

    in file: admin/vendor_email_send.php, i noticed a few lines of code referring to this url: http://newfedora/3/admin/post_vendor_order.php

     

    if ($vendors_email_list['vendors_id'] == 1) {
     $order_number = $oID;
     $product_codes = $vendors_email_products['vendors_prod_id'] .  $vendors_email_products['products_model'];
     $p_name = $vendors_email_products['customers_name'];
     $p_email = $vendors_email_products['customers_email_address'];
     [b]$url = 'http://newfedora/3/admin/post_vendor_order.php';[/b]
     $request_string .= 'order_number=' . $oID;
     $request_string .= 'product_codes=' . $product_codes;
     $request_string .= 'customer_name=' . $p_name;
     $request_string .= 'customer_email=' . $p_email;
    //  echo  'The string of data: ' . $request_string . '<br>';
    
    header ("Location: [b]http://newfedora/3/admin/post_vendor_order.php?order_number=".$order_number."&product_codes=".$product_codes."&p_name=".$p_name."&p_email=".$p_email);

    [/b]

     

    anyone know what this is for? im bit curious, if not a bit paranoid.. ;)

    thanks,

     

    JJ

    You should also have noticed the notes in this block of code that state it is for developement purposes only. "newfedora" is the name of my home test server and I left that in so anyone wanting to explore other options with the vendor email(such as posting data to another web page) might use it if they so desired. Nothing malicious about it, you would have heard about it by now considering that's been there since the second or third release I think.

     

    No big deal, I guess I should clean all that out with the next release.

     

    Craig :)

  17. Can anyone tell me how vendor Tare Weight works?

     

    thanks,

    Ron

    The tare weight is the weight of the box, so if the product weighs 6 lbs, the tare weight is set to 1 lb, the final weight would be 5 lbs. The tare weight is deducted from the total weight of a given package in an attempt to determine the weight of the box, without the product.

     

    Odd thing is, I don't think we are actually using if for anything. It was added for completeness, but I'm not sure that we ever implemented anything that uses that value. LOL

  18. Anybody there? I would appreciate somebody to post checkout_shipping.php code...

     

    Thanks in advance

    You shouldn't need that file posted. Use the one included in the package to do a comparison with. One of the problems I see is that you don't have the "define" installed. The uppercase string of text is a constant, that get's defined in the language files.

     

    This one should be in includes/languages/english/checkout_shipping.php,

    define('TABLE_HEADING_SHIPPING_METHOD', 'Shipping Method');

     

    Your "headers already sent" issue is different, usually from some bit of code being done twice, or an error in the code preventing the script from completing it's job(like an extra bracket( } or { ).

     

    If you use a file comparison tool, such WinMerge, which is free from source forge(google it and you will find it) you will probably be able to find your problem.

     

    Good luck, Craig :)

  19. Yep - I using MVS 1.1 posted by bluecollarguy on April 1st 2006 from here:

     

    http://www.oscommerce.com/community/contributions,4129

    That's awfully strange. I just downloaded it(again, must be about the 100th time I've downloaded that package to see if I missed something) and uploaded that file directly to my production server and all is fine. I copied it over to my testing server(PHP 5, and MySql 5.0) and it worked fine there as well.

     

    Not sure how that could possibly be happening, but I guess if you've got it working that's all that counts.

     

    Good luck, Craig :)

  20. This MVS is great and exactly what I needed. But Iam having one problem.

     

    I am getting the following error with FEDEX during checkout?

     

    Warning: Missing argument 2 for _setservice() in /home/thefu5/public_html/includes/modules/vendors_shipping/fedex1.php on line 274

     

    Warning: Cannot modify header information - headers already sent by (output started at /home/thefu5/public_html/includes/modules/vendors_shipping/fedex1.php:274) in /home/thefu5/public_html/includes/functions/general.php on line 33

     

    Has anyone else seen this or do they know what causes it?

     

    You can recreate the error at:

     

    http://www.thefuzzyslippertradingpost.com

     

    Go to the candles section and try to checkout using any of the FEDEX options.

     

    I am pretty sure I can solve the header info problem but it is the first message that has me baffled.

     

    I have been up all night and I can't find what's wrong. Then again I am not a PHP expert or programmer by any means.

     

    Thanks in advance for any help.

    That was a bug in the fedex1.php file. I used the wrong file when I put together that package and we had posted the fix not long after I upoloaded it.

     

    Find this line:

    function _setService(

    The complete function you have probably looks like this:

    	function _setService($service, $vendors_id = '1') {
      $this->service = $service;
    }

    Change it to:

    	function _setService($service) {
      $this->service = $service;
    }

    And your problem should go away.

     

    Craig :)

  21. Hi guys,

     

    Great contribution - hats off to you ;-)

     

    I just installed MVS 1.1 on a vanilla install of OSC. All is good except I get this when I click "Vendor Orders List" in Admin:

     

    Parse error: parse error, unexpected $end in x:\xxx\xxxxxxx\admin\orders_by_vendor.php on line 234

     

    Any ideas? I'm running locally at the moment:

     

    Apache 2.0.52

    MySQL 5

    PHP 5.1.6

     

    thanks

     

    Jason

    My first guess would be simply a corrupted file. Try unpacking and copying it over again. As far as I know, no body else has had this problem.

     

    Good luck, Craig :)

  22. I really hate to repost but I think that sometimes a post can get lost in the shuffle. I want repost this again, promise.

    Gary

    Check the language files for the kg/lb thing. I am not sure about where else that may be changed right now, there is something in the back of my mind about it, but I can't quite put a finger on it.

    The handling fee: do a search for it, you should find some code posted some pages back, several of the modules did not end up with the right code to add the vendor handling fee.

     

    Good luck, Craig :)

     

    Hello!

     

    Having difficulty with the invoice feature in admin - have MVS installed. When I go to a couple of different customer orders and one that I know had all items ship from the same vendor - the invoice shows 4 packages to be shipped (there will only be one). Also shows 4 shipment numbers #1 shows the products, #2 does not, #3 does again and so does #4. The Weird thing is it shows the correct totals. However this is what the customer is able to see. Can anyone suggest a fix?

     

    Thanks

    Pete

    This sounds a lot like the edits in classes/order.php in the Admin. If all is well there, then double check your edits in checkout_process.php on the catalog side. That file does all the database work for each order, and obviously, is very important.

     

    Good luck, Craig :)

  23. I cant seem to find any info on this....but I thought that the vendor would get an auto email when someone orders something from them - how ever I seem to have to send it manually - is that correct? Have I cocked something up?

     

    Thanks

     

    Stuart

    Did you set the Vendor to "send emails" in the Vendor admin page, and set the "status" for when the email would be sent to the proper status?

     

    If you've done those things and it still doesn't work, then you will need to check your edits in "checkout_process.php", that's where the emails are built and sent.

     

    Good luck, Craig :)

  24. Craig, Thanks for the help, I really appreciate it. I took a look at the mySQL version (ver. 4.1.14) and his situation doesn't appear to apply to mine. I still think it's an environment issue though. The only problem is that I am unable to save changes to settings in the modules. this goes for shipping modules, credit card modules, etc. I'm not seeing a problem in the error log, and the HTML form appears to be posting fine. We have another version of osCommerce w/ MVS running on a different server and it works with no problems. Is there anything else you can think of that may be the cause of this problem? Thanks again!!!:)

    Check your php settings, depending on your server, you may have a number of things you can do. It's hard to say exactly what, but you can play with it a bit and see what you can get.

     

    Craig :)

×
×
  • Create New...