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.


I Will Find You: Solving Killer Cases from My Life Fighting Crime
Price: $24.30
(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.
)
You save: $2.70 (10 %)
5 new from $23.951 used from $50.10
(* = affiliate link / image source: Amazon partner program)
Canon EOS M50 Gehäuse schwarz
Preis: EUR 578,00
(Stand von: 2018/12/08 1:15 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 1,00 ( %)
7 neu von EUR 578,000 gebraucht
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)
Pokémon Ultra Sun & Pokémon Ultra Moon Edition: The Official National Pokédex
Price: $21.23
(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.
)
You save: $3.76 (15 %)
1 new from $21.230 used
(* = 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)
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Price: $32.88
(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: $12.11 (27 %)
15 new from $25.0911 used from $23.00
(* = affiliate link / image source: Amazon partner program)
The Paradigm: The Ancient Blueprint That Holds the Mystery of Our Times
Price: $13.19
(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: $8.80 (40 %)
42 new from $10.999 used from $15.40
(* = affiliate link / image source: Amazon partner program)
Lessons From a Third Grade Dropout
Price: $8.67
(As of: 2017/10/16 11: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: $4.32 (33 %)
24 new from $8.6718 used from $10.40
(* = affiliate link / image source: Amazon partner program)
Antifa: The Anti-Fascist Handbook
Price: $13.78
(As of: 2017/10/16 1: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.
)
You save: $3.21 (19 %)
62 new from $9.2224 used from $10.00
(* = affiliate link / image source: Amazon partner program)