Drupal 7 commerce kickstart theme is a well-done ecommerce theme, it is part of the project: commrece kickstart. Commerce Kickstart is the quickest way to get up and running with Drupal Commerce. It includes the latest versions of Drupal core, Drupal Commerce, and the other modules it depends on. It also gives you a set of options to create a fully-featured demo store out of the box complete with an attractive theme, catalog and search configuration, and a custom back office interface.
Sometimes you want to use it but add your custom csss style or js library on top of it. Create a sub theme of it is the best way to do so.
Most of you know that , omega module has a module called: omega tools, you could use it to create sub theme of omega. Since I used it many times in the past, i didn't have any problem with it. Hence, i tried to create sub theme of commerce kickstart by using omega tools. It did create the sub theme for me, but the css and js were missing from the new sub theme.
After few hours research, i found the solution for this. You could successfully create sub theme of commerce kickstart theme by doing the following two ways:
1. drush commands:
- drush dl omega_tools
- drush en omega_tools
- drush omega-subtheme "The New Theme Name Here" --base=commerce_kickstart_theme --enable
2. manual copy and modify:
Steps to subtheme Commerce Kickstart theme
Notes:
At this point, your site should be running on your new subtheme, which should look identical to the commerce kickstart theme. You can now make your customizations, as with any omega subtheme. Check the Omega 3.x documentation for more information on how to do that.
If you see that there are styles missing from your subtheme that are present when the original commerce kickstart theme is enabled, make sure you did steps 8 and 9. Also, in step 4, second bullet, note that the [weight] option increments from 11 to 12.
- Copy /profiles/commerce_kickstart/themes/omega/starterkits/omega-html5 to /sites/all/themes/YOURTHEMENAME
- Delete /sites/all/themes/YOURTHEMENAME/ starterkit_omega_html5.info
- Copy /profiles/commerce_kickstart/themes/commerce_kickstart_theme/commerce_kickstart_theme.info to /sites/all/themes/YOURTHEMENAME/YOURTHEMENAME.info
- Edit YOURTHEMENAME.info and make the following changes:
- Go to /sites/all/themes/YOURTHEMENAME/css and rename ALL the css files as follows:
- Navigate to /admin/appearance, find your subtheme and click "set default" to enable it and set it as the default theme
- Still on /admin/appearance, click the "settings" link for your subtheme
- In the vertical menu on the left, click "Toggle libraries". Check the box for "Commerce kickstart theme JS" and leave everything else unchanged.
- In the vertical menu on the left, click "Toggle styles". Check the box for "Commerce kickstart theme global style" and leave everything else unchanged.
- Scroll to the bottom of the page and click the "Save configuration" button.
Refer to :https://drupal.org/node/2057387
- Log in to post comments

