217

Product support

Get help in the plugin support forum.

  • Added on Jun 17, 2021
  • Current version: 1.0.0
  • Platform Compatibility
    v3.x not tested
    v2.x use latest
    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