Closed (won't fix)
Project:
Commerce Ajax Add to Cart
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2015 at 13:09 UTC
Updated:
14 Sep 2015 at 10:54 UTC
Jump to comment: Most recent
Comments
Comment #1
antiden commentedHi,
You can do this:
1. It is necessary to wrap 2 div, like this:
$('#block-dc-ajax-add-cart-ajax-shopping-cart, #block-dc-ajax-add-cart-ajax-shopping-cart-teaser').wrapAll('<div class="cart_box">');2. Now your 2 divs inside one div with class: .cart_box. Next you can play with jquery, like this:
3. Styled with css
Enjoy!
Comment #2
subhojit777This feature might not be generic. Not all users would like to have that toggle functionality. You can try the suggestion in #1 in your custom JS file.