a

CommentFileSizeAuthor
broken.gif6.81 MBvibrasphere
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vibrasphere created an issue. See original summary.

subhojit777’s picture

Have 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.

vibrasphere’s picture

Hi. 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.

vibrasphere’s picture

Title: Broken » v2.1 broken, not working, but 1.3 works

Can confirm. Downgrading to 1.3 fixed and works.

IckZ’s picture

Title: v2.1 broken, not working, but 1.3 works » POPUP in v2.1 broken (v1.3 works)
Version: 7.x-2.1 » 7.x-2.x-dev
Priority: Normal » Minor

confirm!

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.

pyxio’s picture

I 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.

subhojit777’s picture

@drupalstrap do you see any console error?

pyxio’s picture

no errors in console.

subhojit777’s picture

smurfxx’s picture

Status: Closed (duplicate) » Needs work

I'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?

subhojit777’s picture

@smurfxx Can you specify the exact steps. Because I tried to replicate the problem, and I found it has been fixed.

smurfxx’s picture

The 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.

subhojit777’s picture

Status: Needs work » Closed (works as designed)

Looks 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

smurfxx’s picture

Status: Closed (works as designed) » Needs work

The site I posted to you is the TEMPLATE I bought, not my real site...

subhojit777’s picture

Assigned: Unassigned » subhojit777

subhojit777’s picture

Status: Needs work » Fixed
smurfxx’s picture

Now it works, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.