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


A Tangled Mercy: A Novel
Price: $11.99
(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.
)
You save: $12.96 (52 %)
2 new from $11.999 used from $12.50
(* = affiliate link / image source: Amazon partner program)
Anker 90cm mit Nylon umflochtenes verwicklungssicheres USB Lightning Kabel Ladekabel [Apple MFi Zertifiziert] für iPhone 6s / 6 / 6 Plus / 6s Plus, iPad Pro / Air 2 und weitere (Pink)
Preis: EUR 9,99
(Stand von: 2018/04/23 4:15 am - 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 9,990 gebraucht
(* = Affiliate-Link / Bildquelle: Amazon-Partnerprogramm)
The Acid Watcher Diet: A 28-Day Reflux Prevention and Healing Program
Price: $12.23
(As of: 2017/10/16 12:15 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: $5.77 (32 %)
24 new from $11.6915 used from $8.00
(* = affiliate link / image source: Amazon partner program)
Recovery: Freedom from Our Addictions
Price: $16.20
(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: $10.80 (40 %)
27 new from $16.0722 used from $16.07
(* = affiliate link / image source: Amazon partner program)
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)
Rosie Revere, Engineer
Price: $13.57
(As of: 2017/10/16 10: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.38 (24 %)
78 new from $10.5853 used from $9.21
(* = affiliate link / image source: Amazon partner program)
Home Fire: A Novel
Price: $17.22
(As of: 2017/10/16 10: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: $8.78 (34 %)
50 new from $11.9527 used from $11.90
(* = affiliate link / image source: Amazon partner program)
House of Leaves
Price: $12.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.81 (42 %)
61 new from $12.19170 used from $4.73
(* = affiliate link / image source: Amazon partner program)