Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

midpen

Pioneers
  • Posts

    117
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    midpen

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

midpen's Achievements

  1. Why Instant Payment Notification (IPN) need to be enabled in paypal when using paypal standard check out? Paypal will send you a payment notification message to your email address anyway when money come in even you did not turn this on. What is the paypal IPN function for OSC? Thanks.
  2. I need the same help! It is very important to let customers know that they must click the "Return to Merchant" yellow button in the last step.Thanks for help!!!--urgent!!!
  3. I need a vacation notice popup box or lightbox to notice customers the store owner is on vacation when they go on the home page. customers are still able to visit and checkout products as usual, just let them know the ship will be delayed until certain date. So the down to maintenance add-on is not suitable for this request. Is there any add-on for this? Or anybody could help? Thanks.
  4. Are we able to add a store vacation notice in a lightbox when customers go on the site? This also should be easily turned off when you come back from a vacation. any addon?
  5. Thanks Steve, clicking "Home" is working now by replacing your code. Unfortunately, the "copy, move and delete multiple products" still does not work properly. when I click "Multiple Products Manager" in the admin panel, it seemed showing properly, but it only shows all product folders, what inside the folders are all empty. when I click "go" button on screen, these were the error message I got: when select "Move To": Warning: Invalid argument supplied for foreach() in /home1/database/public_html/admin/products_multi.php on line 39 Warning: Cannot modify header information - headers already sent by (output started at /home1/ database /public_html/admin/products_multi.php:39) in /home1/ database /public_html/admin/includes/functions/general.php on line 22 when click "Copy to": the first error changed to Warning: Invalid argument supplied for foreach() in /home1/ database /public_html/admin/products_multi.php on line 66 when select"Link To": the first error changed to Warning: Invalid argument supplied for foreach() in /home1/database/public_html/admin/products_multi.php on line 52 Could you please help me? Thank you so much! Hope I did not drive you crazy.
  6. Where you get the shipping estimator module? Is it a contribution? Could you please provide a link which you used for me? Thanks.
  7. My store is not in a folder, this is the only store in my hosting, and it is directly under public_html I already changed the "Top" to "Home" which makes more sense. When I click home, it still ticks me out. Anywhere else seemed ok including click store logo on the top, it brings me back to the homepage without logout.
  8. Thank you so much Steve, It worked! Since you are an expert, I have another question: I was login on my site and after I click "Top" on the header, it ticks me out, I have to re-login. How can I remain login wherever I click unless I close the browser or logoff? I am new in OSC and don't know php, could you please tell me what and where to write like above? Thank you!
  9. Thank you so much! Actually I did not get any error message, when I click catolog/multiple products manager in admin panel, it goes to "The website cannot display the page" in my browser. Could you please check my each steps which posted on the top to see what was wrong including those pasted positions. I don't know php, I did copy and paste only. I really need this to work out and I am waiting for you, thanks a lot! Yes I did pasted it to admin/includes/functions/general.php
  10. I added this in the last part, still no luck! What it should be though? It is such confused: should be function tep_array_merge or function tep_merge_array or just merge_array, Where is the other place should be changed? I did not get the "Call to undefined....." error message, just when I click catolog/multiple products manager, goes to "The website cannot display the page" in my browser. Thanks for your help! function tep_array_merge($array1, $array2, $array3 = '') { if ($array3 == '') $array3 = array(); if (function_exists('array_merge')) { $array_merged = array_merge($array1, $array2, $array3); } else { while (list($key, $val) = each($array1)) $array_merged[$key] = $val; while (list($key, $val) = each($array2)) $array_merged[$key] = $val; if (sizeof($array3) > 0) while (list($key, $val) = each($array3)) $array_merged[$key] = $val; } return (array) $array_merged; }
  11. I do not plan to ship all of the world. I found it become free shipping for those countries I do not ship since I did not setup them in the shipping zones. the products are still could be checked out. How to solve this problem?
  12. There also was a recent update: http://www.oscommerc...y/contributions,1401 A small fix 3 Nov 2009 When I use it, an error popup: Fatal error: Call to undefined function:tep_array_merge() in C:AppServ/www/oscomm_2/catalog/admin/products_multi.php, after I Google it, the function 'tep_array_merge()' should be 'merge_array()', so is the same thing on line 278. I do not quite sure how to modify according to the "A small fix" addon.
  13. I was installing the "copy, move and delete multiple products" addon. It does not work. When I click catolog/multiple products manager, nothing happened. Could anybody please help for checking what I did wrong: http://www.oscommerce.com/community/contributions,1401 ***** Step 1 ***** I copied the two files into their corresponding directories: /admin/products_multi.php /admin/includes/languages/english/products_multi.php ***** Step 2 - In /admin/includes/boxes/catalog.php ***** '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' . add this: '<a href="' . tep_href_link(FILENAME_PRODUCTS_MULTI, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_MULTI . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' . ***** Step 3 - In /admin/includes/filenames.php ***** ('FILENAME_STATS_PRODUCTS_PURCHASED', 'stats_products_purchased.php'); define('FILENAME_STATS_PRODUCTS_VIEWED', 'stats_products_viewed.php'); define('FILENAME_TAX_CLASSES', 'tax_classes.php'); define('FILENAME_TAX_RATES', 'tax_rates.php'); define('FILENAME_WHOS_ONLINE', 'whos_online.php'); define('FILENAME_ZONES', 'zones.php'); Add this at the very end: define('FILENAME_PRODUCTS_MULTI', 'products_multi.php'); ?> ***** Step 4 - In /admin/includes/languages/english.php ***** define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.'); define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.'); define('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.'); Add this at the very end: define('BOX_CATALOG_CATEGORIES_PRODUCTS_MULTI', 'Multiple Products Manager'); ?> ***** Step 5 - In /admin/includes/stylesheet.css ***** .dataTableContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } Add : .dataTableContentRedAlert { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #FF0000; font-weight: bold; } /* info box */ .infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; background-color: #B3BAC5; } .infoBoxContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; background-color: #DEE4E8; } ****** Step 6 - In /admin/includes/functions/general.php ****** function tep_parse_category_path($cPath) { // make sure the category IDs are integers $cPath_array = array_map('tep_string_to_int', explode('_', $cPath)); // make sure no duplicate category IDs exist which could lock the server in a loop $tmp_array = array(); $n = sizeof($cPath_array); for ($i=0; $i<$n; $i++) { if (!in_array($cPath_array[$i], $tmp_array)) { $tmp_array[] = $cPath_array[$i]; } } return $tmp_array; } Add this at the very end: function tep_merge_array($array1, $array2, $array3 = '') { if ($array3 == '') $array3 = array(); if (function_exists('merge_array')) { $array_merged = array_merge($array1, $array2, $array3); } else { while (list($key, $val) = each($array1)) $array_merged[$key] = $val; while (list($key, $val) = each($array2)) $array_merged[$key] = $val; if (sizeof($array3) > 0) while (list($key, $val) = each($array3)) $array_merged[$key] = $val; } return (array) $array_merged; } ?>
×
×
  • Create New...