ys-tools/default-theme-configuration-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

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.

Configuration Placement

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

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

Logo Configuration Example

Main Colors

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

Main Colors Example

Secondary Colors

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)

Secondary Colors Example

Menu Colors

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

Menu Colors

Button Colors

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

Button Colors Example

Additional Styling

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

Additional Styling Example

CSS Styling

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

CSS Styling Example

Email Templates

CSS Styling

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

CSS Styling Example

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.

Support

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 ys-tools/default-theme-configuration-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 4.17k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 16
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-28