knoopers Posted yesterday at 08:07 AM Share Posted yesterday at 08:07 AM Custom Flags - PrestaShop 8+ Module Add custom flags and labels to your products. Display badges like Bestseller, Eco, Limited Edition, directly on product images - both on product listings and product detail pages. Features Create unlimited custom flags with configurable name, background color, and text color Live preview of the flag while editing in the admin panel AND-based search - typing "victoria build" finds products containing both words Assign flags to products via AJAX-powered search (search by name or reference, up to 500 results) Multi-select product assignment with Select All/Deselect All button Assign flags to all products in a category at once Flags are displayed as overlays on product images (centered at the top) When a product has a custom flag, native PrestaShop flags (e.g. "On Sale!") are automatically hidden Fully responsive - flags adapt to mobile screens Position ordering - control the display order of multiple flags Toggle active/inactive state per flag Clean uninstall - removes all database tables and admin tabs Requirements PrestaShop 8.0.0 or higher PHP 7.4+ Installation Copy the customflags folder into your PrestaShop modules/ directory Go to Back Office → Modules → Module Manager Search for "Custom Flags" and click Install Usage Creating a Flag Go to Back Office → Catalog → Custom Flags Click the + button to create a new flag Enter the flag name, choose background and text colors Set the position (lower = displayed first) and active status Click Save Assigning Products Open an existing flag (edit mode) Use the search bar to find products by name or reference (supports multi-word AND search) Click Select All or manually check products from the results Click Assign Selected To remove a product, click the trash icon next to it Assigning by Category Open an existing flag (edit mode) Select a category from the Assign by Category dropdown Click Assign Category to add all products from that category Modification You can edit CSS file (controllers/views/css/front.css) to adjust flags to your own preferences. License MIT Author Astrodesign.pl - github.com/kn00persDownload: https://github.com/kn00pers/prestashop-custom-flagsIt may have some bugs - looking forward to know about them. You can do whatever you want with this module just don't sell it - please. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now