Closed (won't fix)
Project:
Commerce Ajax Add to Cart
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2016 at 16:36 UTC
Updated:
21 Jun 2016 at 05:20 UTC
Jump to comment: Most recent
Comments
Comment #2
subhojit777Since you have installed this module, I guess every add to cart button will be ajaxified. So, when you click that button embedded inside the block, ideally what I expect is the block will just refresh itself - although I pretty sure that it is not going to be clean refresh, i.e. things can break. I haven't tried anything similar to it.
Comment #3
loparr commentedHi,
Clicking an add to cart button inside overlay creates another overlay.
So basically I need to remove opening new overlay if button inside overlay box is clicked.
What I need is to refresh only the message (product xy was added to cart ) inside the overlay box.
Comment #4
subhojit777In that case you can write JavaScript that closes the previous overlay, OR changes the message. You can refer APIs in
ajax_commands().