Skip to content

Commit

Permalink
Merge pull request #75 from PrestaShop/dev
Browse files Browse the repository at this point in the history
Release 3.0.0
  • Loading branch information
Hlavtox authored Sep 16, 2024
2 parents 26a3caa + 1171475 commit a523fe1
Show file tree
Hide file tree
Showing 17 changed files with 161 additions and 300 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ on: [push, pull_request]
jobs:
# Check there is no syntax errors in the project
php-linter:
name: PHP Syntax check 5.6 => 8.1
name: PHP Syntax check 7.2 => 8.1
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]

- name: PHP syntax checker 5.6
uses: prestashop/github-action-php-lint/5.6@master

- name: PHP syntax checker 7.2
uses: prestashop/github-action-php-lint/7.2@master

Expand Down Expand Up @@ -58,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
presta-versions: ['1.7.1.2', '1.7.2.5', '1.7.3.4', '1.7.4.4', '1.7.5.1', '1.7.6', '1.7.7', '1.7.8', 'latest']
presta-versions: ['1.7.7', '1.7.8', 'latest']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
# Category tree links

[![PHP tests](https://github.com/PrestaShop/ps_categorytree/actions/workflows/php.yml/badge.svg)](https://github.com/PrestaShop/ps_categorytree/actions/workflows/php.yml)
[![Latest Stable Version](https://poser.pugx.org/PrestaShop/ps_categorytree/v)](//packagist.org/packages/PrestaShop/ps_categorytree)
[![Total Downloads](https://poser.pugx.org/PrestaShop/ps_categorytree/downloads)](//packagist.org/packages/PrestaShop/ps_categorytree)
[![GitHub license](https://img.shields.io/github/license/PrestaShop/ps_categorytree)](https://github.com/PrestaShop/ps_categorytree/LICENSE.md)

## About

Help navigation on your store, show your visitors current category and subcategories.

## Compatibility

PrestaShop: `1.7.7.0` or later

## How to test

Link to specs: https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/improve/modules/category-tree-links-ps_categorytree

Link to test scenario: https://build.prestashop-project.org/test-scenarios/scenarios/modules/ps-categorytree.html

In `BO > Modules`, configure ps_categorytree module - choose a category, set the maximum depth of category sublevels displayed in the block, select an option of sort by (name/position), select an option of sort order (descending /ascending). In FO as a visitor, verify that the current category and subcategories match the configurations in BO.

## Reporting issues

You can report issues with this module in the main PrestaShop repository. [Click here to report an issue][report-issue].
Expand All @@ -26,6 +43,6 @@ Just make sure to follow our [contribution guidelines][contribution-guidelines].
This module is released under the [Academic Free License 3.0][AFL-3.0]

[report-issue]: https://github.com/PrestaShop/PrestaShop/issues/new/choose
[prestashop]: https://www.prestashop.com/
[prestashop]: https://www.prestashop-project.org/
[contribution-guidelines]: https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/project-modules/
[AFL-3.0]: https://opensource.org/licenses/AFL-3.0
40 changes: 0 additions & 40 deletions category-tree-branch.tpl

This file was deleted.

19 changes: 9 additions & 10 deletions config.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>ps_categorytree</name>
<displayName><![CDATA[Category tree links]]></displayName>
<version><![CDATA[2.0.3]]></version>
<description><![CDATA[Adds a block featuring product categories.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
<is_configurable>1</is_configurable>
<need_instance>1</need_instance>
<limited_countries></limited_countries>
</module>
<name>ps_categorytree</name>
<displayName><![CDATA[Category tree links]]></displayName>
<version><![CDATA[3.0.0]]></version>
<description><![CDATA[Help navigation on your store, show your visitors current category and subcategories.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
<is_configurable>1</is_configurable>
<need_instance>1</need_instance>
</module>
Binary file removed img/arrow_right_2.png
Binary file not shown.
34 changes: 0 additions & 34 deletions img/icon/index.php

This file was deleted.

Binary file removed img/icon/open-close.png
Binary file not shown.
34 changes: 0 additions & 34 deletions img/index.php

This file was deleted.

Loading

0 comments on commit a523fe1

Please sign in to comment.