/wave-theme

The Wave theme for OXID eShop

Primary LanguageSmartyGNU General Public License v3.0GPL-3.0

Wave Theme

General Information

Wave is a responsive theme for all OXID eShop editions. Theme is built on the top of Flow theme.

Branch Compatibility

  • master branch is compatible with OXID eShop compilation master
  • b-1.x branch is compatible with OXID eShop compilation 6.1 and 6.2

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 OXID distribution.

composer require oxid-esales/wave-theme

Step 2: 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://github.com/OXID-eSales/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_10.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
  2. Go to "wave" theme's directory and install all related grunt plugins:

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

    npm start
    

Contributing

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

Compatibility with modules

  1. Visual CMS
  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
  1. B2B Edition
  • The B2B Edition contains in tpl files a check for the theme id [{if $oViewConf->getActiveTheme()=='flow'}] which should be adjusted to wave

Issues

Please forward all issues to https://bugs.oxid-esales.com/ for the project Wave Theme.