Event Manager with Calguys Ecommerce Base

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Event Manager with Calguys Ecommerce Base

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Event Manager with Calguys Ecommerce Base

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Re: Event Manager with Calguys Ecommerce Base

Post 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.
kms
Forum Members
Forum Members
Posts: 49
Joined: Sun Jul 18, 2010 5:50 pm

Re: Event Manager with Calguys Ecommerce Base

Post 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.
Post Reply

Return to “Modules/Add-Ons”