Online interview questions

Prepare interviews on Anything, AnyWhere

PHPSCOTS
PHPSCOTS
Blogger, Developer Views: 1079

Oscommerce interview questions

Top Oscommerce interview questions and answers

1. What is Oscommerce ?

Oscommerce (Open source Commerce) is an e-commerce and online store-management software program.
It is available as free software under the GNU General Public License and can be installed on any server that is Running PHP and Mysql.

2. How can you change store name in Oscommerce?

You can change the Store name of Oscommerce by login to administration panel.Below are steps to change store name in Oscommerce.

  1. Open the Oscommerce admin panel and click the My Store link in the Configuration box (left column). The first option is your Store Name.
  2. Select it and click on the Edit button in the right column.
  3. Type your new store name and click Save to apply the changes.

3. In which folder Oscommerce saves images by default ?

By default saves images in catalog/images directory

4. How to install a different template to an existing Oscommerce website ?

OsCommerce does not support a template installer option, as Joomla CMS or phpBB forum do, for instance. Installing a new template for OsCommerce is actually a new installation of the OsCommerce files.

5. How to assign a custom link to Oscommerce logo ?

Steps to assign custom link to Oscommerce logo

  1. Navigate to includes folder on your server. Open header.php file for editing
  2. Use Ctrl+F to locate the following code:tep_href_link(FILENAME_DEFAULT)
  3. Replace ‘. tep_href_link(FILENAME_DEFAULT) .’ with your custom link:
  4. Save the file when you are done.

6. How to perform security check in Oscommerce ?

If you think that there are any issues with your Oscommerce website security, then you can perform a security check by following below mentioned steps :

  1. Check if there are any .php files present in the images directory. Oscommerce does not store any .php files in the images directory.
  2. Check if there are any suspicious admin users on your website. For this, login through your Oscommerce admin account and go to the option – ‘Administrators’ in the ‘Configuration’ menu, there should be only one administrator.
  3. Download all your website files and scan them through an antivirus software, this will help you to find malicious or corrupted files if any.

7. How to configure Oscommerce to work with a new Domain ?

In order to configure osCommerce to work properly with another domain, you should modify both
configure.php files located in the installation directory of your website, under

includes/
and

admin/includes/
folders. These files can be modified using cPanel’s File Manager, or via FTP.

1. The settings that should be changed in

includes/configure.php
are:

HTTP_SERVER – you should change this to your new domain name, e.g. http://newdomain.com:

define(‘HTTP_SERVER’, ‘http://newdomain.com’);

HTTP_COOKIE_DOMAIN – again, this should be changed to reflect your new domain name:

define(‘HTTP_COOKIE_DOMAIN’, ‘newdomain.com’);

If you are using SSL you should also modify:

HTTPS_SERVER – for example:

define(‘HTTPS_SERVER’, ‘https://newdomain.com’);

HTTPS_COOKIE_DOMAIN – set this to:

define(‘HTTPS_COOKIE_DOMAIN’, ‘newdomain.com’);

2. In the second file

admin/includes/configure.php
you should modify:

HTTP_SERVER – you should change this to your new domain name, e.g. http://newdomain.com:

define(‘HTTP_SERVER’, ‘http://newdomain.com’);

HTTP_CATALOG_SERVER – again, this should be changed to your new domain name:

define(‘HTTP_CATALOG_SERVER’, ‘http://newdomain.com’);

If you are using SSL, you should also change
HTTPS_CATALOG_SERVER to:

define(‘HTTPS_CATALOG_SERVER’, ‘https://newdomain.com’);

8. How to optimize OsCommerce for better performance?

osCommerce is one of the most popular free shopping cart applications currently available.

Here are some tips on how to improve the performance of your osCommerce shopping cart:

  • Check your website using this online tool. It will give you valuable information on what modifications can be made in order to improve its performance.
  • Reduce the number of products shown on your main page.
  • Optimize your osCommerce database.
  • Keep the number of additional contributions as low as possible. Install only the most necessary ones.
  • Disable all default osCommerce features you are not using.
  • Keep the number of external links as low as possible.

9. How to check which Oscommerce version that is running ?

In order to check the version of your osCommerce, you should open the
includes/application_top.php file located in your osCommerce installation folder.

Look for these two lines:

// define the project version
  define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a');

The value after PROJECT_VERSION defines your current osCommerce version.

10. How to add a custom banner in Oscommerce?

You can easily add a custom banner to your osCommerce shop from the application’s

admin area > Tools > Banner Manager.