Friday 12 November 2004 2:46:28 am
I have written some code to run under customObjectAttributeHTTPAction but I am unsure how to get it to run. The code will be used from the user side of the site not the admin side and it will get used to calculate the price of an item prior to it being added to the basket. It's a simple "Update Prices" button that calculates all the options added before adding it to the basket. Is there a setting I am suppose to add to the ini files? I know I can create a custom action using code stored in actions/content_actionhandler.php but I would rather it was self contained in the object itself. I know that I can add code to the "content.ini.append.php" stored in the exntention settings like:
[ActionSettings] ExtensionDirectories[]=ezcalculateoption But that is outside of the object itself. How do I do this? Any ideas. Any help is greatly appreciated.
-- Stuart
[email protected]
http://www.grandmore.com
|