Columns layout

On this page, ASA’s managed template “Columns_layout” is used. It is specialized for displaying multiple products in colums. 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)
$13.00
The Martian
$9.04
Samsung Galaxy Grand Prime Dual Sim Factory Unlocked Phone, International Version Retail Packaging, Gold
$145.49

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

Table Mate II 2- Folding Portable Adjustable Table With Cup Holder
Price: INR 700.00
6 new from INR 700.000 used
As of: 2016/06/26 4:30 pm
Samsung Galaxy Grand Prime Dual Sim Factory Unlocked Phone - Retail Packaging - White
Price: $139.49
You save: $160.50 (54 %)
12 new from $139.484 used from $118.99
As of: 2016/03/23 7:50 pm
  • 2G: GSM 850 / 900 / 1800 / 1900 (SIM 1 & SIM 2), 3G: HSDPA 850 / 900 / 1900 / 2100
  • 5" TFT Display Capacitive Multi-Touchscreen
  • Android v4.4.2 (Kit Kat), Quad-Core 1.2 GHz Cortex-A53 Processor, Chipset: Qualcomm MSM8916 Snapdragon 41, Adreno 306 Graphics
  • 8 Megapixel Camera (3264 x 2448 pixels) w/ Autofocus, LED Flash + Front-Facing 5 Megapixel Camera
  • Internal Memory: 8GB, 1GB RAM + micro SD Slot Expandable up to 64GB
  • Unlocked cell phones are compatible with GSM carriers like AT&T and T-Mobile as well as with GSM SIM cards (e.g. H20, Straight Talk, and select prepaid carriers). Unlocked cell phones will not work with CDMA Carriers like Sprint, Verizon, Boost or Virgin.
T-Mobile Nokia Lumia 635 - No Contract Phone (White)
Price: --
14 new from $68.992 used from $69.95
As of: 2016/05/31 7:20 am
  • An uncompromised Windows Phone 8.1 experience with fast quad core processor, bright colorful design with changeable shells and 4.5inch ClearBlack screen.
  • Lightning-fast 4G LTE makes it quicker and easier to connect with the people and things you love online
  • The same apps and experiences as high end Lumia's including free Global maps and navigation, free Nokia MixRadio streaming, and Nokia Camera
  • Live Tiles for instant information from apps, one easy swipe to important notifications with Action Centre, Microsoft Office, OneDrive, and faster ways to connect with Word Flow and Whatsapp and Instagram
  • A more personal and proactive assistant with Cortana
Samsung Galaxy Grand Prime Dual Sim Factory Unlocked Phone, International Version Retail Packaging, Gold
Price: $146.99
10 new from $146.995 used from $114.99
As of: 2016/06/22 5:30 pm
  • Unlocked cell phones are compatible with GSM carriers like AT&T and T-Mobile as well as with GSM SIM cards (e.g. H20, Straight Talk, and select prepaid carriers). Unlocked cell phones will not work with CDMA Carriers like Sprint, Verizon, Boost or Virgin.
  • 2G: GSM 850 / 900 / 1800 / 1900 (SIM 1 & SIM 2), 3G: HSDPA 850 / 900 / 1900 / 2100
  • 5" TFT Display Capacitive Multi-Touchscreen
  • 8 Megapixel Camera (3264 x 2448 pixels) w/ Autofocus, LED Flash + Front-Facing 5 Megapixel Camera
Canon EOS 700D 18MP Digital SLR Camera (Black) with 18-55mm and 55-250mm IS II Lens, 8GB card and Carry Bag
Price: INR 36,100.00
You save: INR 8,895.00 (20 %)
29 new from INR 35,999.000 used
As of: 2016/06/26 4:20 pm
  • 18 megapixel CMOS (APS-C) sensor
  • 14-bit A/D conversion
  • Dual lens camera 55-250mm IS II lens
  • ISO 100-12800 (expandable to H: 25600)
  • EOS full HD movie mode with movie servo
  • 9-point all cross-type AF system (including a high-precision dual-cross f/2.8 center point)
  • Vari-angle touchscreen 3-inch clear view LCD monitor II
  • Includes Canon EF-S 18-55mm f/3.5-5.6 IS II lens, Canon EF-S 55-250mm f/4-5.6 IS II lens, Canon battery LP-E8, Canon battery charger LC-E8E
  • Also includes wide strap, USB cable, software CD, manual, 8GB SDHC class 10 in the box
  • 2 years Canon India warranty card
  • Camera bag (packed separately)
Fallout 4 Vault Dweller's Survival Guide Collector's Edition
Price: $26.48
You save: $13.51 (34 %)
45 new from $19.9934 used from $13.90
As of: 2016/06/26 4:30 pm