This is a base theme that is meant to go with Drupal Commerce for Drupal 7. It addresses some of the styles of commerce elements like add-to-cart forms, cart/checkout panes, and some consumer-side elements. It is based in HTML5 and is responsive on the front end, so the entire checkout process has been considered for smartphones and tablets. It includes a fluid 960 grid system and allows users to control layout and grid sizes, integrates the color module, and has a set of 'framing' options to quickly change the appearance of the site.

Project: http://drupal.org/sandbox/dudenhofer/1370548
Git: git clone --branch 7.x-1.x dudenhofer@git.drupal.org:sandbox/dudenhofer/1370548.git storefront

You can see a live demo of a basic Commerce Kickstart install with the Storefront theme enabled at http://sfdemo.dudenhofer.com
I also made a quick demo video of some of the features here: https://vimeo.com/37244669 (hopefully it's not too choppy)

Reviews of other projects:

http://drupal.org/node/1397718#comment-5639100
http://drupal.org/node/1417258#comment-5639202
http://drupal.org/node/1352548#comment-5639322
http://drupal.org/node/1417258#comment-5700508
http://drupal.org/node/1352548#comment-5700530
http://drupal.org/node/1397718#comment-5700642

Comments

Ciraxis’s picture

here is the output from a automatic project review by ventral.org
http://ventral.org/pareview/httpgitdrupalorgsandboxdudenhofer1370548git

@klausi sorry my bad

klausi’s picture

Status: Needs review » Needs work

@Ciraxis: please do not post the full output of pareview.sh, you can attach it in a text file.

dudenhofer’s picture

Status: Needs work » Needs review

Thank you for reviewing! I have committed the code updates and some additional updates that the coder module found. Let me know if there is anything else that needs attention.

Thanks!

dudenhofer’s picture

Issue summary: View changes

Updating the git command to use the 7.x-1.x branch

dudenhofer’s picture

Sorry, I had realized that I needed to go through the system a few times to get all the fixes needed. It should be passing now. Thanks!

operinko’s picture

Status: Needs review » Needs work

There still seems to be a minor css-coding standards issue in css/screen.css line 780 -> 782.
Selectors should be on one line, as far as I know.

Apart from that, couldn't find anything worth noting.

dudenhofer’s picture

Status: Needs work » Needs review

Thank you for the review!
I have updated the CSS and am not getting any further issues with http://ventral.org/pareview/httpgitdrupalorgsandboxdudenhofer1370548git

dudenhofer’s picture

Issue summary: View changes

changed the git command to remove the _ from storefront.

dudenhofer’s picture

Issue summary: View changes

Adding links to live demo of the theme and a video.

dudenhofer’s picture

Issue tags: +PAreview: review bonus

Review bonus

dudenhofer’s picture

Issue summary: View changes

Adding links to projects that I've reviewed.

operinko’s picture

Status: Needs review » Reviewed & tested by the community

Being relatively new to the Drupal scene myself, I'm fairly certain that I can't spot all the possible issues (hook vs another hook stuff, for example), but pareview is clean and I couldn't find any real issues reading through the code manually.
Not entirely certain if I should say be the one to say it, but to me this looks RTBC.

dudenhofer’s picture

@operinko, thanks for the review, I appreciate you taking the time.

klausi’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -PAreview: review bonus
StatusFileSize
new9.83 KB

Review of the 7.x-1.x branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Get a review bonus and we will come back to your application sooner.

manual review:

  • your code should be in the root of the repository, there should be no additional storefront subfolder.
  • Remove .DS_Store from the repository in storefront/css
  • "<a href="' . base_path() . '">Continue Shopping</a>": do not create link markup yourself, use l() instead. And all user facing text should run through t() for translation.
  • all function should start with your theme's name to avoid name collisions.
  • jquery.formalize.js: appears to be 3rd party code. 3rd party code is not generally allowed on Drupal.org and should be deleted. This policy is described in the getting involved handbook. It also appears in the terms and conditions you agreed to when you signed up for Git access, which you may want to re-read, to be sure you're not violating other terms. The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
  • vertical-tabs.js: this is part of drupal core, no?

Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

dudenhofer’s picture

Status: Needs work » Needs review

@klausi thank you for the review.

I have finally gotten codesniffer running through my local terminal, so that is much easier than relying on the online version. I've fixed the CSS issues, and the spacing issues that were found in my inc files. I also moved all of my storefront files to the base, replaced the markup link, and re-named some of the functions in the helpers.inc.

I had pulled the formalize script from another contributed theme and thought that it was something OK to use. I have removed it. The vertical-tabs was the beginning of some overrides I was going to do, but have removed that as well since it probably isn't necessary.

Thanks again.

iler’s picture

Status: Needs review » Needs work
  • You don't seem to have any CSS reset functionality setup? http://meyerweb.com/eric/tools/css/reset/index.html
  • PIE.htc is 3rd party code and as mentioned above by klausi 3rd party code is not generally allowed on Drupal.org and should be deleted.
  • You should avoid putting html tags inside t() function whenever possible.
  • There is some unnecessary repetition of code in your theme-settings.php file, use variables instead. For example this on lines 187 and 216:
    '#options' => array(
            '0' => t('Use CSS'),
            '3' => t('3 Columns'),
            '4' => t('4 Columns'),
            '5' => t('5 Columns'),
            '6' => t('6 Columns'),
            '7' => t('7 Columns'),
            '8' => t('8 Columns'),
            '9' => t('9 Columns'),
            '10' => t('10 Columns'),
            '11' => t('11 Columns'),
            '12' => t('12 Columns'),
          ),
dudenhofer’s picture

Status: Needs work » Needs review

Thanks for the review @iler, I appreciate your time.

  • I had a reset at the beginning of the screen.css file, but pulled it out into it's own reset.css file and added to it.
  • PIE has been removed.
  • I have reviewed my t() and removed any HTML that I could find from within.
  • I have created variables for the column options, and have reviewed my theme settings file and created a couple others that I had found.
dudenhofer’s picture

Issue summary: View changes

highlighting the reviews of other projects section.

dudenhofer’s picture

Issue tags: +PAreview: review bonus

added 3 more reviews for review bonus. thanks!

scarer’s picture

Status: Needs review » Needs work
StatusFileSize
new2.54 KB

There are still errors when the branch is run through Ventral:

1) Function names should have storefront namespace (the name of the theme) in theme-settings.php.
2) Space in theme-settings.php on line 392 used in t() $string argument.
3) Absent style definition in screen.css (line 794).
4) Spaces missing for operator statements (e.g. "=", ".=" etc.) in template.process.inc. (line 322 & 512).
5) Line too long in SFSTARTER.info.txt (line 2). Break it into multiple lines.

Review bonus.

scotthorn’s picture

It looks like repond.js is also third party code. I found this module (http://drupal.org/project/respondjs) which requires admins to download the js file from github into the libraries folder, and reportedly adds it at the most appropriate time.

Other than that, this theme looks great! I tested it on my work and home computers and on my android phone, and didn't find any problems. I didn't see any in the code you wrote either, in fact it was extremely readable!

dudenhofer’s picture

Status: Needs work » Needs review

Thank you both for the reviews. I have updated my code to appease the Ventral again :) So it should be passing now. I also removed the respond.js and added a README.txt to explain how to install that with the theme.

klausi’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus

Looks good to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

patrickd’s picture

Status: Reviewed & tested by the community » Fixed

Please take a moment to make your project page follow tips for a great project page.
Meanwhile there were some enhancements of drupalcs, and it's complaining about some minor issues again ;-)

Nice thing! Also for me this is ready, so..

Thanks for your contribution and welcome to the community of project contributors on drupal.org. :)

I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

As you continue to work on your module, keep in mind: Commit messages - providing history and credit and Release naming conventions.

Thanks to the dedicated reviewer(s) as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

added 3 more review links