Multi-Store Setup & Licensing

If you would like to use cf_ezcart as the basis for a Mall type setup, please read this section. As of this writing, little "real-time" testing has been completed. In other words, this feature is new, unadvertised, and not fully supported or warranted. But it is available and seems to work for the few merchants choosing to use it.

The license for a multi-store is the same as our regular license with the following exceptions:

Setup

Special Variables

  1. variables.Setup_ID. This variable tells the cart which store setup to load and defaults to "1" (the main store) if not specified. You may set this variable using <cfset variables.setup_id = "xx"> anywhere that it will be read by the shopping cart pages, such as Application.cfm or in the cartpage template.
  2. variables.Merchant_ID. This variable coincides with variables.Setup_ID and tells the cart what products to load. Where this variable is set depends upon the setup scenario. See Setup Scenarios below.

Setup Scenarios

  1. Allow all items to be sold under a single website (A Mall). All payments will go through the "master" Setup. This could be used if you wish to run a Mall and allow individuals to sell their items through a store in your Mall. You would take a commission off the sales, or sell advertising, etc. You would use variables.Setup_ID = "1" under this scenario. When variables.Setup_ID = "1", you may also use the variables.Merchant_ID variable. This may be set on individual pages if you wish, such as pages with our navigation custom tags. Here are a couple examples:
  2. Allow individuals to run their own store, independent of the "Mall". Payments would go through that merchant's setup. All shipping costs, etc., would be based on that merchant's setup. Here you would just set variables.Setup_ID to the Merchant ID nand set it where it will be available through the entire checkout process. You will also need to set the Merchant_ID in the custom tags.

Administration

There are 2 ways to log in as a store owner (with a numeric login). With either login, the store owner is limited to editing their own login information, and editing their own products. There are 2 scenarios for logging in. See each scenarion for how the merchant may access their orders.

  1. Log in at the mall with a variables.Setup_ID of "1". Here the merchant may click on Get Orders, at which point they will be taken directly to the Reports section of the orders. Here the merchant may run reports and view order information. The merchant may not delete or edit any orders as presumably, the Mall owner will be receiveing these payments.
  2. Log in at the merchant's website where the variables.Setup_ID is the merchant's ID. Here the merchant has full control over their orders.

At this point, we have not had the time or the need to build an elaborate reporting scheme, or a way to calculate commissions. This may come at some point in the future if it appears the multi-store setup is used more than occasionally.