• CFWebstore v6.50
  • Installing CFWebstore

  • Main Settings

  • Designing Your Store

    • » Overview
    • » Color Palettes
    • » Style Sheets
    • » Custom Layouts
    • » Category and Page layouts
    • » Option Picklists
  • Organizing Your Site

    • » Overview
    • » Categories
    • » Category Menus
    • » Pages
    • » Page Menus
  • Adding Your Products

    • » Overview
    • » Product Lists
    • » Product Form
    • » Display Tab
    • » Pricing and Info Tab
    • » Group Prices
    • » Quantity Discounts
    • » Product Options
    • » Product Addons
    • » Product Images
    • » Related Products
    • » Standar Product Options
    • » Standard Product Addons
    • » Custom Product Fields
    • » Product Copy
  • Product Reviews

    • » Overview
    • » Configure Product Reviews
    • » Reviewing Products
    • » Administration of Reviews
    • » Viewing Reviews
    • » User Management of Reviews
  • Store Specials, Discounts and Promotions

    • » Overview
    • » Discount Manager
    • » Additional Tips on Discounts
    • » Product promotions
  • Gift Certificates

    • » Overview
    • » Gift Certificate Setup
  • Adding Store Features

    • » Overview
    • » Feature List
    • » Feature Form
    • » Related Features
    • » Related Products
  • Feature Reviews

    • » Overview
    • » Feature Review Configuration
    • » Administration of Reviews
    • » Commenting on a Feature Article
    • » Viewing Comments
  • Protecting Your Content

    • » Overview
    • » Access Keys
    • » Memberships
  • Shopping Cart Settings

    • » Overview
    • » Shopping Cart Configuration
  • Tax Setting

    • » Overview
    • » Tax Configuration
  • Shipping Charges

    • » Overview
    • » Shipping Types
    • » Shipping Settings
    • » Shipping Table
    • » Country Shipping Rates
    • » Shipping Methods
    • » Free Shipping Promotion
    • » Additional Information on Shipping Rates
    • » UPS Shipping
    • » U.S.P.S. Shipping
    • » Fedex Shipping
    • » Intershipper Shipping
  • Payment Settings

    • » Overview
    • » Offline Orders
    • » PayPal Orders
    • » Credit Card Orders
  • Gift Registries

    • » Overview
    • » Gift Registries Configuration
  • Gift Wrapping

    • » Overview
    • » Gift Wrapping Configuration
  • Managing Your Orders

    • » Overview
    • » Pending Orders
    • » In Process Orders
    • » Billing Tab
    • » Purchase Orders / Drop Shipping Tab
    • » Filled Orders
    • » Search Tab
    • » Reports
  • Viewing and Editing Orders

    • » Overview
    • » Customer Details
    • » Order Status
    • » Shopping Cart Details
    • » Shipping Information
    • » Purchase Orders
    • » Edit Order Status Form
    • » Products Edit Form
    • » Order Edit Form
    • » Tax Edit Form
    • » Dropshipping Form
    • » Order Shipping Screen
  • User Management

    • » User Settings
    • » User Manager
    • » User Summary
    • » User Groups
    • » Setting Permissions
    • » Customer Addresses
    • » Accounts
    • » My Account Page
  • Store Emails

    • » Overview
    • » Bulk Emails
    • » Standard Email Text
  • Import / Export Functions

    • » Product Export
    • » Data Feeds
    • » Download Orders
    • » Users Export
    • » Product Import
  • Programmers Guide

    • » Why Fusebox?
    • » Overview
    • » Using FCKeditor
    • » Differences From Basic Fuseboxc
    • » Home Circuit
    • » Access Circuit
    • » Category Circuit
    • » Page Circuit
    • » Products Circuit
    • » Shopping Circuit
    • » Users Circuit
    • » Custom Tags
    • » Category Menus
    • » Page Menus
    • » Customizing Store Menus
    • » Store Searches
    • » Shared SSL
    • » Email Forms
    • » User Registrations
    • » Database Schema
    • » Reset Cache
    • » Error Handlers
    • » Store Security
    • » Adding New Payment Gateways
    • » Running CFWebstore Inside Mura CMS
    • » Typical Files Used for a Category Page
    • » Additional Code Tips
    • » Other Useful Sites and Products
Home Programmers Guide Differences From Basic Fuseboxc

Differences From Basic Fuseboxc

There are a few ways that the CFWebstore® code differs a bit from Fusebox. These are just some conventions we have used in the store to extend its capabilities and make it easier to follow the code.
 
  1. config.cfm file – This file in the top directory is used for easy setup of store settings. It is not part of a standard Fusebox structure, but allows you to easily separate out the settings that apply directly to just your site.
  2. fbx_Switch.cfm files – Typically these files use a cfswitch/cfcase structure to determine what fuses to run. However, it was discovered that cfswitch is not very efficient when comparing text strings (versus numbers). So main level switches are coded using cfif/cfelseif/cfelse for better performance under load.
  3. admin/index.cfm files – Each circuit has an admin fuseaction which calls the index.cfm file from the admin directory. This file uses the additional parameters being passed to determine the exact admin actions to perform. You can kind of think of it as a circuit for the admin functions. As an example, the fuseaction “product.admin&do=edit” performs a product edit admin function. The one exception to this is the home circuit, which uses the fbx_Switch.cfm file in the admin directory to handle the admin actions. This allows you to get to the main admin menu page with the link “www.yoursite.com/admin”
  4. shopping.checkout fuseaction – This fuseaction calls the do_checkout.cfm file in the checkout directory which works a little differently than most fuses. This page performs all the functions for the checkout area. It is broken into two main sections, the processing section and the display section. The variable “step” is used to determine where in the process the user is, and based on what happens in the process section, this variable will get set to determine the display page that is needed as a result.
 
The rest of the code basically follows Fusebox 3 standards. Let’s take a look at the different circuits and what is available in each one. 



Using FCKeditor
Home Circuit