Page 1 of 1

Event Manager with Calguys Ecommerce Base

Posted: Wed Oct 27, 2010 10:37 pm
by kms
Hi,

I can't get any events to fire with events CartAdjusted, CartItemAdded or even OrderCreated with the Ecommerce Base. I made a very simple User Defined Tag to pop up an alert window and nothing. I need to extend these modules to collect some simple information for the order and I was sooooo happy when I read about the Event Manager, seems like such a good solution, but no events seem to be firing. Please please please anyone?

Re: Event Manager with Calguys Ecommerce Base

Posted: Wed Oct 27, 2010 10:44 pm
by calguy1000
I bet if you put something like
die('got in my event handler'); it'd work.

but double check the event manager to ensure that the handlers are installed.

Re: Event Manager with Calguys Ecommerce Base

Posted: Wed Oct 27, 2010 10:54 pm
by kms
Haha I did that so I crashed my whole site very funny. But really it's still not working because I have the event on 'CartItemAdded' and it's not actually called on 'CartItemAdded', but for some reason it is called when I first visit my home page.

This is what I am using:

CMS Made Simple v1.8.1
CGEcommerceBase v1.2.2
on Mac OS X10.4.1,  XAMPP v1.7.3 which has PHP v5.3.1

The ORIGNAL UDT is very simple, I named it 'say_hello':

echo "window.alert('Hello!')";

The handlers are installed. It doesn't seem to be called with any of the 3 events I tried, but what's weird is it IS called when I initially go to my test home page.

Re: Event Manager with Calguys Ecommerce Base

Posted: Wed Oct 27, 2010 10:58 pm
by kms
p.s. thanks for responding CalGuy, if I can get this working I bet I can do everything I need with your e-commerce suite which I really like to begin with, and it means I just might be able to sleep tonight.