|
|||||||||||||||||||||||||||
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); |
|||||||||||||||||||||||||||