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:


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.

Columns_layout customization

 

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:


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


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.


2018 Amy Knapp Family Organizer: August 2017-December 2018
Price: $10.19
(As of: 2017/10/16 10: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: $4.80 (32 %)
29 new from $10.199 used from $10.69
(* = affiliate link / image source: Amazon partner program)
Webster's Spanish-English Dictionary for Students, Second Edition
Price: $4.49
(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: $0.50 (10 %)
51 new from $3.2540 used from $3.17
(* = affiliate link / image source: Amazon partner program)
Jurassic World
Preis: EUR 4,99
(Stand von: 2018/12/08 1: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.
)
53 neu von EUR 2,7915 gebraucht von EUR 0,99
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)
Mister Mellow
Price: $18.49
(As of: 2017/10/16 2: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.
)
17 new from $18.451 used from $22.96
(* = affiliate link / image source: Amazon partner program)
Harry Potter and the Prisoner of Azkaban (2016 Edition) [Includes Digital Download] [Blu-ray] [Region Free]
Price: £9.99
(As of: 2018/12/08 11: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.co.uk/ at the time of purchase will apply to the purchase of this product.
)
9 new from £9.471 used from £7.42
(* = affiliate link / image source: Amazon partner program)
The Mummy (2017) [Blu-ray]
Price: $19.96
(As of: 2017/10/16 9: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.
)
19 new from $10.1621 used from $7.99
(* = affiliate link / image source: Amazon partner program)
PINDIA Non-Woven Cloth Hanging Storage Wardrobe, 4 Layers, Cream (SRW3000136)
Price: INR 462.00
(As of: 2018/11/07 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.in/ at the time of purchase will apply to the purchase of this product.
)
You save: INR 336.00 (42 %)
2 new from INR 425.000 used
(* = affiliate link / image source: Amazon partner program)
Annihilation: A Novel (The Southern Reach Trilogy)
Price: $12.60
(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: $1.40 (10 %)
46 new from $8.9832 used from $8.74
(* = affiliate link / image source: Amazon partner program)