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
TheBeat.fm
322810 "TheBeat.fm was established on the foundation and confidence that we could provide and increase exposure to independent musicians, agents and labels. After searching for scripts, we fortunately found Jamroom. Jamroom gives the musician complete control over how they market themselves - and allows us to concentrate more on marketing ourselves as a business. Jamroom has helped enable us run successful contests, promoting musicians for events, and we are even currently planning 2 major California concerts. This couldn’t have happened as efficient as it has without the support and help of Jamroom."
{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.