ys-tools/default-theme-configuration-bundle
Composer 安装命令:
composer require ys-tools/default-theme-configuration-bundle
包简介
OroCommerce Default Theme Configuration Bundle
README 文档
README
The bundle allows configuring the default OroCommerce theme from the user interface without writing any code. It allows setting multiple theme options (logo, colors, font, styling) and customize visual representation of the storefront.
The bundle is compatible both with the Community Edition and Enterprise Edition of OroCommerce.
- How To Install The Bundle
- Where Is Configuration?
- What Options Can Be Configured?
- How To Thank The Author
How To Install The Bundle
Open the OroCommerce application root and run the following command:
composer require ys-tools/default-theme-configuration-bundle
If the application is already installed, then cache has to be cleared manually, assets have to be rebuilt, and application has to be upgraded:
rm -rf var/cache/prod
php bin/console oro:assets:install --env=prod
rm -rf var/cache/prod
bin/console oro:platform:update --force --env=prod
Where Is Configuration?
The default theme configuration has to be set in System Configuration. It can be found in the management console menu System > Configuration inside the Commerce > Design > Default Theme Configuration section.
What Options Can Be Configured?
There are many visual options split into several groups. Community Edition supports only global configuration, while Enterprise Edition supports both global and website level configuration.
Logo Configuration
Company Logo sets company logo in the application header. Logo is automatically resized to 50 pixels in height to fit the header
Company Name sets alternative text for the company logo
Favicon sets application favicon. The image is automatically resized to 64x64 size
Main Colors
Header And Footer Background Color sets the background color of both header and footer of the page
Header And Footer Text Color sets the color of text (both plain and links) in the header and footer of the page
Table Header Background Color sets the background color of standard table headers
Table Header Text Color sets the color of the text used in standard table headers
Secondary Colors
Icon Background Color sets the background color of icon and icon based elements
Icon Content Color sets the color of icon and icon based elements
Form Background Color sets the background color of the forms and similar elements
Link Color sets the color of links and interactive elements (radio buttons, checkboxes)
Menu Colors
Main Menu Background Color sets the background color of the main menu
Main Menu Text Color sets the text color of the main menu
Secondary Menu Background Color sets the background color of the secondary menus and similar elements
Secondary Menu Text Color sets the text color of the secondary menus and similar elements
Button Colors
Main Button Background Color sets the background color of main buttons (Submit, Yes, Confirm)
Main Button Text Color sets the text color of main buttons
Secondary Button Background Color sets the background color of secondary buttons (Cancel, No, Decline)
Secondary Button Text Color sets the text color of secondary buttons
Additional Styling
External Stylesheets adds multiple external stylesheets as link tags
Font Family sets the predefined font used all over the storefront
Custom Font Family sets the custom font used all over the storefront, overrides Font Family
CSS Styling
Global Styling adds custom CSS styles to all storefront pages
Home Page Styling, Product Listing Page Styling, Product Details Page Styling, Quick Order Form Styling, Shopping List Styling, Checkout Styling add custom CSS styles to appropriate pages, these styles put after the global styling and may override it
Email Templates
Enable Email Template Wrapper enables custom email template wrapper for all standard emails
Email Template Wrapper contains HTML content of the email wrapper. Please do not forget to verify that all links are static
How To Thank The Author
If this bundle helped you and you are feeling generous today, then you can thank the author and support this initiative using one of the following buttons.
ys-tools/default-theme-configuration-bundle 适用场景与选型建议
ys-tools/default-theme-configuration-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.17k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2020 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「configuration」 「theme」 「default」 「commerce」 「ORO」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ys-tools/default-theme-configuration-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ys-tools/default-theme-configuration-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ys-tools/default-theme-configuration-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Configuration component
A custom Doctine DBAL type to use PHP DateTime objects set to the system's default timezone.
A Bootstrap 4.x base theme for SilverStripe
Utils to load, parse and work with configuration on Mezzio projects
Lucency Theme
Default Controller
统计信息
- 总下载量: 4.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-28
















