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
This is pretty easy. Just open catalog/view/theme/your_theme/template/product/product.tpl and find this code:
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>');
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 > *');
Who is online
Users browsing this forum: Amazon [Bot] and 12 guests