#6

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 Properties for Shopaholic plugin adds functionality to Shopaholic plugin, allowing you to create custom properties for specific types of products on your online store. Whether you’re selling hardware components or food for domestic animals, this plugin will let you create a more flexible interface for your customers.

With this plugin you are able to:

  • Create custom properties for products, assign name, ID and the measurement of the property. You can also assign which components will be used to display the properties in the back-end (text, textarea, checkboxlist, dropdown, datepicker, colorpicker, mediafinder)
  • Assign properties to a category of products. So that individual types of products, like hardware, mobile phones, tablets and other products could have their own specific sets of properties, like technical specifications.
  • Create groups of properties and assign a group name, like general characteristics or a detailed overview of the product.

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:

Property list

The full plugin documentation is abailable here.

Extension ProductItem class

Properties for Shopaholic plugin adds fields to ProductItem class object:

"property" field in ProductItem object returns PropertyCollection object with sorted active properties for this product.:

Example: render of property list for product

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

{# Get product item #}
{% set obProduct = ProductPage.get() %}
<div data-id="{{ obProduct.id }}">
    <h1>{{ obProduct.name }}</h1>
    {# Get list of proeprties for product #}
    {% set obPropertyList = obProduct.property %}
    {% if obPropertyList.isNotEmpty == true %}
        <ul>
            {% for obProeprty in obPropertyList if obProeprty.hasValue() %}
                <li>{{ obProeprty.name }}: {{ obProeprty.property_value.getValueString() }}</li>
            {% endif%}
        </ul>
    {% endif %}
</div>

Extension OfferItem class

Properties for Shopaholic plugin adds fields to OfferItem class object:

"property" field in OfferItem object returns PropertyCollection object with sorted active properties for this offer.

Example: render of property list for offer

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

{# Get product item #}
{% set obProduct = ProductPage.get() %}
<div data-id="{{ obProduct.id }}">
    <h1>{{ obProduct.name }}</h1>
    {# Get first offer #}
    {% set obOffer = obProduct.offer.first() %}
    {# Get list of proeprties for offer #}
    {% set obPropertyList = obOffer.property %}
    {% if obPropertyList.isNotEmpty == true %}
        <ul>
            {% for obProeprty in obPropertyList if obProeprty.hasValue() %}
                <li>{{ obProeprty.name }}: {{ obProeprty.property_value.getValueString() }}</li>
            {% endif%}
        </ul>
    {% endif %}
</div>

Extension CategoryItem class

Properties for Shopaholic plugin adds fields to CategoryItem class object:

  • (array) product_property_list - array with relation data
  • (array) offer_property_list - array with relation data
  • (PropertyCollection) product_property
  • (PropertyCollection) offer_property

"product_property" and "offer_property" fields in CategoryItem object returns PropertyCollection object with sorted active properties for this category.

Example: render of property list for category

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

{# Get category item #}
{% set obCategory = CategoryPage.get() %}
<div data-id="{{ obCategory.id }}">
    <h1>{{ obCategory.name }}</h1>
    {# Get products proeprty list for category #}
    {% set obPropertyList = obCategory.product_property %}
    {% if obPropertyList.isNotEmpty == true %}
        <ul>
            {% for obProeprty in obPropertyList if obProeprty.hasValue() %}
                <li>{{ obProeprty.name }}: {{ obProeprty.property_value.getValueString() }}</li>
            {% endfor %}
        </ul>
    {% endif %}
</div>
1.1.2

Fixed bug in the PropertyCollection::group method, if the property is not attached to any group

Mar 10, 2018

1.1.1

Added check for isNested flag when expanding forms

Feb 23, 2018

1.1.0

Add "settings" field to PropertyItem class object

Feb 05, 2018

1.0.1

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

Jan 08, 2018

1.0.0

Initialize plugin.

Dec 06, 2017