-
Notifications
You must be signed in to change notification settings - Fork 23
redSHOP Product Joomla Plugin Architecture
-
onPrepareProduct: This is the first stage in preparing product for output and is the most common point for product orientated plugins to do their work. New enhancement, Added some JavaScript override function to add/manage product when adding to cart. Java-script functions for overrides: I function
directCartSubmit(frmCartName,product_id,relatedprd_id,giftcard_id,frmUserfieldName,totAttribute,totAccessory,totUserfield)Function can be override when AJAX cart is set off. We can customize this function is our own way. Even redSHOP core functionality. II functiongetExtraParams()Function can be override when AJAX cart is on. We can add more parameters to send such variables. Even we can validate the add to cart. Main use of both the function is, we can send extra parameters into cart page. -
onAfterDisplayProductTitle: This is a request for information that should be placed between the product heading and the product body.
-
onBeforeDisplayProduct: This is a request for information that should be placed immediately before the product template start.
-
onAfterDisplayProduct: This is a request for information that should be placed immediately after the product template.
-
onBeforeProductSave: This is an event that is called right before the product is saved into the database.
-
onAfterProductSave: This is an event that is called after the product is saved into the database.
-
onSameCartProduct This is an event that is called when same product is going to add into cart session. We can get access to add external variable into cart before cart session is set.
-
onBeforeSetCartSession This is an event that is called when another product is going to add into cart session. We can get access to add external variable into cart before cart session is set.
-
onStartCartTemplateReplace This is an event that is called when cart template replacement is started.
-
onCartItemDisplay This is an event that is called in cart item loop. Plugin can add extra behaviour or tag into cart template using this event.
-
atEndCartTemplateReplace This is an event that is called at the end of the cart template.
-
beforeOrderPlace This is an event that is called before placing an order.
-
afterOrderPlace This is an event that is called after placing an order.
-
afterOrderItemSave This is an event that is called after order item saved into table. This event is called into order item loop.
-
onOrderItemDisplay This is an event that is called into order detail page into order item loop (frontend).
-
toHighlightGrid This is an event that is useing into back-end order listing page. In to grid column, below checkbox. This event is called to add heightlighter from which order can be identified that plugin enhancment is included into this order.
-
onBackendOrderDetailFooter This is an event that is called from back-end order detail view on Footer.
-
setProductCustomPrice Method is trigger from the redSHOP product front-end helper from getProductNetPrice function to set custom price for product using plugin.
- Home
- Developer
- How to get Config variable
- Product
- Validate AJAX Request
- Render JLayout or redSHOP Layout
- redSHOP Joomla Plugin Architecture Types
- Creditcard Payment Gateway List
- History of redSHOP Checkout Flow
- redSHOP 1.x series development decisions
- RedSHOP for Joomla 2.5 guidelines
- redSHOP Payment Gateway Sandbox Details
- redSHOP Shipping API Test Details