{"id":15986899,"url":"https://github.com/oksydan/is_themecore","last_synced_at":"2025-03-18T01:30:35.318Z","repository":{"id":40438801,"uuid":"339205621","full_name":"Oksydan/is_themecore","owner":"Oksydan","description":"Falcon theme core module.","archived":false,"fork":false,"pushed_at":"2024-11-21T00:09:37.000Z","size":392,"stargazers_count":13,"open_issues_count":1,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T06:04:40.136Z","etag":null,"topics":["core-module","falcon","prestashop","prestashop-module","webp"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oksydan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2021-02-15T21:00:17.000Z","updated_at":"2025-01-07T06:11:26.000Z","dependencies_parsed_at":"2024-03-19T01:40:38.005Z","dependency_job_id":"562b2b89-07a9-43a9-bfd5-6fec78d59f21","html_url":"https://github.com/Oksydan/is_themecore","commit_stats":{"total_commits":94,"total_committers":4,"mean_commits":23.5,"dds":0.3085106382978723,"last_synced_commit":"47422343dbcecc1d3a1355b013a0b549758ddc2c"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oksydan%2Fis_themecore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oksydan%2Fis_themecore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oksydan%2Fis_themecore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oksydan%2Fis_themecore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oksydan","download_url":"https://codeload.github.com/Oksydan/is_themecore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893857,"owners_count":20364918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["core-module","falcon","prestashop","prestashop-module","webp"],"created_at":"2024-10-08T03:05:51.025Z","updated_at":"2025-03-18T01:30:34.874Z","avatar_url":"https://github.com/Oksydan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Theme core module\nPrestashop module created for [starter theme](https://github.com/Oksydan/modern-prestashop-starter-theme)\n\n#### How to use assets.yml file\n\n`assets.yml` file have to be placed inside `themes/THEME_NAME/config/` to work.\nExample of `assets.yml` file:\n\n```yml\ncss:\n  product:\n    fileName: product.css\n    priority: 200\n    include:\n      - product\n  checkout:\n    fileName: checkout.css\n    priority: 200\n    include:\n      - cart\n      - order\n      - orderconfirmation\n  blog:\n    fileName: blog.css\n    priority: 200\n    include:\n      - module-blog-*\n  example_remote_bootstrap:\n    fileName: //cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\n    server: remote # required to set server: remote for remote file\n    priority: 200\n\njs:\n  product:\n    fileName: product.js\n    priority: 200\n    include:\n      - product\n  checkout:\n    fileName: checkout.js\n    priority: 200\n    include:\n      - cart\n      - order\n      - orderconfirmation\n  blog:\n    fileName: blog.js\n    priority: 200\n    include:\n      - module-blog-*\n  example_remote_bootstrap:\n    fileName: //cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js\n    server: remote # required to set server: remote for remote file\n    priority: 200\n```\n\nYou are able to use windcard `*` with include page name.\n\n\n#### Structured data modification\n\nYou are able to modify structured data with hooks. List of hooks:\n - `actionStructuredDataBreadcrumb`\n - `actionStructuredDataProduct`\n - `actionStructuredDataShop`\n - `actionStructuredDataWebsite`\n\nEvery hook $param is an array with two keys:\n - `$data` - reference of structured data array\n - `$rawData` - raw structured data array (provided by data provider)\n\n#### Partytown \n\nYou are able to use [partytown](https://partytown.builder.io/) with this module. You have to enable it first in module configuration.\nExample of usage for GTAG:\n\n```html\n    \u003cscript\u003e\n        window.partytown.forward.push('datalayer.push');\n        window.partytown.forward.push('gtag');\n    \u003c/script\u003e\n    \u003cscript type=\"text/partytown\" src=\"https://www.googletagmanager.com/gtag/js?id=YOUR_GTAG_CODE\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/partytown\"\u003e\n        dataLayer = window.dataLayer || [];\n        window.gtag = function () {\n            dataLayer.push(arguments);\n        };\n\n        window.gtag('js', new Date());\n\n        window.gtag('config', 'YOUR_GTAG_CODE');\n    \u003c/script\u003e\n```\n\n##### Beware that partytown is still in beta, and it may not work as expected. Make sure to test it before using in production.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foksydan%2Fis_themecore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foksydan%2Fis_themecore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foksydan%2Fis_themecore/lists"}