Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

1 Follower

About updmike

  • Birthday 12/30/1969

Profile Information

  • Real Name
  • Location
  • Website
  1. updmike

    Authorize.net Problems Today?

    I just realized this today as well but it looks like it may have been for the last few days. I am with support now. but there must be many experiencing this. I am 15 in que
  2. updmike

    Register Globals Support

    Hi all, slowly getting everything working here as I go through this heavily moded store. What I am stumpped on and wonder if anyone has any suggestions, I am not able to upload images in admin after I have installed the contribution. Anyone have this problem or can point me where to start looking in my code for missing vars? Thanks.
  3. updmike

    Faster Page Loads

    Hey All, I got the page being written and read from the right cached directory but I believe it is writing the file wrong. When i goto the site now I get a simple error from the written file Parse error: parse error, unexpected ',', expecting ')' in /home/solissty/config_cache/config_cache.php on line 280 and line 280 is the last line of the config file. I looked at the file and it cant seem to find the parse error anywhere, has anyone had this happen? thanks. Mike
  4. updmike


    Hey all, this seems like a wierd question but I have built a high traffic affiliate a complete storefront using my database and images but the affiliates store front is located in a different folder. Ie. www.mystore.com/myshop/index.php and www.mystore.com/affilaitesshop/index.php It is working great when the affiliate sends people to his store using his affiliate link but what i would like to do is make it so every visitor that comes to this store without the referal code will get this affiliates ref ID attached and thus any purchases through this store will get commision. I could use a redirect from /affiliateshop/index.php to include his ref ID but would rather hard code this into the store. Any ideas on how I can do this? Thanks.. Mike
  5. Hey all, I installed this contribution called Simple Categories (Cool Menu Look Alike) from http://www.oscommerce.com/community/contributions,2496 and it seems great when working on pc's but in the safari all the categories run into eachother. I am not good on browser troubleshooting but it may be recognizeable to anyone who is.. here is the code in question.. on most browsers it stacks the catagories on top of eachother.. any help or troubleshooting tips would be very helpfull.. thanks.. <?php /* $Id: categories.php,v 1.25 2003/07/09 01:13:58 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; for ($i=0; $i<$tree[$counter]['level']; $i++) { // $categories_string .= " "; $style = 'style="margin-left:5px;margin-right:5px;" '; } if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<a class="coolHref_sel" '.$style.'href="'; }else{ $categories_string .= '<a class="coolHref" '.$style.'href="'; } if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b>'; } // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { // $categories_string .= ' -> '; } $categories_string .= '</a>'; if (SHOW_COUNTS == 'true') { $products_in_category = tep_count_products_in_category($counter); if ($products_in_category > 0) { $categories_string .= ' (' . $products_in_category . ')'; } } $categories_string .= tep_draw_separator('pixel_trans.gif', '1', '1'); if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } } ?> <!-- categories //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_CATEGORIES); new infoBoxHeading($info_box_contents, true, false); $categories_string = ''; $tree = array(); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $tree[$categories['categories_id']] = array('name' => $categories['categories_name'], 'parent' => $categories['parent_id'], 'level' => 0, 'path' => $categories['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $categories['categories_id']; } $parent_id = $categories['categories_id']; if (!isset($first_element)) { $first_element = $categories['categories_id']; } } //------------------------ if (tep_not_null($cPath)) { $new_path = ''; reset($cPath_array); while (list($key, $value) = each($cPath_array)) { unset($parent_id); unset($first_id); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); if (tep_db_num_rows($categories_query)) { $new_path .= $value; while ($row = tep_db_fetch_array($categories_query)) { $tree[$row['categories_id']] = array('name' => $row['categories_name'], 'parent' => $row['parent_id'], 'level' => $key+1, 'path' => $new_path . '_' . $row['categories_id'], 'next_id' => false); if (isset($parent_id)) { $tree[$parent_id]['next_id'] = $row['categories_id']; } $parent_id = $row['categories_id']; if (!isset($first_id)) { $first_id = $row['categories_id']; } $last_id = $row['categories_id']; } $tree[$last_id]['next_id'] = $tree[$value]['next_id']; $tree[$value]['next_id'] = $first_id; $new_path .= '_'; } else { break; } } } tep_show_category($first_element); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => $categories_string); new infoBox($info_box_contents); ?> </td> </tr> <!-- categories_eof //-->
  6. Hey all I am just wondering if this contribution is working for anyone when you apply % to a product or catagory restrictions yet. I had turned it all off on my store since 98% of my products have attributes but would really like to get it back up and running if anyone has a sultion for this problem.. Thanks all, Mike
  7. updmike

    Official Yahoo Data Feeder Support Thread

    Wow, this is great.. I haven't installed it yet but does it handle all the attributes as well? We are currently moving our server so i cant test it out but definately cant wait until i can.. Mike
  8. Hey again, Been looking through the code trying to find out at least where the calculations are made in hope to see why products restictions wont work with a percentage when there are attributes.... If anyone can piont out where I should start looking it would be great.. Is there an older version where this actually did work at some point? Any help would be apprecieated.. We have been using it thinking it works but now with all products having attributes we have stoped the % and now only giving away $$ off wich just doesnt have the same impact marketing wise.. Thanks again, Mike
  9. Has anyone have the disount coupon % working with attributes yet? Or can anyone Know in the code where I can check this out and see why its happening? Been looking around and just not sure where to begin. I am willing to take the time and try to fix it but I am just not sure where to start? Any help would be great.. Cheers..
  10. I seem to be having the same problem.. My 10% off a catagory product are now only ducting partial the amount and I cant figure out what is is decuting.. IE. Sub-Total: $43.00 (is a valid product) Priority Shipping (3-6 days.) (Shipping to CM : 2 lb(s)): $14.25 Discount Coupons:underwear: -$2.86 Total: $54.39 but 10% of 43.00 is 4.30? I sooo thought i had this worked out.. :( Did you figure this out storyleader?
  11. updmike

    [contribution] Simple Template System (sts)

    I have been using the Banner in a Box Contribution located here. http://www.oscommerce.com/community/contributions,59 You will need to add the the normal STS code to your template just like you were adding another info box to any of your columns. This banner in a box works great and it controlled by your normal banner manager in admin. All instructions are included with contribution zip files. Good Luck
  12. Wow, after days of messing around with it I finally have the entire contribution working perfectly.. I would like to swear up and down that it was not the sort order of the Order Totals but at the end of the day it might of very well have been. I tested it many times trying to get it working and it never did but i must of done something right because today it worked great. Thansk strider for helping trouble shoot. Just for reference i have it working with STS Templates and Seperate Price per Customer Contributions which i originally thought was the root of the problems. Mike
  13. Hey all, Has anyone seen or heard of a contribution that will allow the customer to choose how many products to show on a product page? An example would be a dropdown menu that would say Show me only 10, 20, 30, 40, 50 and so on products per page. I have seen this on many other stores but not sure if anyone has made a contribution that will work with osCommerce. Thanks, mike
  14. Great, thanks.. I am still not sure on how we make sure the gift voucer is credited to the proper account if they redeem and they are not logged in. They are given a redeem code to keep but where do they put it if they redeem while not logged in ? Also I am still having an awefull time trying to get the disocunts coupons to be valid when I specify a catagory or a product restiction. It only works when catagories or product restrictions are left blank in admin. Anyway, thanks again, i am really hoping I can get this to work. Mikey
  15. Just out of curiousity, Should I have on my checkout_payment.php 2 textfields for redemptions? One for coupons and one for redeeming voucher numbers in case the customer did not redeem through the link supplied in the email? All i have is -one textfield -and if I have vouchers in my cart i have a checkbox on the right to use voucher total as payment.