Post by ferhatasif » Mon Oct 01, 2012 4:54 pm

Hi,

I want in my website that when clicking on add to cart the shopping cart should automatically pop out showing all the details,

Thanks & Regards
Ferhat Raj

Newbie

Posts

Joined
Mon Oct 01, 2012 4:50 pm

Post by Avvici » Wed Oct 03, 2012 3:54 am

This is pretty easy. Just open catalog/view/theme/your_theme/template/product/product.tpl and find this code:

Code: Select all

if (json['success']) {
                $('#notification').html('<div class="success" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>'); 
Replace with this:

Code: Select all

if (json['success']) {
                $('#notification').html('<div class="success" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
                    $('#cart').addClass('active');
$('#cart').load('index.php?route=module/cart #cart > *'); 

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by kuleszko » Fri Oct 12, 2012 3:01 am

No, sorry its not working :(

Surprise your partner in the bedroom!! visit Sexy Lingerie.


New member

Posts

Joined
Fri Mar 23, 2012 10:10 pm
Location - Aberdeen, UK
Who is online

Users browsing this forum: No registered users and 34 guests