o3-shop/wave-theme 问题修复 & 功能扩展

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

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

o3-shop/wave-theme

Composer 安装命令:

composer require o3-shop/wave-theme

包简介

This is Wave Theme for O3-Shop.

README 文档

README

General Information

Wave is a responsive theme for all O3-Shop editions. Theme is built on the top of Flow theme.

Installation

If you want to extend the theme you need to clone the repository (see section development) as some soures are ignored on composer installation.

Step 1: Get the source code

This step is only required if the theme is not delivered with the O3-Shop distribution.

composer require o3-shop/wave-theme

Step 2: Prepare the database

In order to install the theme options, import the setup.sql (to be found in DOCUMENT_ROOT/source/Application/views/wave) into your database.

Option 1: Console

mysql -u MYSQL_USER -p SHOP_DATABASE < wave/setup.sql

Option 2: Shop Admin: Service -> Tools

If you have a local copy of wave files, go to Service -> Tools in Shop Admin, upload wave/setup.sql and click "start update" button

Step 3: Activate theme

Log into the admin panel, go to Extensions → Themes → Wave and press the Activate button. Clean the cache and off you go!

Development

All Wave theme related CSS/Javascript files can be found in theme's build directory. To regenerate the theme's assets, the grunt tasks should be used. Please install grunt and run grunt's default task to regenerate all minimized css and js files:

To get the development files you need to clone the repository

cd DOCUMENT_ROOT/Application/views/
git clone -b BRANCH_NAME https://gitlab.o3-shop.com/o3/wave-theme.git wave
  1. To use grunt, npm is required. Check nodejs website for installation instructions (https://nodejs.org/en/download/package-manager/). Example of Installation on ubuntu system:

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
  2. Install grunt globally. Example:

    sudo npm install -g grunt-cli
    
  3. Go to "wave" theme's directory and install all related grunt plugins:

    cd DOCUMENT_ROOT/Application/views/wave/
    npm install
    
  4. Now its possible to regenerate "wave" theme assets by running grunt default task while being in "wave" directory:

    grunt
    

Contributing

If you are interested in contributing of some changes, Please read CONTRIBUTING.md file for more information.

Compatibility with modules

  1. PayPal module
  • The PayPal module contains in a tpl file a check for the theme id [{if $oViewConf->getActiveTheme()=='flow'}] which should be adjusted to wave

Issues

Please forward all issues to https://github.com/o3-shop/o3-shop/issues for the project Wave Theme.

o3-shop/wave-theme 适用场景与选型建议

o3-shop/wave-theme 是一款 基于 Smarty 开发的 Composer 扩展包,目前已累计 4.63k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 02 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「themes」 「eshop」 「O3-Shop」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 o3-shop/wave-theme 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 o3-shop/wave-theme 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 4.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: Smarty

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2023-02-28