Columns_layout

Welcome to the showcase of ASA2’s Columns_layout template. This flexible template is designed to display multiple products in a clean, multi-column layout, making it ideal for product collections or category overviews.

With extensive customization options, you can easily adjust the number of columns and product display settings based on your preferences and screen size – all without any coding knowledge. The template is fully responsive, ensuring an optimal viewing experience across all devices.

Customize the layout globally in the ASA2 admin panel or on a per-shortcode basis for maximum flexibility. Discover how the Columns_layout template can enhance your Amazon Affiliate site powered by WordPress.

17%
Tower T13005 Filter Coffee Machine with built in coffee grinder, Coarse and Fine Grinding Options, Bean to Cup, 0.6 Litre, 900 W, Black
£49.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
VonShef Filter Coffee Machine - 1.5L Drip Coffee Maker with Hot Plate & Programmable 24 Hour Timer, 900W, Digital Display, Keep Warm Function, Reusable Filter, 12 Cup Capacity - Silver.
£39.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Aigostar Filter Coffee Machine, Programmable Drip Coffee Maker with 24hr Timer & 40min Keep Warm, Fast Brewing, 1.5L Coffee Filter Machine with Anti-Drip & BPA Free - Benno 30YWZ
£34.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
24%
De'Longhi Filter Coffee Machine, 1.25 Liters, Auto shut off and Anti-Drip system, ICM15210.1 - Black
£37.59
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
13%
Morphy Richards Equip Filter Coffee Machine, Coffee Maker for Instant Coffee, Pour Over Technology, 10 Cup, Anti Drip, Reusable Filter, Keep Warm, Aroma Blender, Black/Brushed Steel, 162501
£34.72
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Melitta 1025-18 Look V Timer filter coffee machine with thermal jug and timer function, 1080, removable water tank and descaling program, 1.25 liters, black
--
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.

Integration

There are several ways how an ASA2 product template can be integrated into a website.

This video shows how to use ASA2's Gutenberg Block to embed a products into your website using the "Columns_layout" template.

This video shows how to use ASA2's Classic Editor Button to embed products into your website using the "Columns_layout" template.

Wherever you can work with WordPress shortcodes, you can also embed products with ASA2 shortcodes. The template to be used can be defined with the tpl option. Otherwise, the template defined as the default is used.

This shortcode uses the cat_slug option to display products from a specific category and the limit option to limit the quantity to 8.

[asa2_smart_collection cat_slug="filter-coffee-machines" limit="8" orderby="random" tpl="Columns_layout" /]

If you want to render this product template directly from PHP, e.g. in an individual page template, you can do this with the function asa2_render_smart_collection.

<?php
$options = array(
    'cat_slug' => 'filter-coffee-machines',
    'limit' => 8,
    'is_available_main' => true,
    'is_prime' => true,
    'rating_gt' => 4,
    'orderby' => 'rand',
    'tpl' => 'Columns_layout'
);
// display the smart collection
echo asa2_render_smart_collection($options);

Customization

On ASA2’s admin page Templates you can customize the general options of template Columns_layout. These settings will effect the display of this template on a global scope.

 

Customization Examples

This example uses the option cols_lg to show 4 columns on large devices instead of 3.

[asa2_smart_collection cat_slug="filter-coffee-machines" limit="8" orderby="random" tpl="Columns_layout" cols_lg="4"  /]
17%
Tower T13005 Filter Coffee Machine with built in coffee grinder, Coarse and Fine Grinding Options, Bean to Cup, 0.6 Litre, 900 W, Black
£49.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
VonShef Filter Coffee Machine - 1.5L Drip Coffee Maker with Hot Plate & Programmable 24 Hour Timer, 900W, Digital Display, Keep Warm Function, Reusable Filter, 12 Cup Capacity - Silver.
£39.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Aigostar Filter Coffee Machine, Programmable Drip Coffee Maker with 24hr Timer & 40min Keep Warm, Fast Brewing, 1.5L Coffee Filter Machine with Anti-Drip & BPA Free - Benno 30YWZ
£34.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
24%
De'Longhi Filter Coffee Machine, 1.25 Liters, Auto shut off and Anti-Drip system, ICM15210.1 - Black
£37.59
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
13%
Morphy Richards Equip Filter Coffee Machine, Coffee Maker for Instant Coffee, Pour Over Technology, 10 Cup, Anti Drip, Reusable Filter, Keep Warm, Aroma Blender, Black/Brushed Steel, 162501
£34.72
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Melitta 1025-18 Look V Timer filter coffee machine with thermal jug and timer function, 1080, removable water tank and descaling program, 1.25 liters, black
--
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
39%
Russell Hobbs Buckingham Filter Coffee Machine, 1.25L Carafe/10 cups, 1-4 Cup brewing option, Fast brew, 24hr timer, 40min keep warm, Pause & Pour, Washable filter, Auto clean, 1000W, 20680
£42.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
This example shows that you can pass on options to the product template, such as the button_color option for the “Flat_box_vertical” template used here.

[asa2_smart_collection cat_slug="filter-coffee-machines" limit="8" orderby="random" tpl="Columns_layout" button_color="green" /]
17%
Tower T13005 Filter Coffee Machine with built in coffee grinder, Coarse and Fine Grinding Options, Bean to Cup, 0.6 Litre, 900 W, Black
£49.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
VonShef Filter Coffee Machine - 1.5L Drip Coffee Maker with Hot Plate & Programmable 24 Hour Timer, 900W, Digital Display, Keep Warm Function, Reusable Filter, 12 Cup Capacity - Silver.
£39.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Aigostar Filter Coffee Machine, Programmable Drip Coffee Maker with 24hr Timer & 40min Keep Warm, Fast Brewing, 1.5L Coffee Filter Machine with Anti-Drip & BPA Free - Benno 30YWZ
£34.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
24%
De'Longhi Filter Coffee Machine, 1.25 Liters, Auto shut off and Anti-Drip system, ICM15210.1 - Black
£37.59
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
13%
Morphy Richards Equip Filter Coffee Machine, Coffee Maker for Instant Coffee, Pour Over Technology, 10 Cup, Anti Drip, Reusable Filter, Keep Warm, Aroma Blender, Black/Brushed Steel, 162501
£34.72
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
Melitta 1025-18 Look V Timer filter coffee machine with thermal jug and timer function, 1080, removable water tank and descaling program, 1.25 liters, black
--
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
39%
Russell Hobbs Buckingham Filter Coffee Machine, 1.25L Carafe/10 cups, 1-4 Cup brewing option, Fast brew, 24hr timer, 40min keep warm, Pause & Pour, Washable filter, Auto clean, 1000W, 20680
£42.99
(As of: March 19, 2025 02:00 - Details)
(* = affiliate link / image source: Amazon partner program)
View on Amazon *
×
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on https://www.amazon.co.uk/ at the time of purchase will apply to the purchase of this product.
This example shows how you can implement an alternative product template using the item_tpl option.

[asa2_smart_collection cat_slug="filter-coffee-machines" limit="6" orderby="random" tpl="Columns_layout" cols_md="2" cols_lg ="3" item_tpl="Robust" /]
Tower T13005 Filter Coffee Machine with built in coffee grinder, Coarse and Fine Grinding Options, Bean to Cup, 0.6 Litre, 900 W, Black
Tower T13005 Filter Coffee Machine with built in coffee grinder, Coarse and Fine Grinding Options, Bean to Cup, 0.6 Litre, 900 W, Black
List Price: £59.99
£49.99
You save £10.00 (17%)
VonShef Filter Coffee Machine - 1.5L Drip Coffee Maker with Hot Plate & Programmable 24 Hour Timer, 900W, Digital Display, Keep Warm Function, Reusable Filter, 12 Cup Capacity - Silver.
VonShef Filter Coffee Machine - 1.5L Drip Coffee Maker with Hot Plate & Programmable 24 Hour Timer, 900W, Digital Display, Keep Warm Function, Reusable Filter, 12 Cup Capacity - Silver.
£39.99
Aigostar Filter Coffee Machine, Programmable Drip Coffee Maker with 24hr Timer & 40min Keep Warm, Fast Brewing, 1.5L Coffee Filter Machine with Anti-Drip & BPA Free - Benno 30YWZ
Aigostar Filter Coffee Machine, Programmable Drip Coffee Maker with 24hr Timer & 40min Keep Warm, Fast Brewing, 1.5L Coffee Filter Machine with Anti-Drip & BPA Free - Benno 30YWZ
£34.99
De'Longhi Filter Coffee Machine, 1.25 Liters, Auto shut off and Anti-Drip system, ICM15210.1 - Black
De'Longhi Filter Coffee Machine, 1.25 Liters, Auto shut off and Anti-Drip system, ICM15210.1 - Black
List Price: £49.99
£37.59
You save £12.00 (24%)
Morphy Richards Equip Filter Coffee Machine, Coffee Maker for Instant Coffee, Pour Over Technology, 10 Cup, Anti Drip, Reusable Filter, Keep Warm, Aroma Blender, Black/Brushed Steel, 162501
Morphy Richards Equip Filter Coffee Machine, Coffee Maker for Instant Coffee, Pour Over Technology, 10 Cup, Anti Drip, Reusable Filter, Keep Warm, Aroma Blender, Black/Brushed Steel, 162501
List Price: £39.99
£34.72
You save £5.27 (13%)
Melitta 1025-18 Look V Timer filter coffee machine with thermal jug and timer function, 1080, removable water tank and descaling program, 1.25 liters, black
Melitta 1025-18 Look V Timer filter coffee machine with thermal jug and timer function, 1080, removable water tank and descaling program, 1.25 liters, black
--

Options

This list contains all the options that are available for ASA2's product template Columns_layout, including examples of how they can be used in conjunction with shortcode.

Layout
OptionTypeValuesDescription
width string custom text Width. A CSS value like "50%" or "200px".
max_width_css string custom text Max width. A CSS value like "80%" or "200px".
Misc
OptionTypeValuesDescription
item_tpl string custom text Name of the template to use for rendering the single items.
cols_xs int 1 between 99 Number of columns on extra small devices (Phones, <768px)
cols_sm int 1 between 99 Number of columns on small devices (Tablets, ≥768px)
cols_md int 1 between 99 Number of columns on medium devices (Desktops, ≥992px)
cols_lg int 1 between 99 Number of columns on large devices (Desktops, ≥1200px)
gap_xs int 0 between 999 Columns gap in pixels on extra small devices (Phones, <768px)
gap_sm int 0 between 999 Columns gap in pixels on small devices (Tablets, ≥768px)
gap_md int 0 between 999 Columns gap in pixels on medium devices (Desktops, ≥992px)
gap_lg int 0 between 999 Columns gap in pixels on large devices (Desktops, ≥1200px)
structured_data string
  • "none" (None)
  • "json_ld" (JSON-LD format)
Structured Data. Include structured data at the end of the template
custom_css string
  • "none" (None)
  • "json_ld" (JSON-LD format)
Custom CSS. Custom CSS that is applied to all occurrences of this template on a page and is only included once in the source code.