• Template Customization/ Building Overrides RSS Feed


    FOR v1.3.x, assuming you've based your template on "template_default": open your stylesheet and find

    #mainWrapper {
    background-color: #ffffff;
    text-align: left;
    ...

    The Zen Cart® templating system uses a CSS based layout.

    In this article, CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. Change these if needed.

    First, open includes/templates/ and create a new folder. You can call it anything you like, though it is best not to make it too long and to use underscores instead of spaces. We will call it /CUSTOM here, so everywhere we write /CUSTOM from now on, you should replace it with your own preferred folder name.

    Create an empty folder inside your new template directory and call it images so you should have includes/templates/CUSTOM/images/.

    Next, copy the includes/templates/template_default/css directory and place the folder and its files in your new includes/templates/CUSTOM/ folder.

    You can also create the following ...


    Problem:
    This happens on all my "secure" pages, such as Login, My Account and Checkout.
    When I click the Log In link as a customer i get prompted with the security prompts stating:

    "This page contains both secure and nonsecure items.
    Do you want to display the nonsecure items?"


    or
    "Page contains unauthenticated content"

    or
    "connection ...

    Thanks to AnonyPuss for posting the specific areas of the classic stylesheet.

    Open the includes/templates/YOUR_TEMPLATE/css/stylesheet.css and change the ...

    1. You have a page you want to change the structure of.
    2. Open the page in your browser.
    3. Choose View Source from your browser menu.
    4. Scroll down to the section you're bothered about moving. In the case of the add-to-cart button, you'll see this:
    ...

    Situation:

    You've just signed up with an affiliate system who's promised you the ultimate in statistics tracking, commission handling, referral monitoring, ...

    Adapted from a contribution by: Networkdad

    I've been watching the forums, and I'm seeing many folks make many modifications to their cart. This is great!

    However, I'm also seeing users of Zen Cart talk about making changes to important files such as:

    /includes/filenames.php
    /includes/languages/english.php
    /includes/languages/english/*.php

    and many others.

    Just a warning and note - you should not be modifying these files, if you want future upgrades to be simpler!

    There is a file override system in place that works very well, and makes it so you do not have to modify the core files. ...

    An Introduction to Product Types in Zen Cart™ v1.2

    1. Introduction

    A much requested feature in Zen Cart™ was the ability to have unique information layouts for different types of products.
    For example a Music Video needs to have different information stored and displayed, compared to say a Garden Bench.
    ...

    The logo used on Admin pages and on output from admin is admin/images/logo.gif

    If you want to rename this, you should edit the following code from admin/languages/english.php

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Admin Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_LOGO_WIDTH', '200');
    define('HEADER_LOGO_HEIGHT', '70'); ...

    I want to make changes to the text that shows up in xxxxxxxxx spot on xxxxxx page. How do I find out what where it is, and what file to change?

    1. Use a good search tool that can handle standard text files using a .PHP extension (WinGrep is a great tool for this!)
    ONE SUCH TOOL ALREADY AVAILABLE right on your Zen Cart Admin area, under the "Tools" menu, is the "Developers ...

    Page 1 of 4 123 ... LastLast
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR