Active
Project:
Commerce Ajax Add to Cart
Version:
8.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2020 at 10:22 UTC
Updated:
20 Apr 2020 at 12:08 UTC
Jump to comment: Most recent
Comments
Comment #2
subhojit777do you see any message in the logs?
You should be able to modify them via the display settings. Check the installation and usage section.
Comment #3
pavlo_dor commentedI also have a promble
My console ERROR:
Drupal.AjaxError {message: "↵ AJAX HTTP error occurred. ↵ Received HTTP code: 2 ... 2c388001846b803a4824e2867154ea0ed2d225f7cd452"}} ↵ ", name:" AjaxError "}
message: "↵ AJAX HTTP error occurred. HTTP Received HTTP code: 2"
name: "AjaxError"
__proto__: Error at http: //tehnika/core/misc/ajax.js? v = 8.8.3: 98: 32 at http: //tehnika/core/misc/ajax.js? v = 8.8.3: 655: 3
Comment #4
adeelnawaz commentedIf you have any kind of custom JS code disable it 1st and check it again.
Comment #5
subhojit777@pavlo_dor Also, can you put the whole error message. That one is truncated.
Comment #6
pavlo_dor commentedI use
drupal/core": "^8.8.0",
drupal/dc_ajax_add_cart": "1.x-dev",
drupal/facets": "1.x-dev",
drupal/facets_range_dropdowns": "^1.0",
"drupal/views_ajax_history": "^1.2",
"drupal/views_infinite_scroll": "1.x-dev",
and in vies AJAX is ON!!!
If I enable dc_ajax_add_cart and in viws - Product datasource: Variations - AJAX ADD TO CART FORM
I want to add a product to my cart - I'll get an error in console
Drupal.AjaxError {message: "↵ AJAX HTTP error occurred. ↵ Received HTTP code: 2 ... 2c388001846b803a4824e2867154ea0ed2d225f7cd452"}} ↵ ", name:" AjaxError "}
message: "↵ AJAX HTTP error occurred. HTTP Received HTTP code: 2"
name: "AjaxError"
__proto__: Error at http: //tehnika/core/misc/ajax.js? v = 8.8.3: 98: 32 at http: //tehnika/core/misc/ajax.js? v = 8.8.3: 655: 3
if I see on input add to cart
Comment #7
pavlo_dor commentedmy ajax.js