Jump to content

marretjeca

Members
  • Content count

    25
  • Joined

  • Last visited

Posts posted by marretjeca


  1. It'll probably be a while. I have to install it on a 2.3.1 store that has a bunch of other mods, so I can't just post that. I'll have to port it to a clean copy of 2.3.1 and test that. And update the instructions. MVS is big, so it's a lot of work to put out a release.

     

    If you want to do this sooner, use 1.2.4 and patch the files using a comparison program. The changes are all marked. The only tricky part is going to be checkout_shipping.php. I haven't done that part yet, but I will soon, so I can help with that.

     

    Regards

    Jim

     

    That's why I start with MVS ;)

    I'll see how far I can get with version 1.2.4. Thanks for that suggestion! And yeah I'll probably need some help with checkout_shipping.php. That one has given me headaches in the past... :rolleyes:

     

    Marja


  2. The 3 Mar 2010 release is 1.2.4. Sorry, I forget that the numbering isn't clear. Anyway, use that version with osCommerce 2.2RC2a. I'm working on a release for osC 2.3.1.

     

    Regards

    Jim

     

     

    I was hoping that 1.2.4 was the release for OsCommerce 2.3.1

    We have to upgrade our shop for multiple reasons, so we are starting over from scratch with OSCv2.3.1. One of the 'must haves' is multi-vendor support. osCommerce 2.2RC2a with MVS 1.2.3 worked really nice for us.

    How long will it take, you think, for you to release this new version?

     

    Regards, Marja


  3. Hi Jim

     

    It's been awhile...

    I had a good look into the database as you suggested, removed a obsolete vendor with no values for vendor_shipping_installed_x. It does not make a difference...

     

    Don't know if it is a 'real' solution... but I reinstalled MVS 1.2.3. And this did the trick.

     

    On a side note: when using /admin/prods_by_vendor.php and admin/orders_by_vendor.php from version 1.2.3 those pages did not select the vendor in the drop-down box. The files from the previous version (1.2.2) did work well.

     

    Thanks.


  4. The error message is saying that the array does not exist. The array consists of the installed shipping modules. This array comes from MODULE_VENDOR_SHIPPING_INSTALLED_x (where x is the vendor ID.) These values are stored in the vendor_configuration table in your database. Check that there is a value stored for each vendor, and that the value contains the name(s) of one or more shipping modules. Also check for duplicate entries for each vendor.

     

    Regards

    Jim

     

    Hi Jim

     

    It's been awhile...

    I had a good look into the database as you suggested, removed a obsolete vendor with no values for vendor_shipping_installed_x. It does not make a difference...


  5. Help please..

     

    Customers can not place a order in our shop (www.shop.potatopro.com)

     

    On the page catalog/checkout_shipping.php I get this warning:

    Warning: reset() [function.reset]: Passed variable is not an array or object in /home2/foodinno/public_html/catalog/includes/classes/vendor_shipping.php on line 48

     

    On what the next page should be i get:

    Warning: reset() [function.reset]: Passed variable is not an array or object in /home2/foodinno/public_html/catalog/includes/classes/vendor_shipping.php on line 48

     

    Warning: Cannot modify header information - headers already sent by (output started at /home2/foodinno/public_html/catalog/includes/classes/vendor_shipping.php:48) in /home2/foodinno/public_html/catalog/includes/functions/general.php on line 37

     

    Code from catalog/includes/classes/vendor_shipping.php

     } else {
           reset($modules_array);
           foreach ($installed_modules_array as $value) {
             $class = substr($value, 0, strrpos($value, '.'));
             $include_modules[] = array('class' => $class, 
                                        'file' => $value);
           }//foreach
         }//if tep_not_null

     

    Can some body help me out fixing this error?


  6. 1. I am playing around with my local installation of MVS-1.1 and I noticed that when I try to send a Vendor-Email from a Pending Order out of the Admin-Section I get a red "contact" mark in the upper right corner of my stroe. Obviously that wants to tell me to set a contact address, but that address has been set (normal address and Email Address).

     

    2. Also the huge field where I could enter some message into the Body of the Email is more then 100% wide. Where would I narrow done the size of that filed.

     

    3. The field is completly empty, where it says "You may edit the email here:"

     

    Any hints?

     

    Thank you for your Feedback.

     

    Best

    Zeno

     

    PS: Sending Emails from checkout_order.php is now working great.

     

     

    hey, item number 3 is also happening to my shop, did you find a solution for this?

    Marja


  7. Did you use the MVS 1.1 from 1 Apr 2006? If not, back off and start over. If you did, take a look at the /admin/vendors.php fix on the MVS distribution page. If you're still having problems, try searching the MVS forum thread for "Vendors Products Report".

     

    Regards

    Jim

     

     

    Thanks for the response, Yes i did use the mvs from 1 april 2006, and yes I did replace the /admin/vendors.php fix from the MVS distribution page.

    The strange thing is that it is happening on both a heavenly modified install an d a brand new sqeaky clean install of OsCommerce.

     

    Regards, Marja


  8. Hi after several days searching everywhere, I give up. I installed MVS1.1 and it is working fine except for the Vendors Products Report page and the Orders by Vendor Page. Nothing happens: the drop down falls back to none, and no vendors are being shown.Because the shop is heavenly modified I installed a new fresh clean instance from oscommerce and installed just MVS1.1. To my great surprise the same thing happened.

    After reading this post I tried to turn on and off register global in php.ini, but that did not help either.

     

    Who can help me out here?

     

     

    Thanks, Marja

     

    :)

    blafrog

    Mar 14 2007, 04:54 AM

    I have the same problems, no orders in order list, no products in Vendors Products Report, no emails sent etc.. because I installed register global patch (cause mine is set "OFF").

    I finally got it working, just set register global on in php.ini. Some contributions not working, now they seem all working fine like, anti robot reg, super contact us enhancement..

     

    <?php
    /*
      $ID: prods_by_vendor.php (for use with MVS)
      by Craig Garrison Sr, BluCollar Sales
     for MVS V1.0 2006/03/25 JCK/CWG
     osCommerce, Open Source E-Commerce Solutions
     [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]
    
     Copyright © 2006 osCommerce
    
     Released under the GNU General Public License
    */
    
     require('includes/application_top.php');
    
     require(DIR_WS_CLASSES . 'currencies.php');
     $currencies = new currencies();
     $sort_by_filter2 = $sort_by_filter;
     if (!isset($sort_by_filter)) {
     $sort_by_filter = 'p.products_price';
     }
     if ($sort_by_filter == 'prod') {
     $sort_by_filter = 'pd.products_name';
     } elseif ($sort_by_filter == 'vpid'){
     $sort_by_filter = 'p.vendors_prod_id';
     } elseif ($sort_by_filter == 'pid'){
     $sort_by_filter = 'p.products_id';
     } elseif ($sort_by_filter == 'qty'){
     $sort_by_filter = 'p.products_quantity';
     } elseif ($sort_by_filter == 'vprice'){
     $sort_by_filter = 'p.vendors_product_price';
     } elseif ($sort_by_filter == 'price'){
     $sort_by_filter = 'p.products_price';
     }
    
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <script language="javascript" src="includes/general.js"></script>
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="100%" cellspacing="2" cellpadding="2">
     <tr>
       <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
           </table></td>
    <!-- body_text //-->
       <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
         <tr>
           <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
             <tr>
               <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
               <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td valign="top">
              <table border="0" width="100%" cellspacing="0" cellpadding="2">
               <tr>
               <?php
               //vendors_email start
       $vendors_array = array(array('id' => '1', 'text' => 'NONE'));
       $vendors_query = tep_db_query("select vendors_id, vendors_name from " . TABLE_VENDORS . " order by vendors_name");
       while ($vendors = tep_db_fetch_array($vendors_query)) {
         $vendors_array[] = array('id' => $vendors['vendors_id'],
                                        'text' => $vendors['vendors_name']);
       }
             ?>
                   <td class="main" align="left"><?php echo TABLE_HEADING_VENDOR_CHOOSE . ' '; ?><?php echo tep_draw_form('vendors_report', FILENAME_PRODS_VENDORS) . tep_draw_pull_down_menu('vendors_id', $vendors_array,'','onChange="this.form.submit()";');?></form></td>
                   <td class="main" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_VENDORS) . '"><b>Go To Vendors List</a>';?>
        <td></tr>
        <tr>
    
               <td class="main" align="left"><br>
               <?php
               if ($show_order == 'desc') {
                echo 'Click for <a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=' . $sort_by_filter . '&show_order=asc') . '"><b>ascending order</b></a>';
                } else {
               echo 'Click for <a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=' . $sort_by_filter . '&show_order=desc') . '"><b>descending order</b></a>';
               }
               ?>
               </div></td>
                 </tr>
               </table><?php
     if (isset($vendors_id)) { ?>
               <?php
     // $vendors_id = $HTTP_POST_VARS['vendors_id'];
     $vend_query_raw = "select vendors_name as name from " . TABLE_VENDORS . " where vendors_id = '" . $vendors_id . "'";
     $vend_query = tep_db_query($vend_query_raw);
     $vendors = tep_db_fetch_array($vend_query); ?>
           <tr>
           <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
             <tr>
               <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="1">
                 <tr class="dataTableHeadingRow">
                   <td class="dataTableHeadingContent" align="left"><?php echo TABLE_HEADING_VENDOR; ?></td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=prod') . '">' . TABLE_HEADING_PRODUCTS_NAME . '</a>'; ?> </td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=vpid') . '">' . TABLE_HEADING_VENDORS_PRODUCT_ID . '</a>'; ?></td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=pid') . '">' .  TABLE_HEADING_PRODUCTS_ID . '</a>'; ?></td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=qty') . '">' .  TABLE_HEADING_QUANTITY . '</a>'; ?></td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=vprice') . '">' .  TABLE_HEADING_VENDOR_PRICE . '</a>'; ?></td>
                   <td class="dataTableHeadingContent" align="left"><?php echo '<a href="' . tep_href_link(FILENAME_PRODS_VENDORS, '&vendors_id=' . $vendors_id . '&line=price') . '">' .  TABLE_HEADING_PRICE . '</a>'; ?></td>
                 </tr>
                 <tr class="dataTableRow">
        <td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_VENDORS, '&vendors_id=' . $vendors_id . '&action=edit') . '" TARGET="_blank"><b>' . $vendors['name'] . '</a></b>'; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
        <td class="dataTableContent"><?php echo ''; ?></td>
    
    <?php
    // if (isset($HTTP_GET_VARS['page']) && ($HTTP_GET_VARS['page'] > 1)) $rows = $HTTP_GET_VARS['page'] * MAX_DISPLAY_SEARCH_RESULTS - MAX_DISPLAY_SEARCH_RESULTS;
     $rows = 0;
             if($show_order == 'desc') {
     $products_query_raw = "select p.products_id, p.vendors_id, pd.products_name, p.products_quantity , p.products_price, p.vendors_product_price, p.vendors_prod_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.vendors_id = " . $vendors_id . " and pd.language_id = " . $languages_id . " order by " . $sort_by_filter . " desc";
             } elseif ($show_order  == 'asc') {
      $products_query_raw = "select p.products_id, p.vendors_id, pd.products_name, p.products_quantity , p.products_price, p.vendors_product_price, p.vendors_prod_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.vendors_id = " . $vendors_id . " and pd.language_id = " . $languages_id . " order by " . $sort_by_filter . " asc";
             } else {
       $products_query_raw = "select p.products_id, p.vendors_id, pd.products_name, p.products_quantity , p.products_price, p.vendors_product_price, p.vendors_prod_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.vendors_id = " . $vendors_id . " and pd.language_id = " . $languages_id . " order by " . $sort_by_filter . "";
       }
    /*  $products_split = new splitPageResults($HTTP_GET_VARS['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows);
     Decide not to use SPLIT pages for the $vendors_id variable not being maintained.
     */
    
     $products_query = tep_db_query($products_query_raw);
     while ($products = tep_db_fetch_array($products_query)) {
       $rows++;
    
       if (strlen($rows) < 2) {
         $rows = '0' . $rows;
       }
    ?>
                  <tr class="dataTableRow">
                   <?php if($products['vendors_prod_id']=='') {
                       $products['vendors_prod_id']= 'None Specified';
                       } ?>
                   <td class="dataTableContent"><?php echo ''; ?></td>
                   <td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_CATEGORIES, 'action=new_product&pID=' . $products['products_id']) . '" TARGET="_blank"><b>' . $products['products_name'] . '</a></b>'; ?></td>
                   <td class="dataTableContent"><?php echo $products['vendors_prod_id']; ?></td>
                   <td class="dataTableContent"><?php echo $products['products_id']; ?></td>
                   <td class="dataTableContent" align="left"><?php echo $products['products_quantity']; ?> </td>
                   <td class="dataTableContent"><?php echo $products['vendors_product_price']; ?></td>
                   <td class="dataTableContent"><?php echo $products['products_price']; ?></td>
                     </tr>
    <?php
     }
     }
    ?>
               </table></td>
             </tr>
             <tr>
               <td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="2">
                 <tr>
                   <td class="smallText" valign="top"><?php
                //   echo $products_split->display_count($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $HTTP_GET_VARS['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS);
                   ?></td>
                   <td class="smallText" align="right"><?php
                 //   echo $products_split->display_links($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $HTTP_GET_VARS['page'].$vendors_id);
                    ?></td>
                 </tr>
               </table></td>
             </tr>
           </table></td>
         </tr>
       </table></td>
    <!-- body_text_eof //-->
     </tr>
    </table>
    <!-- body_eof //-->
    
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


  9. Chalk up another crying user - same thing. I have no idea what to do and I cannot find any real fixes anywhere...

     

    I am using Alternative_Attributes7 and getting

     

    1136 - Column count doesn't match value count at row 1
    
    insert into products_attributes values ('', '481', '8', '1163', '', '')
    
    [TEP STOP]

     

    I don;t even know how to decipher the error to start looking - can anybody help?

     

     

    Hi

     

    Same problems here with the attribute sort contribution...

     

    Anybody found a solution?

     

    Thanks!


  10. HI all,

     

    I'm looking every where in google , this forum, my files in the webshop, but I seem to overlook where I can define this: ERROR_NO_SHIPPING_SELECTED_SELECTED.

     

    I tried in to put it in the language files (catalog/includes/languages/english|checkout_shipping.php) but that did not work.

     

    Installed are: Google checkout, MVS, Extra Fields and a few little ones.

     

    Thanks,

    Marja


  11. add Shipping modules to the standard included list of shipping module

     

     

    How can I add a shipping module other than the standard included modules? I would like to add multizone multitable to a specific vendor. It shows in my regular shipping module list in the admin, but not in the list with shipping modules in manage vendors.

     

    Thanks, Marja


  12. Hi all,

     

    I love what this contribution does.

     

    However I already installed a bunch of other add-ons before I discovered this one... (MVS, extra fields, add short description etc, etc)

     

    On the admin site it works well, on the shop site I get this error:

    Fatal error: Call to undefined function: tep_get_sub_categories() in /catalog/includes/modules/featured_sets.php on line 32

    (http://www.foodinnovation.biz/catalog/index.php?cPath=21_22)

     

    I don't get it...

     

    Can someone out there help me?

     

    Thanks!


  13. Hi all,

     

     

    After a lot of trial and error I got this contribution working on the admin site of my webshop in the making.

    But I can not seem to find a solution for a error on the shops site....(http://www.foodinnovation.biz/catalog/index.php?cPath=21_22)

     

     

    Can somebody give me help how to resolve this?

     

    Fatal error: Call to undefined function: tep_get_sub_categories() in /catalog/includes/modules/featured_sets.php on line 32

     

    Thanks!

×