Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / ZenCart Instore Notifications

ZenCart Instore Notifications

Views: 474

Results 1 to 2 of 2
1 Jan 2011, 8:31 PM
#1
danielosko avatar

danielosko

Zen Follower

Join Date:
Dec 2008
Location:
Hanover Township PA, USA
Posts:
122
Plugin Contributions:
0

ZenCart Instore Notifications

Hello Everyone,

Happy New Year!

Anyway, I am wondering how to change the position and location of the "notification pop-ups" within my store.

EXAMPLE: You add a product to your cart and the "notification pop-up" says.."Successfully added **** to your Cart"

Problem: It is showing up in my flash enabled header. I need ALL
"notification pop-ups" to show up on my CENTER COLUMN, not on the page header.

Any ideas or directions where I should look? Or the correct "term" to search for?

Thanks all in advance!
Danny
Bubbas Pools

Version 1.3.8
https://www.bubbaspools.com
:blush:

4 Jan 2011, 8:32 AM
#2
shwag avatar

shwag

New Zenner

Join Date:
Aug 2008
Location:
Cleveland
Posts:
78
Plugin Contributions:
0

Re: ZenCart Instore Notifications

go into your yourtemplate/common/tpl_header.php

take out this code

<?php
  // Display all header alerts via messageStack:
  if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
  }
  if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
  echo htmlspecialchars(urldecode($_GET['error_message']));
  }
  if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
   echo htmlspecialchars($_GET['info_message']);
} else {

}
?>

and put it where you want it in the yourtemplate/common/tpl_main_page.php .

make sure you back up both files before messing around
this should do the trick. good luck... nice site btw.

note you might want to steer away from all the flash stuff, takes some time to load everything . these same objectives can be done in jquery set. take a look in the zen forum for more info on using flash vs jquery. good luck to ya