Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Everything posted by badjuju

  1. 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.
  2. badjuju

    Easypopulate and multiple languages

    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!
  3. Hi All, I've searched the boards for this but I'm running into problems with this contrib. I have installed this contrib to update the cart weight based on product, but when I select an item of a different weight the weight is not updated. I have the weights set up as in Prefix: + & Weight: 10 Nothing helps. Can anyone please help with this? 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. 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.
  6. 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.
  7. 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.
  8. 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 //-->
  9. To modify the fonts for the main level, go to ur stylesheet and modify these entries: .clLevel0,.clLevel0over .clLevel0 .clLevel0over .clLevel0border
  10. Hi, I installed this contribution but when I view a category, this is the error message I am receiving: Warning: Division by zero in /home/virtual/site4/fst/var/www/html/includes/classes/split_page_results.php on line 48 Can someone please point me in the right direction. Thanks.
  11. Are you looking for something like this - Just an idea to show the different fonts.
  12. 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 //-->
  13. 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 :)
  14. 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
  15. 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.
  16. badjuju

    Problems with purchgase witout an account

    I'm also having problems with this contrib - the problem is when you purchase without an account, it tries to insert a new row in the DB but does not increment the address_id. I tried setting this field to auto-increment in address_book table, but still not working.
  17. 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
  18. badjuju

    CoolMenu shows Inactive categories

    Hi. To fix this, I modified general.php so that the queries include the categories_status. Here's an example: TABLE_CATEGORIES . " where categories_status = '1' and categories_id = '" . $current_category_id . "'"); Also verify default.php and all files with similar code.
  19. 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.
  20. badjuju

    CoolMenu shows Inactive categories

    Persistence pays - I did it!
  21. One more thing - it works okay if I create a new account or login using an existing account.
  22. badjuju

    Purchace without account V.0.59

    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.
  23. 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.
  24. 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.