Jamroom Logo   Get Jamroom now for as low as !
The Powerful Social Media Platform
free download!
key features
key features
Newsletter
E-mail Address:

Spotlight
Music Jam UK
271187 "www.music-jam.co.uk was launched at the end of October 2006 to help local bands and solo artists promote their talents here in the UK.  We searched for weeks looking for good software with features at an affordable price, and by accident came across jamroom.net - wow!  What a God send!  Excellent software with all the features we were looking for! - Best Regards"
{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 126 of 184 {jr_array} {jr_array}
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
©2003 - 2008 Talldude Networks, LLC.