Columns layout

On this page, ASA’s managed template “Columns_layout” is used. It is specialized for displaying multiple products in columns. It works perfectly with ASA 2 collections or smart collections. It is customizable in general and per shortcode.

Main features

  • Specialized for rendering multiple products in columns
  • Responsive design
  • Adjustable columns count per screen width
  • Customizable without programming skills

Example

This first example is built with the following shortcode:


Minions (Blu-ray + DVD + DIGITAL HD)
$9.99
(As of: 2017/10/16 12:45 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Jurassic World [Blu-ray]
$11.99
(As of: 2017/10/16 10:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
The Lord of the Rings: The Motion Picture Trilogy [Blu-ray]
$59.98
(As of: 2017/10/16 11:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Secret Garden: An Inky Treasure Hunt and Coloring Book
$14.36
(As of: 2017/10/16 9:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)

Customization

On ASA 2’s admin page “Templates” you can customize the general options of template “Columns_layout“. These settings will effect every usage of this template.

Shortcode options

Besides the general settings, it is possible to overwrite template options per shortcode.

For example, to show 6 columns on large devices instead the generally configured amount, this shortcode would make the difference:


Minions (Blu-ray + DVD + DIGITAL HD)
$9.99
(As of: 2017/10/16 12:45 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Jurassic World [Blu-ray]
$11.99
(As of: 2017/10/16 10:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
The Lord of the Rings: The Motion Picture Trilogy [Blu-ray]
$59.98
(As of: 2017/10/16 11:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Secret Garden: An Inky Treasure Hunt and Coloring Book
$14.36
(As of: 2017/10/16 9:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
10-Day Green Smoothie Cleanse
$10.17
(As of: 2017/10/16 12:45 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
If I Can Dream
$9.32
(As of: 2017/10/16 8:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
What's Inside: Songs From Waitress
$9.66
(As of: 2017/10/16 8:45 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Abbey Road
$14.58
(As of: 2017/10/16 12:30 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
The Martian
$10.79
(As of: 2017/10/16 9:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Played in Space: The Best of Something Corporate
$7.39
(As of: 2017/10/16 9:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)

Or to render 2 columns on extra small devices instead of the generally configured amount, use option “cols_sm”:


Minions (Blu-ray + DVD + DIGITAL HD)
$9.99
(As of: 2017/10/16 12:45 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Jurassic World [Blu-ray]
$11.99
(As of: 2017/10/16 10:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
The Lord of the Rings: The Motion Picture Trilogy [Blu-ray]
$59.98
(As of: 2017/10/16 11:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Secret Garden: An Inky Treasure Hunt and Coloring Book
$14.36
(As of: 2017/10/16 9:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
10-Day Green Smoothie Cleanse
$10.17
(As of: 2017/10/16 12:45 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
If I Can Dream
$9.32
(As of: 2017/10/16 8:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
What's Inside: Songs From Waitress
$9.66
(As of: 2017/10/16 8:45 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Abbey Road
$14.58
(As of: 2017/10/16 12:30 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
The Martian
$10.79
(As of: 2017/10/16 9:00 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)
Played in Space: The Best of Something Corporate
$7.39
(As of: 2017/10/16 9:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
(* = affiliate link / image source: Amazon partner program)

Following you find a list of all available shortcode options for template “Columns_layout”:

Option Type Values Description
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)

More examples

You can use any template to render the single items. Use option “item_tpl” to set a custom item template.


Hitler's American Model: The United States and the Making of Nazi Race Law
Price: $17.62
(As of: 2017/10/16 1:30 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $7.33 (29 %)
40 new from $17.6119 used from $17.59
(* = affiliate link / image source: Amazon partner program)
Stephen Colbert's Midnight Confessions
Price: $13.98
(As of: 2017/10/16 9:30 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $6.01 (30 %)
49 new from $12.3923 used from $9.00
(* = affiliate link / image source: Amazon partner program)
Weltgeschichte to go
Preis: EUR 12,99
(Stand von: 2019/02/02 12:45 pm - Details
×
Produktpreise und -verfügbarkeit sind zum angegebenen Datum / Uhrzeit korrekt und können sich ändern. Alle Preis- und Verfügbarkeitsinformationen auf https://www.amazon.de/ zum Zeitpunkt des Kaufs gelten für den Kauf dieses Produkts.
)
1 neu von EUR 12,990 gebraucht
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)
The Legend of Zelda: Breath of the Wild Deluxe Edition: The Complete Official Guide
Price: $54.39
(As of: 2017/10/16 8:45 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $25.60 (32 %)
20 new from $54.399 used from $53.74
(* = affiliate link / image source: Amazon partner program)
Daring to Hope: Finding God's Goodness in the Broken and the Beautiful
Price: $17.67
(As of: 2017/10/16 12:00 pm - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $8.32 (32 %)
42 new from $16.0014 used from $15.99
(* = affiliate link / image source: Amazon partner program)
Looking To The Future (#11 in the Bregdan Chronicles Historical Fiction Romance Series) (Volume 11)
Price: $18.90
(As of: 2017/10/16 8:15 am - Details
×
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.com/ at the time of purchase will apply to the purchase of this product.
)
You save: $2.10 (10 %)
2 new from $18.900 used
(* = affiliate link / image source: Amazon partner program)
Für jeden Tag: Mehr als 100 abwechslungsreiche Rezepte zum neuen Feel Good Programm von Weight Watchers. Jetzt mit der neuen SmartPoints-Formel
Preis: EUR 19,99
(Stand von: 2019/02/02 12:30 pm - Details
×
Produktpreise und -verfügbarkeit sind zum angegebenen Datum / Uhrzeit korrekt und können sich ändern. Alle Preis- und Verfügbarkeitsinformationen auf https://www.amazon.de/ zum Zeitpunkt des Kaufs gelten für den Kauf dieses Produkts.
)
44 neu von EUR 19,994 gebraucht von EUR 15,29
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)
Alesis Q49 USB MIDI Keyboard Controller mit 49 Tasten
Preis: EUR 69,00
(Stand von: 2019/02/02 2:00 pm - Details
×
Produktpreise und -verfügbarkeit sind zum angegebenen Datum / Uhrzeit korrekt und können sich ändern. Alle Preis- und Verfügbarkeitsinformationen auf https://www.amazon.de/ zum Zeitpunkt des Kaufs gelten für den Kauf dieses Produkts.
)
Sie sparen: EUR 10,99 (14 %)
13 neu von EUR 69,002 gebraucht von EUR 64,17
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)