Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Provides commerce cart block that supports ajax update of quantity, remove products.
commerce ajax
===============
CONTENTS OF THIS FILE
---------------------
* Introduction
* Requirements
* Installation
* Using the module
* Author
INTRODUCTION
------------
When a user changes items quantity in Cart popup,
this module refreshes total sums w/o refreshing a page.
Adds field notifyAdmins at order type - it used for email notification of admins about new order
REQUIREMENTS
------------
Drupal Commerce 2.x
INSTALLATION
------------
Install module as usual via Drupal UI, Drush or Composer.
USING THE MODULE
----------------
Delete standard cart block
Add block "Commerce ajax cart block"
Install my fork of module dc_ajax_add_cart from https://www.drupal.org/sandbox/shmel210/2944130
install igrowl
add libraries unpack animate.tar and igrowl.tar from module dc_ajax_add_cart to /libraries
To customize cart block markup see commerce_ajax/templates/commerce-ajax-cart-block.html.twig
To customize css see commerce_ajax/css/commerce_ajax.theme.css
To customize js see commerce_ajax/js/commerce_ajax.js
To customize block context see commerce_ajax/src/Plugin/Block/CartBlock.php build
To set admins for notification about new order go to /admin/commerce/config/order-types/default/edit and set field notifyAdmins "Send receipt to this list of admin emails"
AUTHOR
------
shmel210
Drupal: (https://www.drupal.org/user/2600028)
Email: shmel210@zina.design
Company: Zina Design Studio
Website: (https://www.zina.design)
Drupal: (https://www.drupal.org/user/361734/)
Email: info@zina.design
Similar projects and how they are different
-------------------------------------------
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: E-commerce
- Created by shmel210 on , updated