Ecommerce Cart

From Contensive Wiki
Revision as of 17:00, 7 October 2015 by Admin (Talk | contribs) (Accepting PayPal Payments)

Jump to: navigation, search

The ecommerce cart creates an online catalog and order process that integrates with the Invoice Manager. See the Invoice Manager documentation for most terms, roles and settings.

Terms

Catalog 
The list of items which may be purchased online
Order Process 
The series of steps taken to purchase the items selected.

Settings

Use Ecommerce Settings, installed with the Invoice Manager to handle most online purchase settings.

Catalog

  1. Catalog Listing Columns: This is the number of columns displayed when many items are listed out, such as search results and when an entire category is selected.
  2. Catalog Listing Items: This is the number of items displayed per page.
  3. Catalog Item Sort Order: How items are sorted on the catalog; options include: By Alpha Sort Order Field, By Alpha Sort Order Then Oldest First, By Date, By Date Reverse and By Name
  4. Allow Prices in Catalog: When checked, pricing is displayed with an item in the catalog. Pricing is required to allow ordering.
  5. "Retail Price" Caption: This is for comparison only. Leave blank if you do not need this.
  6. "Regular Price" Caption: This is the normal price for the item when the buyer is not eligible for a sale or group discount.
  7. Allow Custom Prices: When checked, items with a 'custom price' will display the custom pricing.
  8. "Custom Price" Caption: When Allow custom prices is checked, this caption is used to identify the custom price.
  9. "Sale Price" Caption: When an item includes a sale price, and is marked on sale, this is the caption that displays with the sale price.
  10. "Your Price" Caption: The lowest possible price is calculated for each item, based on regular price, sales price and any Group Discounts. This caption is used to display that price.
  11. "Manufactured By Caption: When included, this caption precedes the name of the source of this item, as selected for each item.
  12. Catalog Thumbnail Width: This is the width of all thumbnail images displayed in the catalog.
  13. Catalog Image Width: This is the width of all images that are not thumbnails displayed in the catalog.
  14. Catalog Text: Provides a place to edit copy content in the catalog home, search tab, account tab, order list, account select list and add account tab.

Checkout

Checkout settings control the process of purchasing the items in a cart. If you will be using PayPal or an online credit card processor, see the settings below. Configure your online payment processor with Payment Process Settings.

  1. Email from-address for order receipt: This is the email address the appears as the 'From Address' on receipts sent to customers.
  2. Price Level Free Shipping: When allowed, orders over the Free Shipping Price Level will be given free shipping. The total price is before tax and shipping calculations, but includes all other discounts. Free shipping applies only to those shipping methods with 'Free Shipping at a Price Level' checked.
  3. Price Level Discount: When checked, orders over a specified price total will be given a discount. The total price is before tax and shipping calculations, but includes all other discounts. For example, for a 10% discount on orders over $200, enter 200 in Price Level and 10 in Discount Percentage.
  4. Order Process Text: Provides a place to edit copy content in the shopping cart, contact page, review page and receipt page.

Accepting PayPal Payments

With PayPal Express checkout, your visitors will see a PalPal link that takes them to the PayPal site to process charges. After the purchase is complete, they return to your site. To use PayPal, you must create a PayPal account on the PayPal site and update these fields.

  1. Allow Payment by PayPal: Check this box if you want to use PayPal Express checkout.
  2. PayPal Business Name: When you create your PayPal seller account, this is the username they assign to you.
  3. PayPal Post URL: The PayPal Post URL below should be one of the following:
    1. for testing - https://www.sandbox.paypal.com/cgi-bin/webscr
    2. for production - https://www.paypal.com/cgi-bin/webscr

Purchase Process

The series of steps taken to purchase an order online.

Step 1: Catalog Shopping

The customer can add items to their shopping cart using the order button for each item. They can add items on the catalog, but remove and modify their cart in the Order Review.

The customer does does not need to be logged in, although if items have discounts available, they will not show until the customer authenticates.

Step 2: Order Review

The customer can modify the items in their order. No tax or shipping information is available.

Step 3: Authentication

If the customer already has a user identity on the website, they can log-in. If you do not, they have to create a user identity by entering email, username, password, first name and last name.

There are a few restrictions when creating a user identity

  • The email address must be valid, and unique in the system
  • The username must be unique in the system and meet the website's security settings

If the user has already created an order, creating a user identity will update with this contact information.

If the customer logs into a current user identity, and that user already has an order started, the two orders will be merged.

Step 4: Contact and Shipping

Step 5: Purchase

Step 6: Receipt

Template Design and Implementation

Managing design is accomplished with a layout records. One layout record includes all the html required for the catalog, and another includes all the html required for the order process.

Catalog Layout

The catalog requires two layouts

  • CatalogList
  • CatalogDetails

The system populates the layouts by identifying elements based on class names. For example, to create a region that populates with the itemName, add this to your layout:

<span class="itemName"></span>

This is a list of possible item values that can be included:

<span class="itemThumbnail"></span>
<span class="itemImage"></span>
<span class="itemName"></span>
<span class="itemOverview"></span>
<span class="itemAvailability"></span>
<span class="itemCategory"></span>
<span class="itemMoreInfoLink"></span>
<span class="itemYourPrice"></span>
<span class="itemOptions"></span>
<span class="itemOrderButton"></span>
<span class="item"></span>

To conditionally include markup that will be removed if a field is not available, add the suffix 'Block' to the class name. For example, if an item has no name, this markup would remove the caption:

<span class="itemNameBlock">Name: <span class="itemName"></span></span>

The screens and required elements are listed here:

  • catalogList - This screen lists the appropriate items and the item categories. Each item in the item is wrapped in an element with class repeaterItem. The list of items is wrapped in an element with class repeaterList
<div id="catalogList" style="display:none;">
    <ul class="repeaterList">
        <li class="repeaterItem">
        </li>
    </ul>
</div>
  • catalogDetail - This screen shows the details of an item.
<div id="catalogDetails" style="display:none;">
    <!-- your catalog details screen layout -->
</div>

Order Process Layout

tbd