View Single Post
  #34  
Old 03-29-2010, 04:43 AM
 
autobulbs autobulbs is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Southampton, UK
Posts: 68
 

Default Re: Popup - Item Added to Cart

Quote:
Originally Posted by Learner
Thanks autobulbs for your effort now it works fine for me for all browser. It is a great mod.But when a customer added product to cart they can't find this popup at an instant, because it is now fixed with menu cart.tpl.I want this popup to scroll through the page for better understanding of customer that the product is actually added to cart.

I'm guessing (not tried or tested) that you can move this code
Code:
{if $item_added eq 1}<div class="item_added" id="item_added_box"><div>{include file="customer/item_added.tpl"}</div></div>{/if}
out of the menu_cart.tpl and put it at the bottom of home.tpl

Then in your main.css (or skin1.css) use position: fixed instead of position:absolute on the .item_added element. You'll probably have to change the top and left values to get it to where you want it on the screen.
__________________
Autobulbs Direct Ltd
X-Cart Version: 4.2.2
eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications
Reply With Quote