Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wojciechprusaczyk/prestashop-custom-flags
https://github.com/wojciechprusaczyk/prestashop-custom-flags
php prestashop prestashop-1-7 prestashop-module smarty
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wojciechprusaczyk/prestashop-custom-flags
- Owner: WojciechPrusaczyk
- Created: 2024-11-08T16:00:16.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T16:54:40.000Z (2 months ago)
- Last Synced: 2024-11-08T17:27:06.794Z (2 months ago)
- Topics: php, prestashop, prestashop-1-7, prestashop-module, smarty
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom flags
Prestashop 1.7 module for adding custom product flags.
Also allows user, to trigger flag below, or above specified item quantity.![image](https://github.com/user-attachments/assets/63545dfa-bce1-42d9-adb7-18ff2662193c)
## Installation
- unzip `customFlags` folder from release page
- move `customFlags` folder to your modules directory
- run `php bin/console prestashop:module install customFlags` in prestashop direcotry## Configuration and usage
- First you have to add some custom flags
- go to `Modules / Module Manager` and find `Custom flags` module
- go to module config page
- specify required values
- **Flag name** to differentiate flags from each other
- **Text displayed on the flag** text visible on product flag
- **Flag type** specifies way which flag is displayed
- **optionally you can set the `trigger`**
- choose trigger type which implies value which triggers flag
- choose operator `<` or `>`
- finally specify value which triggers flag
- now you can go to your `catalog / product`
- select product
- go to options page
- select flag