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...
« Back
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


