#49

Product support

Visit this product's website for support.

Categories

  • E-Commerce
  • Marketing

We have 100 coupons for those who want to test our paid plugins. Curious? Just let us know at [email protected]!

Live Demo

You can visit our Live Demo site. Sign in to backend using: login - manager, password - manager. You can deploy the demo site locally. To do so, you need to clone the repository, follow the steps from the "Installation guide", install the plugins. As a result, you will receive a copy of the demo site with a full database. Having a ready-made demo site example, you can easily learn how to operate the plugins.

Support

Please join us on #shopaholic channel in October CMS slack chat in order to have quick support on all our products. You will also get all newest updates and insights about our existing and upcoming products!

If you have any specific requests, suggestions or ideas please do not hesitate to send us a message, it will help us make our products even better.

If you don't have access to octobercms.slack.com, please register here

Required Plugins

Recommended Plugins

General information

The plugin extends Shopaholic plugin functionality and allows to:

  • Create tags, assign names and descriptions to them
  • Bind tags to a category of products
  • Bind products to a tag
  • Bind tags to a static URL of a filter

Using the plugin’s components it’s possible to: create a tag page, that displays the list of products binded to that tag; display a list of tags for a category of products; filter lists of products by tags.

Get involved and contribute to the project

If you’d like to help us improve the project, you can do so in the following ways:

You can also visit LOVATA’s GitHub page.

License

© 2018, LOVATA Software Development Company under GNU GPL v3.

Developed by Andrey Kharanenka.

These plugin(s) are required for the plugin:

Tag form

The full plugin documentation is abailable here.

TagList component

The component allows to work with TagCollection class objects.

Method list

make($arElementIDList = null)

Example: render tag list

Get collection of tags, apply sorting + filter by flag "active" + filter by category ID

{% obCategory = CategoryPage.get() %}

{% set obTagList = TagList.make().sort().active().category(obCategory.id) %}
{% if obTagList.isNotEmpty() %}
    <div class="tag-list-wrapper">
        {% for obTag in obTagList %}
            <div data-id="{{ obTag.id }}">
                <h1>{{ obTag.name }}</h1>
                {% if obTag.preview_image is not empty %}
                    <img src="{{ obTag.preview_image.path }}" title="{{ obTag.preview_image.title }}" alt="{{ obTag.preview_image.alt }}">
                {% endif %}
                <div>{{ obTag.preview_text }}</div>
            </div>
        {% endfor %}
    </div>
{% endif %}

TagPage/TagData component

The component allows to work with TagItem class objects.

Usage example:

[TagPage]
slug = "{{ :slug }}"
==

{# Get tag item #}
{% set obTag = TagPage.get() %}
<div data-id="{{ obTag.id }}">
    <h1>{{ obTag.name }}</h1>
    {% if obTag.preview_image is not empty %}
        <img src="{{ obTag.preview_image.path }}" title="{{ obTag.preview_image.title }}" alt="{{ obTag.preview_image.alt }}">
    {% endif %}
    <div>{{ obTag.description|raw }}</div>
</div>

Extension ProductCollection class

Tags for Shopaholic plugin adds method:

tag($iTagID)

  • $iTagID - tag ID

Method applies a filter by the tag ID.

    $obList = ProductCollection::make()->tag(2);
1.1.0

Add integration with Search for Shopaholic / Sphinx for Shopaholic plugins

Feb 23, 2018

1.0.1

!!! Adding additional cache cleaning for the sorted list of tags, after the creation of a new tag. Requires Toolbox plugin version 1.3.0 and later.

Jan 08, 2018

1.0.0

Initialize plugin.

Dec 08, 2017