WebsiteBaker Modules, Snippets, Admin-Tools

Anyitems

user rating: average score 4.3, by 3 votesaverage score 4.3, by 3 votesaverage score 4.3, by 3 votesaverage score 4.3, by 3 votesaverage score 4.3, by 3 votes (click to vote)



Anyitems

For displaying Bakery products or specific sections anywhere on the website.

Version 0.6
License GPL
Latest add-ons update 2012-08-08 12:01 UTC
Download Counter 1541
Developer Seagull
Documentation Url Click here to visit
Addon type Snippet
Category WebShops & Catalogs
WebsiteBaker Version Unknown
Forum Discussion (EN) Click here to visit
 
Download Not available Back

Use this snippet to display a few products of a specified section on another page than a Bakery page anywhere on your website, e.g. your homepage.

Once the module is installed, it can be invoked from the index.php file of your template or a code section.

From your template: < ? php display_any_items(section_id, items_per_page, number_of_columns, use_lightbox2); ? >

where:

section_id = the section id of your shop page section
items_per_page = number of items to display
number_of_columns = number of columns to display (1 = vertical, >1 = horizontal)
use_lightbox2 (optional) = set 1 for using Lightbox2 to show the item images, default = 0

Example: < ? php display_any_items(67, 3, 3); ? >

From a code section, e.g.: display_any_items(67, 3, 3);


Last change 2023-12-21 09:32 UTC by Harald Spring