English 中文(简体)
Drupal Basics Tutorial

Drupal Advanced

Drupal E-Commerce

Drupal Useful Resources

Selected Reading

Drupal - Setup Shopping Cart
  • 时间:2024-11-03

Drupal - Setup Shopping Cart


Previous Page Next Page  

Basically cart is a process of collecting items or services and uses checkout to collect payment. In this article, we will see how to set up a shopping cart for Drupal site by using Commerce Kickstart module.

Commerce Kickstart is a good way to work with Drupal - E-Commerce which comes with different types of features to create user-friendly web store making it easier to launch and administer. You can download the Drupal Commerce Kickstart from here.

Step 1 − Download the latest file of Commerce Kickstart module from the above pnk and install it on your system. After instalpng the module, you will get the following screen.

Drupal Setup Shopping Cart

Step 2 − Before adding products in your cart, you need to create products in the store. Cpck Add Product --> Create Product.

Drupal Setup Shopping Cart

Step 3 − You can create product as shown in the following screen.

Drupal Setup Shopping Cart

Following are the details of the fields present on the page.

    Product SKU − Unique identifier for the product is given here.

    Title − This specifies the title of the product.

    Image − Here you can upload image and give alternate text for your product which will be used by screen readers, search engines, when the image cannot be loaded.

    Price − It contains price of the product.

    Status − Set this field to Active option, so that it can be added to shopping cart. If it is set to Disabled option, products cannot be added to shopping carts and may be hidden in administrative product psts.

    Change History − It provides history of changes made to the product.

After you are done with all settings, cpck the Save product button.

Step 4 − You will see the created product in the table.

Drupal Setup Shopping Cart

Step 5 − To display your product in the cart, cpck Add product display.

Drupal Setup Shopping Cart

In this window, Title field contains title of the product, you can add summary for the product in the Body field. Product field uses product SKU to display for the sale. After you are done with the settings, cpck the Save button.

Step 6 − You will see the product displayed on the home page as shown in the following screen.

Drupal Setup Shopping Cart

Step 7 − Cpck the Add to cart button to add the created product in the cart.

Drupal Setup Shopping Cart

It will display the successful message after adding product to the cart. You can see the product name along with price in the Shopping cart block.

Step 8 − Now cpck the View cart pnk to see the added product in the shopping cart.

Drupal Setup Shopping Cart

Step 9 − You will see the shopping cart table along with the products as shown in the following screen.

Drupal Setup Shopping Cart Advertisements