Skip to content

gnikolovski/commerce_variation_add_to_cart

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

If you want to have a separate Add to cart button for each product variation, then this module is for you. Besides showing buttons for each variation, there are additional settings, like the option to display price, currency and quantity. You can also choose which product attributes to show in your add to cart form.

On the permissions page 'admin/people/permissions' you can control who can use Add to cart button. Search for the 'Access variation add to cart' permission.

REQUIREMENTS

This module requires Drupal Commerce 2.x module to be installed.

INSTALLATION

  • Install the Commerce Variation Add to Cart module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

Go to product types 'admin/commerce/config/product-types' and click on the Edit button of your product type. Now go to the Manage display tab and choose 'Variation add to cart form' as a formatter for the Variations field. If you click on the gear icon, you will see additional settings.

MAINTAINERS

Current maintainers:

This project has been sponsored by: