Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/david-poindexter/HotcakesCartItemCount

This is a DNN theme / skin object for use with Hotcakes Commerce. It utilizes the Hotcakes Server-Side API to obtain the current customer's cart line item count and display it.
https://github.com/david-poindexter/HotcakesCartItemCount

Last synced: 3 months ago
JSON representation

This is a DNN theme / skin object for use with Hotcakes Commerce. It utilizes the Hotcakes Server-Side API to obtain the current customer's cart line item count and display it.

Awesome Lists containing this project

README

        

# Hotcakes Cart Item Count
This is a DNN theme / skin object for use with [Hotcakes Commerce](http://www.hotcakescommerce.com). It utilizes the Hotcakes **Server-Side API** to obtain the current customer's cart line item count and display it.

## Project Dependicies
| DNN | Hotcakes Commerce |
|:-----------:|:-----------------:|
| `7.4.1.280` | `01.08.07` |

## Usage
#### Styling
Styling can be added to **HotcakesCartItemCount.ascx** utilizing CssClass or inline styling.



#### MS Build Support
We have added support for MS Build to this project. When building the project in **Debug** mode, all appropriate files are automatically copied to a DNN instance setup at **/../../../Website**. When building the project in **Release** mode, the project automatically creates a Private Assembly package for installation via DNN's Host > Extensions. The package is located within the **~/Install/Modules** directory of the local development DNN instance. Should you want to just download the latest installation package, you can get it from the **Releases** page for this project.



#### Manual Installation
Only one folder needs to be manually created and two files copied over to the DNN instance file/folder structure.




##### Create folder
1. Within DNN instance, create a folder named **HotcakesCartItemCount** within **~/DesktopModules**.



##### Copy two files over
1. Copy **HotcakesCartItemCount.ascx** from this project to the new folder just created above within DNN.




2. Copy **HotcakesCartItemCount.dll** from this project (**/bin** folder) to **~/bin** within DNN.


#### Registering within DNN theme/skin
+ Be sure to register the theme/skin object at the top of desired ASCX theme files:
```html
<%@ Register TagPrefix="hcc" TagName="CartItemCount" Src="~/DesktopModules/HotcakesCartItemCount/HotcakesCartItemCount.ascx" %>
```


+ Utilize the following code within the desired ASCX theme/skin files:
```html

```