Skip to content

Repo for the Urban Hipster Drupal Commerce demo website built on Drupal 8.

License

Notifications You must be signed in to change notification settings

AcroMedia/commerce-demo

Repository files navigation

Urban Hipster - Commerce 2 & Drupal 8 Demo

This is a full Commerce 2 demo website built on Drupal 8. It has been built for 3 reasons:

  1. So that people can view, interact and login to an actual working demo site.
  2. So that developers can install, trial and review code and configuration.
  3. So that the community can see and discuss what Drupal Commerce includes basically out of-the-box.

NOTE: This is NOT intended to be a base for building a new project, for that we recommend generating your own composer files or use the Commerce Kickstart.

Welcome!

The Urban Hipster demo site has been designed, built and maintained by Acro Media Inc. in order to showcase a working demo of Commerce 2 on Drupal 8. Our goal is to provide an enterprise level example of what can be done out-of-the-box with general software configuration and theming.

Please understand that while we strive to keep the site and its components updated to the latest versions, there may be times where we lag behind a bit.

If you notice any bugs, please submit an issue. We’ll do our best to keep on top of things.

Where to start?

View the demo site

If you still haven’t seen the demo site, check it out!.

Click around, take the interactive guided tours, go through the checkout flow, whatever. This site is made so that you can truly experience what Commerce 2 and Drupal 8 offer as a standard.

Get a personalized tour

If you’d like to have one of our experts go through the site with you and discuss how things work, use the demo site chat or send us a message. We’ll set something up that works around your schedule. You can contact us through are website here.

Developer access

If you’d like to setup a copy of the demo yourself, follow these instructions.

Lando

Requirements

  • Lando
  • General knowledge on how to use this tool

To setup the site

  1. Clone or download the files.
  2. Cd into the cloned repo and run inv setup
  3. Go through the Drupal 8 install process.
    • Enter drupal8 as the database name, username and password.
    • Click on "Advanced Options" and enter database as the host.
  4. View the site!

To setup Solr search

  1. Go to yoursite.com/admin/config/search/search-api and edit the server named Solr.
  2. Change Solr host to solr and save.
  3. Reindex the Product and POS indexes.
  4. Update site and store email addresses entered in the following locations:
    • Site: yoursite.com/admin/config/system/site-information
    • Stores (each store): yoursite.com/admin/commerce/config/stores
    • Order types (each type): yoursite.com/admin/commerce/config/order-types
    • Webforms (each form): yoursite.com/admin/structure/webform

Issues

Bugs

If you notice any bugs, please submit an issue. We’ll do our best to keep on top of things. Any bugs found for specific modules should be directed to that modules issue queue on Drupal.org.

Troubleshooting

Please note, our team is busy completing service work for clients, and thus, we will not be able to help you with setting up the demo on your own. If you’re having trouble, some things that could cause your issue are:

  • Is your site running on PHP 7.1 or higher?
  • Are your Drupal file & folder permissions correct?
  • Flush caches (i.e. through Drupal UI or run ../vendor/drush/drush/drush cr from within /web)
  • Update entities (i.e. run ../vendor/drush/drush/drush entup from within /web)
  • Update database (i.e. run ../vendor/drush/drush/drush updb from within /web)
  • Solr server can be reached and indexes have been rebuilt?
  • Have you consulted the software/tool documentation?

If those don’t help, Google the issue or submit an issue to our issue queue. Google will probably be your best friend :)

Let us set it up for you (and other stuff)

If you’re a business and interested in having Acro Media setup the demo for you, or if you’d like to talk to us about something else, contact us!

Photo Credits

The photos used in this website have been provided by the generous community of photographers at Unsplash (view license).