Blog_Featured_Network_Solutions

Here is part #3 in programming in nsCommerceSpace nsScript.  If you have found your way to this blog page first, you can find the first part of this series at the following location: Programming In nsCommerceSpace nsScript (Part 1).  The third part of this series starts out with programming code for Module Functions, and continues from there.  If you have questions about programming using the nsScript code, feel free to drop me and e-mail and ask.

 

Module Functions

Module functions can only be used on the header, footer, and left and right columns Custom HTML module.

 

Login Module

Example:

 <ns:Login layout=”vertical” logouttext=”Logout” />

Syntax:

  • ns:Login

Parameters:

  • layout – vertical (default), horizontal
  • logouttext – “Logout” (default)

 

Search Modules

Examples:

  • Manufacturer dropdown:

<ns:Search type=”manufacturers” />

  • Shopping List search:

<ns:Search type=”shoppinglist” />

  • Basic search:

 <ns:Search type=”custom” text=”Search:” />

 

Syntax:

  • ns:Search

 

Parameters:

  • type – regular (default), custom, manufacturers, shoppinglist
  • text = “Search:” (default) * only used with custom

 

Shopping Cart Module

Example:

<ns:ShoppingCart showshippingestimate=”true” />

 

Syntax:

  • ns:ShoppingCart

Parameters:

  • showshippingestimate – false (default), true

 

Categories Module

Example:

<ns:Categories depth=”2″ expanded=”false” />

 

Syntax:

  • ns:Categories

 

Parameters:

  • depth – 1, 2 (default), 3, 4, 5
  • expanded – false (default), true

 

Click Here For: Programming In nsCommerceSpace nsScript (Part 4)