Drupal 8 SShop is OPTASY’s very first theme provided with in-built support for the Drupal Commerce. SShop Drupal Theme is free to use designed, from scratch, by OPTASY.com and it addresses e-commerce websites specifically.
- Fully responsive.
- Bootsrap based.
- Work with the Font Awesome Icons module.
- The multi-level responsive header menu provided by SmartMenus library.
- The slideshow on the homepage provided by Views Slideshow module.
- Included content types into configurations. You will have Blog and Slider content types +
add fields to the Default Product type.
- Homepage created with the Page Manager module, using the custom Layout. Feature with Page and Page Variant are included in the theme, under the “SShop homepage feature” section.
Font Awesome Icons : Font Awesome is a complete rewrite from Font Awesome 4.7.0 and functions very differently. The upgrade process requires a bit of extra work on the part of content managers.
Responsive : This theme has been designed to perfectly fit your desktop,tablet or mobile device.
Setting up repository for the first time
git clone --branch 8.x-1.x https://git.drupal.org/project/sshop.git
The headings below are not sequential. What you choose to do depends on where you are in your process.
Checking your repository status
To see what you will commit by running
git commit and what you could commit by running
git add before running
Switching to a different branch
When you clone the repository you have access to all the branches and tags. The first command shows your choices. The second command makes the switch. See branching and tagging for details.
git branch -a
git checkout [branchname]
Getting ready to create or apply patches
If you have not already cloned the repository, follow the directions above for setting up this repository in your local environment. Be sure you are on the branch you wish to patch, then ensure it is up-to-date with the following command:
git pull origin 8.x-1.x
Creating a patch
For most improvements, use the following command after making your changes:
git diff > [description]-[issue-number]-[comment-number].patch
For more complex improvements that require adding/removing files, work over the course of multiple days including Git commits, or collaboration with others, see the Advanced patch workflow.
Applying a patch
Download the patch to your working directory. Apply the patch with the following command:
git apply -v [patchname.patch]
To avoid accidentally including the patch file in future commits, remove it:
When you’re done: Reverting uncommited changes
Revert changes to a specific file:
git checkout [filename]
Revert changes to the whole working tree:
git reset --hard