Deluxe Catalog Installation Instructions

  1. Set up your database

    Log in to your hosting account and create a new database for the system. If you're using a cPanel host, view our cPanel MySQL Database Setup to help you with this step.

  2. Download

    Download the zip file above and extract the files to your computer.

  3. Configure database settings

    Open the dbconfig.php file in the /secure/ folder and add the following information:

    • $Host_Name - This is the name of your web server database host - usually "localhost"
    • $DB_Name - This is the name of your database. Your database must already exist.
    • $DB_User_Name - This is the user name associated with your database.
    • $DB_Password - This is the password associated with your database.
    • $Admin_User - Create a user name to use with your administration area.
    • $Admin_Password - Create a password to use with your administration area.
  4. Load your files

    After your configuration file is updated, load all folders and files from the zip packet into the public directory of your site, following the same folder structure as presented.

  5. Change the path

    If you are loading the system into a subdirectory, you may need to change the path. The system auto-detects path changes, but if your server has a different path setup, you will receive an error that reads "Config file could not be found. Please contact administrator for setup help." or a path include error. If you do not receive such an error when viewing your catalog page, please skip this step.

    To change the path, open the open.php page in the /inc/ directory, and locate the lines:

    // IF YOU HAVE PROBLEMS WITH THE PATH, OVERRIDE THE
    // PUBLIC DIRECTORY BY ENTERING THE PATH BELOW: // $rt_dir = "";

    Change these lines to:

    // IF YOU HAVE PROBLEMS WITH THE PATH, OVERRIDE THE
    // PUBLIC DIRECTORY BY ENTERING THE PATH BELOW: $rt_dir = "/your/path/goes/here";

    Make sure you remove the two forward slashes from the $rt_dir variable and add the full path name between the quotes.

  6. Set up your Mals cart

    The SiteBuilder system works with the Mals-E shopping cart. Set up a free Mals account. Once your Mals cart is activated and configured, you will need to make the following changes for inventory control to work properly.

    1. Mals: Create a Mals-E cart account and set the following:

      • Cart Setup -> Advanced Settings -> Remote Call

        The HTTP call must be set up in Mals for the inventory control and order tracking to work.

        • URL: In the URL field, add website/finish.php (note: no http://). You can also use the direct IP address to the finish page (e.g. 123.456.789.012/~client/finish.php)
        • Method: Select POST for the method.
        • Debug: Do not check the debug checkbox; this is only used if you are having problems with inventory control and order tracking, and want to receive debug notices.
      • Cart Setup -> Customize -> Return Link

        Optional! A return page updates the store inventory immediately after the order is placed, if the customer clicks the 'continue' button.

        • Your website address: In this field, add website/return.php (note: no http://). You can also use the direct IP address to the site (e.g. 123.456.789.012/~client/return.php)
        • Select 'Form button with the word CONTINUE. POST request.'
          - OR -
          Select 'Form button using the text above. POST request.' and enter some text in the 'Text for the link' box.
      • Cart Setup -> Customize -> Continue shopping button

        Appending the cart content allows the continue shopping button in the cart to go back to the item you were originally viewing.

        • Select 'Hyperlink'
        • Check the box marked "Append cart content vars".
      • Cart Setup -> Email Settings -> Order Notifications

        We recommend using a domain email or gMail email address for order notifications. Mailings may not work seamlessly with free emails like AOL or Yahoo email

      • Cart Setup -> Payment Methods

        Select the payment processor or method you will use to take payments from customers. Make sure you use a processor that works with 'Remote call' in the payment processor list.

      • Cart Setup -> Payment Methods -> PayPal

        If you are using PayPal as a payment processor, enter the PayPal email and then:

        • Under 'Return link from PayPal', select the second option: 'return the customer back to the cart. See the notes below...'.
        • Select the 'IPN - Instant Payment Notification' checkbox. (If you do not, a customer can close the window and it won't post back.)
    2. PayPal: Please note that if you want to use PayPal as a payment type, you must use a business account if you want to automate inventory control or log orders and sales. Personal accounts can be used with the cart, but the inventory control and order tracking will not work!

      • My Account -> Profile -> Website Payment Preferences -> Auto Return

        If you are using PayPal as a payment type, you must turn the 'Auto Return' setting On. This automates the return back to Mals after a customer pays via PayPal. (If this setting is turned off, the cart will require the customer to push a button to go back to the cart, and not all customers will do this.)

      • My Account -> Profile -> Website Payment Preferences -> Return URL

        The Auto Return setting requires a thank you page to return to after the payment is made. Mals creates a page automatically and submits it without any effort on your part. However, if you plan to use PayPal for any other reason, you will need to make a thank you page on your site. Create the page, following PayPal's thank you page rules (shown on the auto return setting page) and enter the URL in the space provided in PayPal.
        Note: If you have a DNS glitch, try using the IP address here.

        e.g.) 123.456.789.012/~client/thankyou.php

        instead of:

        website/thankyou.php
    3. Site Builder: Add your Mals cart details and create a thank you page.

      • Storeadmin -> Catalog Setup -> Mals-E Cart ID

        Make sure this is set to be your Mals-E user name. It's important there are NO spaces before or after the cart ID!

      • Storeadmin -> Catalog Setup -> Mals-E Server

        Make sure this is set to be your Mals-E server. It should only be the www part (ie.ww8 or ww12, etc.)

      • Storeadmin -> Pages -> Add Page

        You only have to add a thank you page if you are using PayPal as a payment processory.

        • Create a web site page called "thankyou.php".
        • On this page, type out the following text:
          Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at https://www.paypal.com to view details of this transaction.
          Save this page to your web site.

    Important! The Company Website system's inventory control system decreases stock counts automatically, and will discourage a customer from ordering more than is available. While we have implemented checks to decrease over ordering, we cannot guarantee that a customer will not try to change the quantity within Mals or otherwise try to order more than is available.

  7. Administer Your Site

    After installing your site, you'll need to log in, set up the database and enter your unlock key.

    1. Log in

      Log in to your web site administration area at:

      yourwebsite/shopadmin/

      with the user name and password you used in the dbconfig.php file.

    2. Install the system

      When you log in for the first time, the system will automatically upload a new database. Click 'Continue' after the setup is complete.

    3. Unlock the catalog

      Enter the unlock code listed in the Licenses tab in the Company Website reseller area.

    4. Configure your site

      After logging in for the first time and entering your unlock code, select 'Settings' and update your catalog settings.

  8. Modify your template

    If desired, modify your catalog.php, advsearch.php, and wholesale.php pages if you wish to use your web site's template, using include files as described in the web template instructions.