{"id":22075767,"url":"https://github.com/vallic/commerce_promo_bar","last_synced_at":"2026-04-29T14:33:45.658Z","repository":{"id":160041965,"uuid":"635009961","full_name":"Vallic/commerce_promo_bar","owner":"Vallic","description":"Drupal Commerce 2 Promo Bar","archived":false,"fork":false,"pushed_at":"2025-02-26T23:57:03.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"1.0.x","last_synced_at":"2025-06-06T22:07:10.748Z","etag":null,"topics":["drupal","drupalcommerce","ecommerce","promo-banner","promo-bar"],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/commerce_promo_bar","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vallic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-01T19:03:31.000Z","updated_at":"2025-02-26T23:57:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e83495a2-743c-4f83-8859-68ebf8a949b0","html_url":"https://github.com/Vallic/commerce_promo_bar","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Vallic/commerce_promo_bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fcommerce_promo_bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fcommerce_promo_bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fcommerce_promo_bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fcommerce_promo_bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vallic","download_url":"https://codeload.github.com/Vallic/commerce_promo_bar/tar.gz/refs/heads/1.0.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vallic%2Fcommerce_promo_bar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32429145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","drupalcommerce","ecommerce","promo-banner","promo-bar"],"created_at":"2024-11-30T22:11:10.956Z","updated_at":"2026-04-29T14:33:45.629Z","avatar_url":"https://github.com/Vallic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CONTENTS OF THIS FILE\n---------------------\n* Introduction\n* Requirements\n* Installation\n* Configuration\n* Usage\n* Customization\n* Maintainers\n\nINTRODUCTION\n------------\n\nCommerce Promo Bar allows stores to display notifications and promotional information\nvia the bar on top pages or any positions.\n\n\nREQUIREMENTS\n------------\nThis module requires Drupal Commerce 2, and it's submodule promotion and\nColor field module.\n\n\nINSTALLATION\n------------\nInstall the Commerce Promo Bar module as you would normally install\nany Drupal contrib module.\nVisit https://www.drupal.org/node/1897420 for further information.\n\n\nCONFIGURATION\n--------------\n    1. Navigate to Administration \u003e Extend and enable the Commerce Promo Bar\n       module.\n    2. Navigate to Home \u003e Administration \u003e Structure \u003e Block layout and\n       place Commerce Promo Bar block onto region where you want to show promo bars.\n       (if you want to show only one promo bar always - uncheck Stack promo bars)\n    3. Navigate to Home \u003e Administration \u003e Commerce \u003e Configuration \u003e Promo Bar.\n       if you want to add fields, or change display \u0026 form view modes.\n\n\nUSAGE\n--------------\n    1. Navigate to Home \u003e Administration \u003e Commerce \u003e Promo Bars\n       where you can create new promo bar.\n    2. Promo bar should be visible on region where you placed block from\n       2nd step from Configuration.\n\n![Drag Racing](https://www.drupal.org/files/project-images/ui_promobar_1.png)\n\nFEATURES\n--------------\n* adjust background color\n* adjust text color\n* use tokens inside promo bar body\n* WYSIWYG editor to style promo bar message\n* set start and end date\n* set countdown date and display countdown timer\n* restrict visibility per store\n* restrict visibility per customer role\n* restrict visibility per any path\n\nCUSTOMIZATION\n--------------\n* If you want to use Twig, use `commerce-promo-bar.html.twig` for any changes.\n* If you want to use UI for changes, it is possible trough WYSIWYG editor and/or\nview mode / field formatters to achieve some customizations.\n* Promo Bar entity is field-able, so you can add any field to the entity.\nTo use it within Promo Bar body, insert them with tokens\n\nNOTES:\n\n_Javascript which provides functionality for countdown timer expects\nexistence of class `promo-bar-countdown-1` where number 1 from example\nrepresents promo bar entity ID._\n\n_Color fields which are used for customization of color for background and text\nexpects existence of class `article.promo-bar-wrapper-1`\nwhere number 1 from example represents promo bar entity ID._\n\nMAINTAINERS\n-----------\n\nThe 1.0.x branch was created by:\n\n* Valentino Medimorec (valic) - https://www.drupal.org/u/valic\n\n**Project page:** https://www.drupal.org/project/commerce_promo_bar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallic%2Fcommerce_promo_bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallic%2Fcommerce_promo_bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallic%2Fcommerce_promo_bar/lists"}