Git Product home page Git Product logo

drupal-ajaxcart's Introduction

Configuration

  • Enable ajaxcart, and enable the _ui modules for various commerce stuff.
  • Create some shipping methods.
  • Go to admin/commerce/config/checkout.
  • Move the billing information, shipping information, shipping service and "Shopping cart contents" all on the same page.

Test

  • Put some products into your cart.
  • Go to checkout.
  • Change the shipping or billing address or the shipping service, and see if this triggers any AJAX updates for the cart summary.

drupal-ajaxcart's People

Contributors

donquixote avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

modernmedia

drupal-ajaxcart's Issues

Changing the shipping service when shipping has already been added causes an entity error

This error crops up when there is already a shipping method selected when the user reaches the checkout. The error appears in a JavaScript alert box;

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /system/ajax
StatusText: Service unavailable (with message)
ResponseText: EntityMetadataWrapperException: Unable to get the data property type as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 438 of /var/www/commerce/public_html/sites/all/modules/contrib/entity/includes/entity.wrapper.inc).

To replicate do one of two things;

  1. Add a rule to automatically add a shipping method the first time an order is saved (my ideal scenario as it means the customer has a base shipping price). Proceed to checkout. Changes shipping service.
    OR
  2. Add something to basket, proceed to checkout, set a shipping service, close browser. Open browser and return to checkout, change shipping service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.