Techniques: Displaying Random Products & Categories

Hosted Ecommerce Shopping Cart Software

hosted online shop - ecommerce software - shopping cart software
Home
Home
Overview
Overview
Our Customers
Our Customers
Online Demo
Online Demo
Sign Up
Sign Up
Support
Support
Guides & Articles
User Guide & Tutorials
FAQ's
ekmCommunity
Contact Us
Contact Us
Your Account
Your Account
Call our uk ecommerce Sales Hotline on 0870 013 0626

Select Currency
UK Pound Sterling Euro US Dollar


Our online shops are powered by Windows Server 2003, 128bit Secure Server, and .net
support

 

Techniques: Displaying Random Products & Categories

You can setup your shop to display random products by using the ekm:Tag system, this means that if you are using a standard template you may need to edit it to insert the random product code.

The easiest way to display a random product is to use the code...
[ekm:showdata] 
	data='products'; 
	location='randomlocation';
	includelist='randomproduct';
[/ekm:showdata]
... if you want more control over this you can edit the [ekm:showdata] tag to layout the product and/or category in any format you wish. For example a nice simple display would be achieved with...
[ekm:showdata] 
	' Data to Show
	data='products'; 
	location='randomlocation';
	includelist='randomproduct';

	' Basic Layout & Navigation 
	page_navigation='no'; 

	' Navigation Options when logged in 
	editbuttons='NO'; 

	' Image Sizes 
	image_ratio='80'; 
	image_width='auto';
	image_height='auto'; 

	' Font Face, Font Size and Font Style (Bold, Italic, etc) 
	font_formatting='NO'; 

	' Output Format 
	output_start=''; 
		output_row_start=''; 
			output_column_start=''; 
				output_item='[image][name][price]'; 
			output_column_end=''; 
		output_row_end='';
	output_end=''; 

	' Element Replace 
	element_replace='null';
[/ekm:showdata]
... we would suggest reading the documentation on the [ekm:showdata] tag for more information on how you can customise the layout.
 


« Back
About Us   |   Site Map   |   Terms   |   Privacy