Drupal Commerce

Pressa is using drupal commerce combine with search API/ Facet API to build a power shop which suitable for all sizes. It's very friendly to end user and flexible for manager website.

To work with Drupal commerce, you should understand clearly concept Product Display and Product variations in Drupal commerce before. So, we strongly recommend you read Product document before continuing.

You can reference to Drupal Commerce to learn more about commerce

Commerce modules

If you want to apply Pressa shop to your exist site, just install and enable dexp_pressa_commerce module package. System will install some modules is required:

  • Commerce 7.x-
  • Rules 7.x-
  • Address Field 7.x-

    And some related modules

  • inline Entity Form 7.x-

  • search_api 7.x-
  • search_api_db 7.x-
  • search_facet_api 7.x-
  • facet_api 7.x-
  • shipping 7.x-
  • customer 7.x-
  • fivestar 7.x-
  • votingAPI 7.x-
  • ....

And create product views, rules sale off automatically.

Pressa Product structure

1. Product entity and Product Display content type

Pressa is a clothes shop in demo, but you can easily build any shop type which you want.

When you installed and enabled Drupal Commerce, a entity called Product is available, you can see it in Store >> Products >> Product with basic field such as: title, SKU, status.
In Pressa shop, we add more properties to product entity.

It's up to your shop. You can add/remove more fields to meet your requirement when building properties for product.

We have created a product display content type to show products with some additional fields:

2. Configure Server search/index:

Pressa theme is using Search API and Facet API to search/index product. All information about search api at link: http://yoursiteurl.com/admin/config/search/search\_api

Create Search server:

If server search NOT exist, click on Add server link to create a new server.

Create indexing:

Pressa is using search_api_db to index data into database. You can use Apache Solr instead of database. With commerce_search and commerce_search_api system will create index for Product Display content type automatically. So, we can index and search on this content.

3. Demo Pressa shop using Drupal Commerce

Widgets Product

Pressa shop comes with some useful widgets block. It is usually use in commerce websites such as:

  • Top Rating: a block view to show products with average user rating from high to low
  • Bestseller: a block view to show products best seller

results matching ""

    No results matching ""