Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
broken.gif | 6.81 MB | vibrasphere |
Comment | File | Size | Author |
---|---|---|---|
broken.gif | 6.81 MB | vibrasphere |
Comments
Comment #2
subhojit777Have you followed the "Installation and usage" section in the module page https://www.drupal.org/project/dc_ajax_add_cart. I guess this is a fresh Drupal installation, can you write the steps you followed starting from just after installing (only) Drupal till the bug that you have mentioned in the gif.
Comment #3
vibrasphere CreditAttribution: vibrasphere commentedHi. I have followed the instructions, I just skipped blocks part. I also have a working setup of the module on a production site, but that version is 1.3, maybe that has something to do with it (it also has blocks disabled), I did compare the settings of 2.1 version and 1.3 and they are same.
Comment #4
vibrasphere CreditAttribution: vibrasphere commentedCan confirm. Downgrading to 1.3 fixed and works.
Comment #5
IckZ CreditAttribution: IckZ commentedconfirm!
Is there maybe a additonal requirement for the popup?
UPDATE: Figured out that this does not happen, if you enable the Ajax Cart Teaser - Block.
Comment #6
pyxio CreditAttribution: pyxio commentedI am experiencing the same issue and can't solve it. not working in 1.3 or 2.1 for me in any theme I try. I followed instructions. What else can I check? thanks.
Comment #7
subhojit777@drupalstrap do you see any console error?
Comment #8
pyxio CreditAttribution: pyxio commentedno errors in console.
Comment #9
subhojit777Fixed recently. Please check the latest dev version of this module.
Comment #10
smurfxx CreditAttribution: smurfxx commentedI'm using the latest dev but it seems that js and css are not loaded even with the latest dev.
EDIT: if I hardcode the js and css import in html.tpl.php it works, maybe hook_library() has changed syntax with the latest drupal updates?
Comment #11
subhojit777@smurfxx Can you specify the exact steps. Because I tried to replicate the problem, and I found it has been fixed.
Comment #12
smurfxx CreditAttribution: smurfxx commentedThe steps are:
normal installation of your module on this theme: http://goshop.drupalet.com/
Drupal version: 7.56
Module version: 7.x-2.11+1-dev
The problem is that function dc_ajax_add_cart_library() does not load the css file.
I don't have errors on browser debug console and no drupal errors/alerts log.
Comment #13
subhojit777Looks like the module is not installed in the site, because adding product to cart causes a page reload. Also neither of the blocks provided by the module are placed on the site, you need either one of the block so that the CSS is loaded in the page.
Please refer the installation steps properly, they are mentioned here https://www.drupal.org/project/dc_ajax_add_cart under
7.x
Comment #14
smurfxx CreditAttribution: smurfxx commentedThe site I posted to you is the TEMPLATE I bought, not my real site...
Comment #15
subhojit777Comment #17
subhojit777Comment #18
smurfxx CreditAttribution: smurfxx commentedNow it works, thanks!