Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Posts posted by roban

  1. ======================================

    open includes/boxes/categories.inc.php

    ======================================

    ************************************************

    ** **

    ** First make a back-up of the origianl file. **

    ** **

    ************************************************

    About line 35

    // query database

    $results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0");

    $resultsForeign = $db->select("SELECT cat_master_id as cat_id, cat_name FROM ".$glob['dbprefix']."CubeCart_cats_lang WHERE cat_lang = '".$lang_folder."'");

    REPLACE WITH

    // query database

    $results = $db->select("SELECT cat_name, cat_id FROM ".$glob['dbprefix']."CubeCart_category WHERE cat_father_id = 0 order by cat_name");

    $resultsForeign = $db->select("SELECT cat_master_id as cat_id, cat_name FROM ".$glob['dbprefix']."CubeCart_cats_lang WHERE cat_lang = '".$lang_folder."' order by cat_name");

    ========================

    Save, Close, Upload file

    ========================

  2. EDIT includes/boxes/shoppingCart.inc.php with a text editor.

    FIND these lines of code:

    $basket = $cart->add($_POST['add'],$quantity,"");

    }

    INSERT this block of code AFTER the above lines (being careful to add the code after the curly bracket shown above):

    // start mod: redirect to basket (http://www.beadberry.com/cubemods)

    if($ccUserData[0]['customer_id']>0)

    {

    header("Location: cart.php?act=step2");

    }

    else

    {

    header("Location: cart.php?act=cart");

    }

    exit;

    // end mod: redirect to basket

    SAVE file and upload to your server.

    Instructions if Text Input Fields for Products has been installed:

    EDIT includes/boxes/shoppingCart.inc.php with a text editor.

    FIND these lines of code:

    } else {

    $basket = $cart->add($_POST['add'],$quantity,"","");

    }

    // end: Text Input Mod

    }

    INSERT this block of code AFTER the above lines (being careful to add the code after the curly bracket shown above):

    // start mod: redirect to basket (http://www.beadberry.com/cubemods)

    if($ccUserData[0]['customer_id']>0)

    {

    header("Location: cart.php?act=step2");

    }

    else

    {

    header("Location: cart.php?act=cart");

    }

    exit;

    // end mod: redirect to basket

    SAVE file and upload to your server.

  3. A secure server software encrypts all of your personal information including credit card number, name, and address, so that it cannot be read as the information travels over the Internet. The encryption process takes the characters you enter and converts them into bits of code that are securely transmitted over the Internet.

    The SSL (and TLS) protocol is the Web standard for encrypting communications between users and SSL (secure sockets layer) e-commerce sites. Data sent via an SSL connection is protected by encryption, a mechanism that prevents eavesdropping and tampering with any transmitted data. SSL provides businesses and consumers with the confidence that private data sent to a Web site, such as credit card numbers, are kept confidential. Web server certificates (also known as secure server certificates or SSL certificates) are required to initialize an SSL session.

    Customers know when they have an SSL session with a website when their browser displays the little gold padlock and the address bar begins with a https rather than http. SSL certificates can be used on webservers for Internet security and mailservers such as imap, pop3 and smtp for mail collection / sending security.

  4. Unfortunately your side boxes are not wide enough to accommodate (they are 160px) but there are some things you can do. You can add a box with your search or session within:

    <div class="boxTitleRight">Search</div>

    <div class="boxContentLeft">

    {SEARCH_FORM}

    <border="0" >

    </div>

    <div class="boxFootRight"> </div>

    But you must either make your side boxes wider or edit the css and template for your form.

    In style.css:

    .searchBtn {

    font-family: Arial, Helvetica, sans-serif;

    font-size: 70%;

    color: #FF3300;

    background-color: #FFFFFF;

    border: none;

    height: 20px;

    width: 30px;

    }

    .searchBox {

    font-family: Arial, Helvetica, sans-serif;

    font-size: 70%;

    color: #FFFFFF;

    background-color: #61A2DF;

    border: 1px solid #FFFFFF;

    and in index.tpl and cart.tpl you'll remove <div style="padding-top: 72px;">{SEARCH_FORM}</div>

    The same can be done for {SESSION}

  5. Hello Chris. Adding and removing boxes is very easy using your index.tpl file. You can remove a box such as the currency box by deleting {CURRENCY} from your index.tpl. You can add a box with any content you like by using the following code:

    <div class="boxTitleRight">Your head-line</div>

    <div class="boxContentLeft">

    Use the code you wish to add

    <border="0" >

    </div>

    <div class="boxFootRight"> </div>

    Simply place your code or link to an image and place the box wherever you want it to appear.

  6. thanks Devstudent. that was a very clear explanation. i appreciate that. ive finally installed it. but as i go to the store home it says about deleting the install folder and an ungrade.php. shall i just go ahead and delete these and then will the shop appear?

    many thanks again

    Yes delete the install folder and upgrade.php. These pose a security threat if left on your server and that is why you must delete them.

×
×
  • Create New...