207

Product support

Get help in the plugin support forum.

  • Added on Jun 17, 2021
  • Current version: 1.0.0
  • Compatibility
    October CMS v3.x not tested
    October CMS v2.x use latest
    October CMS v1.x not tested
  • License: Regular / Extended
  • Created by

Categories

Installation

Run the following command in your terminal or install from the marketplace

$ php artisan plugin:install Lovency.GoodNewsProductList

Sample code for pages

News in products

{% if obProduct.articles.isNotEmpty() %}
    {% for item in obProduct.articles %}
        <a href="{{ item.slug }}">{{ item.title }}</a>
    {% endfor %}
{% endif %}

Products in news

{% if obArticle.products.isNotEmpty() %}
    {% for item in obArticle.products %}
      <a href="{{ item.slug }}">{{ item.name }}</a>
    {% endfor %}
{% endif %}
1.0.0

Initialize plugin.

Jun 17, 2021