View Single Post
  #51  
Old 08-25-2009, 06:26 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Free "What's New?" X-Cart module released!

Quote:
Originally Posted by gotpump
Sorry to add to the question craze. But if I'm updating strictly instock and out of stock lvls using a .csv import it adds all the products to What's New. Is there anyway to disable this from happening?
Thanks again,
NM found a way around it.

You need to prevent import script from changing add_date field in xcart_products table


Quote:
Thanks for the great mod ! Quick question, how can I change the size of the bubble and the font size/type of the text inside? I assume it's in Whats_New.tpl but I don't want to break anything.

lines 33,34 of whats_new.tpl:
Code:
popup_top = round(viewportheight/2) - 23; //23 - half of the height popup_left = round(viewportwidth/2) - 178; //178 - half of the width

and lines 85,86
Code:
newdiv.style.height = '36px'; newdiv.style.width = '356px';

You need to change height and width of the background image as well

Add into your css file to change font size/color:
Code:
#bubble{font-size:12px} #bubble a:link, #bubble a:visited, #bubble a:hover, #bubble a:active{color:#cccccc;}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote