Location
Dave
::
Blog
Home
Amphlett Links
Dave
Debra
Joseph
Eric
Judy
Genealogy
Submit a Link
Twitter
follow damphlett at http://twitter.com
Archive
Archive
<
August 2010
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
Monthly
October, 2009
May, 2009
November, 2008
October, 2008
September, 2008
June, 2008
April, 2008
March, 2008
February, 2008
June, 2007
March, 2007
February, 2007
January, 2007
December, 2006
October, 2006
July 31, 2010
Register
|
Login
DotNetNuke Store - MicroCart code
Location:
Blogs
Dave Amphlett's Personal Blog
Posted by:
Dave Amphlett
Thu, 13 Nov 2008 20:40:56 GMT
A quick blog for anyone playing with the DNN Store module code - here's a zip of a few files that I'm using for a MicroCart Module.
It's a really small simple little module that can show a tiny cart summary based upon a new template file: MicroCart.htm which can expand the following tokens:
[CARTPRODUCTCOUNT]
- the number of different products in the cart
[CARTITEMCOUNT]
- the total number of items in the cart
[CARTTOTALCOST]
- the total cost (excluding tax) of all items in the cart
[CARTTOTALTAX]
- the total tax cost of all items in the cart (simple calculation on the same basis as the VATPRICE token)
[CARTTOTALCOSTINCTAX]
- the total tax cost of all items in the cart (simple calculation on the same basis as the VATPRICE token)
[CARTLINK]
- a simple (default) link to the proper 'cart' page for this store. Link text is 'View Basket'
[CARTLINKSTART]
- the opening anchor element for the cart link. Used with [CARTLINKEND] you can make whatever you like into the link
[CARTLINKEND]
- the closing anchor elemnt for the cart link. Used with [CARTLINKSTART] you can make whatever you like into the link
here's what it looks like with all the tokens being used in the template:
You can download the source here:
DaveAmphlett_MicroCart_20081113.zip
Copyright ©2008 Dave Amphlett
Permalink
|
Trackback
Comments (0)
Add Comment
Your name:
Title:
Comment:
Add Comment
Cancel
Copyright 2006-2010 David Amphlett
Amphlett.Net
|
Terms Of Use
|
Privacy Statement