Loading

7x Feature Tip > Creating Dynamic View Cart Buttons

by C Douglass on February 26, 2009

Subscribe




nsScript is a powerful scripting language that can be used in many areas of your sites content. You can easily insert scripts using the nsScript drop down wherever you can add HTML.

nsScript Insert drop down

nsScript Insert drop down

One simple but useful way to use nsScript is in creating a custom View Cart / Checkout button area. Using a couple simple lines of code you can show the Number of Items and the Current Total in the Cart.

In this example

Dynamic View Cart Button Example

that was accomplished by adding the following lines of code:

Items: <%Cart.Count%>, Cart Total: <%Cart.Total%>

The numbers will automatically update as items are added to the cart.

Find us on Facebook and follow us on Twitter for more posts like this!

Brought to you by Network Solutions®, a Web.com® service.

Related Posts

  • No Related Post
    • http://www.bridalbuyout.com/ Bridesmaid Gifts

      This is exactly what I need for my website. I bet this would defiantly help improve my Cart Abandonment rate.