Jump to content

badjuju

Members
  • Content count

    340
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    bad
  1. 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!
  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. 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. badjuju

    [CONTRIBUTION] Wishlist-update_MS1

    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. To modify the fonts for the main level, go to ur stylesheet and modify these entries: .clLevel0,.clLevel0over .clLevel0 .clLevel0over .clLevel0border
  7. Are you looking for something like this - http://207.44.237.249. Just an idea to show the different fonts.
  8. 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 //-->
  9. badjuju

    [CONTRIBUTION] Wishlist-update_MS1

    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 :)
  10. badjuju

    [CONTRIBUTION] Wishlist-update_MS1

    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
  11. 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.
  12. 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.
  13. 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
  14. 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.
×