Jamroom Logo
Newsletter
Member Spotlight
378396
BurnJam
"BurnJam.Com wanted to be a part of the music community in ways other than having "Just Another Discussion Forum". Jamroom has given BurnJam.Com the ability to provide a fully interactive approach to bringing Artists, Fans, and Music Retailers together to share music, discuss the industry, and promote the awesome talent that today's artists provide! Without Jamroom, this would have taken ten times longer to achieve - and at a price well beyond our budget. With excellent support and constant development of new features, BurnJam.Com looks forward to growing with Jamroom!"
Follow Jamroom on Twitter!

{jr_advert} Index {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} page 97 of 171 {jr_array}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.