Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

badjuju

Members
  • Content count

    340
  • Joined

  • Last visited

Posts posted by badjuju


  1. Got this working - a few weeks ago.

    For anyone still having this problem, this is how I fixed it.

     

    1. Delete all languages, products, and categories

    2. Add default language in OSC Admin

    3. Create new categories

    4. Load all products using easy populate - this will assign them to your categories based on your easypopulate file.

    5. Add additional languages using OSC Admin

     

    Voila!


  2. I am using easypopulate to load over 10,000 products on MS2.2. My store has 3 languages set up: English - language id is 1, French - language id 2, Spanish - language id 3.

    I deleted the German since it is not used.

     

    The problem is when I run easy populate, it only loads the default language of English but not the others.

     

    I have looked at the php file and it does not state anything need to modify language code since it should increment.

     

    Does anyone know why it's not working?

     

    Thanks.


  3. Hi All,

    Does anyone know if there is a contribution to award points for each sale? In addition to the product price, there would be a certain number of points assigned to a product. So when someone purchases an item, the number of points will be added to their account which can be used later on.

     

    If something similar is not available, anyone willing to work with me to create one?

    Thanks.

    In addition, I would like to include a referral system so if someone signs up using a member's id, points are added to the member's account.

     

    Thanks.


  4. Hi All,

    Does anyone know if there is a contribution to award points for each sale? In addition to the product price, there would be a certain number of points assigned to a product. So when someone purchases an item, the number of points will be added to their account which can be used later on.

     

    If something similar is not available, anyone willing to work with me to create one?

    Thanks.


  5. Look and see if you inserted the part to add the product to the wishlist between the parts to add products to the cart.

     

    Badjuju,

    Look and mke sure you do not have a stray punctuation mark on the wishlist.php box page.

     

    I put some troubleshooting tips on this pagehttp://forums.oscommerce.com/viewtopic.php?t=50108

     

    This is what I have in boxes/wishlist.php:

     

    <?php
    
    /*
    
     $Id: wishlist.php,v 1.0 2002/05/08 10:00:00 hpdl Exp $
    
    
    
     osCommerce, Open Source E-Commerce Solutions
    
     http://www.oscommerce.com
    
    */
    
    
    
    ?>
    
    <!-- wishlist //-->
    
             <tr>
    
               <td>
    
    <?php
    
     include(DIR_WS_MODULES. 'wishlist/' . FILENAME_WISHLIST);
    
    ?>
    
               </td>
    
             </tr>
    
    <!-- wishlist_eof //-->


  6. Bluephoenix,

    Can you please help? This is my code from product_info.php

     

    Thanks.

     

     

    <?php
    
       }
    
    
    
       if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
    
    ?>
    
         <tr>
    
           <td align="center" class="smallText"><br><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
    
         </tr>
    
    <?php
    
       } else {
    
    ?>
    
        <?php
    
       }
    
    ?>
    
    
    
         <tr>
    
        	 <td><BR><BR>
    
    <?php include(DIR_WS_MODULES . FILENAME_DYNAMIC_MOPICS); ?>
    
    </td>
    
         </tr>
    
    
    
    
    
           <tr>
    
             <td><br><table border="0" width="100%" cellspacing="0" cellpadding="0">
    
               <tr>
    
                 <td align="left" class="main"><a href="<? echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td>
    
                 <td align="center" class="main"><input type="hidden" name="products_id" value="<?php echo $product_info_values['products_id']; ?>"><?php echo tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></form></td>
    
    
    
     <td align="right" class="main"><form name="wishlist_quantity" method="post" action="<?php echo tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_wishlist', 'NONSSL'); ?>">
    
                               <input type="hidden" name="products_id" value="<?php echo $product_info_values['products_id']; ?>">
    
                               <input type="hidden" name="products_model" value="<?php echo $product_info_values['products_model']; ?>">
    
                               <input type="hidden" name="products_name" value="<?php echo $product_info_values['products_name']; ?>">
    
                               <input type="hidden" name="products_price" value="<?php echo $product_info_values['products_price']; ?>">
    
                               <input type="hidden" name="final_price" value="<?php echo $product_info_values['final_price']; ?>">
    
                               <input type="hidden" name="products_tax" value="<?php echo $product_info_values['products_tax']; ?>">
    
    
    
                                   <?php if (tep_session_is_registered('customer_id')) echo tep_image_submit('button_wishlist.gif', IMAGE_BUTTON_ADD_WISHLIST); ?>
    
                             </form></td>
    
               </tr>
    
             </table></td>
    
           </tr>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
         <tr>
    
           <td><br>
    
    
    
    
    
    
    
    <?php
    
    //added for cross -sell
    
      if ( (USE_CACHE == 'true') && !SID) {
    
       echo tep_cache_also_purchased(3600);
    
      } else {
    
        include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);
    
         include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
    
       }
    
      }
    
    ?>
    
           </td>
    
         </tr>
    
       </table></td>
    
    <!-- body_text_eof //-->


  7. Thanks, bluephoenix,

    I'll try this out - hope it works.

     

    That's one thing about installing multiple contributions - u end up with a mess. Good thing I left comments :)

     

    Look and see if you inserted the part to add the product to the wishlist between the parts to add products to the cart.

     

    Badjuju,

    Look and mke sure you do not have a stray punctuation mark on the wishlist.php box page.  

     

    I put some troubleshooting tips on this pagehttp://forums.oscommerce.com/viewtopic.php?t=50108


  8. I integrated the mod, and everything works fine except for one thing.

     

    When you look at the details about a product in the product_info.php file, you can't successfully add that item to your cart.  It just goes to the shopping cart w/o added the item.

     

    Can this be because of the FORM tags?  I have no idea.  Any help would be appreciated.

     

    I'm having the same problem too. Can someone please post the fix?

     

    Thank you.

     

    Also getting this SQL error:

    1064 - You have an error in your SQL syntax near ') as total ' at line 1

     

    select count() as total

     

    [TEP STOP]

    My Wishlist


  9. There seems to be a mixup with the documentation for this contribution. The contribution reads:

    ***********RUNTIME FIX*************

    The file included in the top level of the file structure in this package is meant as a drop in replacement for the following file catalog/includes/modules/Order_Info_Check.php.

    I have also added it to the proper structure in this mod for any new installs to avoid confusion

    ************************************

     

    The problem is the file in /catalog/Order_Info_Check.php and /catalog/modules/Order_Info_Check.php are the same.

     

    The file located in the root level of the contribution is different and I'm not sure where this should be placed. Either in:

    /catalog/Order_Info_Check.php or /catalog/modules/Order_Info_Check.php.

     

    Since the contribution states that the file has been added to the correct folder, it's hard to figure out which file should be placed in /module directory.

     

    Please help - I've had a lot of problems with this contribution and nothing I have tried has worked.

     

    Thanks.


  10. I'm using coolmenu and some category names are shorter than others - some are almost double. The problem with using a hardcoded width is for smaller texts, there's too much space after the category name.

     

    Using javascript, how do I resize the width of sublevels so that it automatically takes the width of the largest category name.

     

    I tried modifying coolmenu.php so it reads:

    for ($i=1; $i<SUB_CATEGORIES; $i++) {

    $strlen = $categories['text'].length;

    echo'

    oCMenu.level[' . $i . ']=new cm_makeLevel()

       oCMenu.level[' . $i . '].width="$categories['text'].length"
    
    
    
    OR
    
    
    
    // oCMenu.level[' . $i . '].width="strlen($categories['text'])"

     

    Please help.

     

    Thanks in advance


  11. Does anyone have a true fix for this yet? it seems that having to delete table data is not really a long-term fix since this means you'll be losign some customers.

     

     

    1062 - Duplicate entry '1' for key 1
    
    
    
    insert into address_book (customers_id, address_book_id, entry_firstname, entry_lastname, entry_street_address, entry_postcode, entry_city, entry_country_id, entry_gender, entry_company, entry_suburb, entry_zone_id, entry_state) values ('4', '1', 'asdfads', 'asdfasd', 'adsas', 'adsadsf', 'safsad', '223', 'm', '', 'safafs', '1', '')
    
    
    
    [TEP STOP]


  12. I'm having a problem with this contribution.

    When I try to purchase without an account, I get the error message below.

     

    1062 - Duplicate entry '1' for key 1

     

    insert into address_book (customers_id, address_book_id, entry_firstname, entry_lastname, entry_street_address, entry_postcode, entry_city, entry_country_id, entry_company, entry_suburb, entry_zone_id, entry_state) values ('10', '1', 'rwehrfhjk', 'jdsfhjsk', 'sjkldk', '43432', 'fklsk', '223', '', 'dfgk', '23', '')

     

     

     

    I looked in the address_book table, and there are no fields for customers_id set to 10. Also, when I looked in the customers table, I noticed that those values above were already inserted.

     

    Please help.

     

    Thanks.


  13. I had the same problem. Here's the issue, after 05/18 or so, the login pages were changed and do not exactly match up with the new pages for the PWA contribution.

     

    In the new release, some pages have been switched so you'll have to look at the code and modify where needed.

     

    I know this response seems kinda jumbled, but you can use a pre-05/18 snapshot if you have not made a lot of changes.

     

    If you need help, let me know.

    I'll try to find the changed files for you.


  14. Hi,

    I've installed CoolMenu and also Enable/Disable categories contribution.

    The problem is I have some sub-categories disabled and they do not show up when I click the main category. But the category name still shows up in the pop-up menu.

     

    In the coolmenu.php file, I noticed this line: $categories = tep_get_categories('');

    I don't know much about OSC or PHP, but it seems that it's getting all categories. I added a new field to the categories table called 'categories_status' which sets the category as active/inactive.

     

    How do I only pull the categories with a status code of '1'.

    I've searched around for any function similar to tep_get_categories(''), but cannot find this anywhere.

     

    Thanks.


  15. Your response is the reason why people are turning away from oSCommerce - it's unfortunate coz it is a great product.

     

    I noticed the Aubrey Killian files and also READthe contrib date of 11/19/02. Since this is over 7 months old and OSC has gone through a lot of changes, I asked the question.

     

    In the future, please be a little less abrasive and more helpful. People would appreciate your help more.

     

    Thanks anyway.

     

    go where you donwload the files and READ THE INSTRUCTIONS

     

    you need to download the aubrey killian files...

     

    cheers

    emiliano

     

    06/25/2003 - Rotation of Articles (2) Author: Fernando Borcel  

     

    I'm including in this package the files that should be replaced. Also, I've changed the random generator so that would be truly random.  

     

    ** INSTRUCTIONS **

     

    You just need to replace catalog/featured_products.php and catalog/includes/modules/featured.php with the files provided.  


  16. I just installed the latest version of feature products contribution. Does anyone know where the instructions are. There's no readme file, just a license file which does not say much.

     

    The folder contains 2 featured products files which have been copied to their correct directory.

     

    Can anyone please help? The previous versions are quite old so I doubt if they'll apply to my OSC version.

     

    Thanks.

×