Jamroom Logo   Get Jamroom now for as low as !
The Musician Community Builder
free download!
an overview
key features
key features
Newsletter
E-mail Address:

Spotlight
World Wide Beats
196386 "Jamroom is the only all-in-one system you'll ever need for your music community. Some of the best features for musicians promotions, hands down! World Wide Beats is glad to be a part of the incredible Jamroom community."
{jr_advert} {jr_advert} Index {jr_array} {jr_array}
 

{jr_also_bought}

Overview:

The {jr_also_bought} template function is used for embedding a "Also Bought" section into your Jamroom templates - i.e. a small area that shows what other Vault Items user's have purchased along with the given Vault ID (i.e. displayed Vault Item).

Usage:

Place the {jr_also_bought} function, along with any additional parameters into a Jamroom Template.

Parameters:

Name Type Required Default Description
vault_id number yes n/a The "vault_id" parameter tells Jamroom which vault_id from the Jamroom Vault Items table it should look for.
template string yes false

The "template" parameter tells Jamroom which skin template to use for creating the output.

cache_seconds number no "20" The "cache_seconds" parameter tells Jamroom how long the generated output will be cached.  Default is "20" meaning 20 seconds.
show number yes n/a The "show" parameter tells Jamroom how many "also bought items" will be displayed.
order_dir string no DESC The "order_dir" parameter allows you to define how the results are ordered.  Default is "DESC" which means "descending", and will order the Also Bought items by the number of total purchases (i.e. how popular the Vault Item is) from highest to lowest.  Use "ASC" to order from lowest to highest.
assign string no n/a The "assign" parameter allows you to have the generated output assigned to a template variable instead of being displayed, to allow for further processing.

Examples:

embedded {jr_also_bought} function call in Jamroom Skin template:

{jr_also_bought vault_id="5" show="5" template="also_bought.tpl" cache_seconds="60"}
{jr_advert} {jr_advert} page 127 of 185 {jr_array} {jr_array}
Home | Download | Support | FAQ | Demos | Members | Purchase | Marketplace | Contact | Privacy
©2003 - 2010 Talldude Networks, LLC.