JHShop has been built to allow easy integration with other software services like affiliates and CRM's, to this effect we have used the power of the Joomla! plugin system within the code: the following methods are available:
* onOrderConfirm($orderid)
This is called when the order is confirmed and passes the order id accross to the plugin.
* onLoadContent(&$content)
This is called for the storefront text, product description text, manufacturers, vendors and categories intro text aswell as on all information pages, Works in the same way as the Joomla content plugins where the key is $content->text
* onAccountCreate(&$customer)
This is called when an account is created from the frontend in the store (whether registration or 1st access by a normal joomla user) and the customer record is passed accross
* onAccountEdit(&$customer, $post)
this is called when a customer edits his/her account, passed accross is the customer object aswell as the post from the form
* onAddressEdit(&$customer,$post,$isnew = false)
this is called when a user adds / edits his address book entries
* onNewsletterEdit(&$customer,$subscribeValue)
this is passed when a user subscribes / unsubscribes from the newsletter
Version 2 | Created admin - 2010-03-29 13:31 | Files Modified 2010-03-29 13:33 - admin | Hits 551


