Author Archives: admin

Eliminate line breaks in html emails generated in the Newsletter Manager.

Eliminate unwanted line breaks in html emails generated in the Newsletter Manager. in catalog/admin/includes/classes/email.php around line 160 find: function add_html($html, $text = NULL, $images_dir = NULL) { $this->html = tep_convert_linefeeds(array(“\r\n”, “\n”, “\r”), ‘<br />’, $html); $this->html_text = tep_convert_linefeeds(array(“\r\n”, “\n”, “\r”), … Continue reading

Posted in Tutorials | Leave a comment

Drop Down JQuery Login Box for OSC to CSSv2

Install a drop down login box on OSC to CSSv2. Click the login link and a login box appears. If the user has javascript turned off, the link functions as normal. This mod also changes the text ‘login’ to ‘account’ … Continue reading

Posted in Function | Leave a comment

Improved Customer Sort

Improve customer sorting in the admin. Stock OSCommerce simply displays a static alphabetical customer list in admin>orders>customers. This old contribution originally posted on the OSCommmerce site in 2002 by Burt and just recently updated 9/20/2011 by D-Woo allows up and … Continue reading

Posted in Function | Leave a comment

Simple Admin Order Entry

Use this mod to enter snail mail or phone orders. Installs a powerful search function in the admin that allows you to quickly select a desired customer, and load their email into the customer login form on the catalog side. … Continue reading

Posted in Function | Leave a comment

Secure Your Images file

Protect your images folder with this simple .htaccess file. Create a blank file, add this code to it, name it .htaccess and upload to your images file: <FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe){:content:}quot;>Order Deny,AllowDeny from all</FilesMatch> This prevents any files with .php or .exe … Continue reading

Posted in Tutorials | Leave a comment

Mail Manager for OSCommerce: Description

Mail Manager is a comprehensive mail program for OSCommerce. Designed for 2.2RC2a and OSC 2 CSS. Purpose: Send all emails both in html and in text. Allow editing and templating of all emails, to include order confirmation, create account, password … Continue reading

Posted in Function | Leave a comment

Mail Manager for OSCommerce: Installation

Files can be downloaded from: Google Code or the OSCommerce site. Mail Manager Description installation: open catalog/includes/languages/english/checkout_process.php, add:define(‘EMAIL_TEXT_CONFIRM’, ‘has recommended’);define(‘TEXT_FROM’, ‘from’); open/admin/includes/languages/english.php add://mail managerdefine(‘BOX_HEADING_MAIL_MANAGER’, ‘Mail Manager’);define(‘BOX_MM_BULKMAIL’, ‘BulkMail Manager’);define(‘BOX_MM_TEMPLATES’, ‘Template Manager’);define(‘BOX_MM_EMAIL’, ‘Send Email’);define(‘BOX_MM_RESPONSEMAIL’, ‘Response Mail’); open admin/includes/filenames.php add://MAIL MANAGERdefine(‘FILENAME_MM_RESPONSEMAIL’, ‘mm_responsemail.php’);define(‘FILENAME_MM_TEMPLATES’, ‘mm_templates.php’);define(‘FILENAME_MM_BULKMAIL’, … Continue reading

Posted in Function | Leave a comment

Previous/Next in Admin Orders List

This simple contribution places ‘<<previous’ and ‘next>>’ links in the admin orders list. The advantage is that you can click directly to the next order when processing. The original contribution with language capacity can be found here on the OSCommerce … Continue reading

Posted in Function | Leave a comment

Recently Viewed Products Infobox for OSCommerce

for: OSC 2 CSS. The following code yields a new infobox that displays the last four items viewed. Adapted from this OSCommerce Contribution to fit OSC 2 CSS. Caveat: I have had mixed success with rendering product urls but you … Continue reading

Posted in Function | Leave a comment

Account Tabs for OSC to CSSv2

On OCS to CSS this combines the files address_book.php, account_edit.php, account_history.php and account_password.php into one file, account.php. The information is accessed with JQuery tabs for really intuitive and easy navigation. Download this file, account.php and the required CSS file from … Continue reading

Posted in Function, JQuery | Leave a comment