How to create a plugin

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
johnnycrash
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Sun Aug 16, 2009 6:00 pm

How to create a plugin

Post by johnnycrash » Sun Aug 16, 2009 6:05 pm

I read about plugins everywhere. I want to create one of my own, but I am having trouble finding documentation on what a plugin exactly is? Is it a scriptlet, a control in conlib, a modified aspx page, or what? How is it expected to be installed and configured. What are the best practices?

Thanks.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to create a plugin

Post by mazhar » Mon Aug 17, 2009 1:17 am

For store side plug in would be a control in ConLib. Scriptlet and ASPX page can be used to further extend the plug in. For example all you need is to put some functionality to some existing page then all you need is to create a new ConLib control and then reference it on desired page. If you are in need to have a new page then you would need ConLib control, a scriptlet that will contain the usage statement for your custom conlib control and finally the ASPX page that will make use of your custom scriptlet.

johnnycrash
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Sun Aug 16, 2009 6:00 pm

Re: How to create a plugin

Post by johnnycrash » Mon Aug 17, 2009 8:18 am

Thanks! That leads to another questions. How does one upgrade to a new version of AC if there are customized asp pages? I don't see a custom directory for ASP pages like there is one for scriptlets.

Also, is it considered a best practice to use triggers or jobs on the DB? I have to integrate to a 3rd party warehousing system. I will need to notify it of items that need to be shipped, and I suspect I will need to update AC when the items have been shipped. I was thinking of a plugin or just adding a SQL job. If I used a plugin, it needs to fire off after an order has been committed to the system. Where would that be? How might a plugin get updates from a 3rd party system? If I used a SQL job, is there some sort of documentation for the DB?

- John

Post Reply