Skip to content

Sortable_table_2

Sortable_table_2 example

The managed template "Sortable_table_2" is specialized for displaying multiple products in a sortable table. It works perfectly with ASA 2 collections or smart collections. It is customizable in general and per shortcode.

Main features

  • Specialized for rendering sortable tables with multiple products
  • Responsive design (switches to stacked layout on small width)
  • Customizable without programming skills

INFO

Template "Sortable_table_2" does not yet work with AJAX mode.

Demo page

Sortable_table_2 demo

To see this template in action with different examples, please refer to the demo page:

🚀 Sortable_Table_2 Demo & Examples

Example

Example shortcode:

twig
[asa2_smart_collection cat_slug="coffee-maker" limit="10" tpl="Sortable_table_2" is_available_main="true" /]

Global Options

On ASA 2's admin page "Templates" you can open a customization context window for each managed template. Just hover the mouse cursor over a template row and click the link "Customize" to open it. These settings will effect the appearance of this template.

INFO

The globally applied options can be dynamically overwritten via shortcode options <#shortcode-options>.

The following screenshot illustrates the options window by means of the "Book" template:

Template customization

Shortcode Options

In addition to the global options <#global-options> mentioned above, it is also possible to overwrite these settings dynamically in a WordPress shortcode, like this:

html
// general syntax:
[asa2 option="value"]ASIN[/asa2]

Take a look at other examples <#shortcode-options-examples>.

Complete Options List

Complete list of all options available for this template:

Shortcode Options Examples

twig
// to limit the title length:
[asa2_smart_collection tpl="Sortable_table_2" title_length="50" cat_slug="coffee-maker" limit="10" is_available_main="true" /]

// to show images in medium size:
[asa2_smart_collection tpl="Sortable_table_2" image_size="medium" cat_slug="coffee-maker" limit="10" is_available_main="true" /]

ASA2 - The Amazon Affiliate Plugin for WordPress