Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
HikaShop Plugin Events
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
RTFM 
http://www.hikashop.com/support/documentation/62- 
hikashop-de...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Event voorbeelden 
● onHikashopBeforeDisplayView / onHikashopAfterDi...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
APIs 
● Order API 
● Payment API 
● Product API 
● Category API 
● U...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Standaard APIs (CRUD) 
● User API / Address API 
– Extra user velden...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Checkout API 
● Eigen stap aan checkout toevoegen 
– onCheckoutStepL...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Filter API 
● ~= Shop By ~= Layered Navigation ~= Facet Search 
● Ze...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Template overrides 
● Normale MVC output overrides 
● hikashop_image...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Opmerkingen (1 van 2) 
● Meeste events beginnen met “onHikashop” 
– ...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
Opmerkingen (2 van 2) 
● Plugingroep 
– hikashop (alles) 
– hikashop...
Dutch Joomla! PHP Developers 
HikaShop Plugin Events 
#hikashop
Upcoming SlideShare
Loading in …5
×

Dutch Joomla PHP Developers group - HikaShop Plugin Events

A Dutch presentation given at the Dutch Joomla PHP Developers Group on December 2nd 2014 in Nieuwegein. Subject is HikaShop Plugin Events: An overview of the APIs, some remarks on the products

  • Login to see the comments

  • Be the first to like this

Dutch Joomla PHP Developers group - HikaShop Plugin Events

  1. 1. Dutch Joomla! PHP Developers HikaShop Plugin Events HikaShop Plugin Events
  2. 2. Dutch Joomla! PHP Developers HikaShop Plugin Events RTFM http://www.hikashop.com/support/documentation/62- hikashop-developer-documentation.html
  3. 3. Dutch Joomla! PHP Developers HikaShop Plugin Events Event voorbeelden ● onHikashopBeforeDisplayView / onHikashopAfterDisplayView ● onHikashopCronTrigger ● onBeforeMailSend ● onBeforeOrderCreate / onAfterOrderCreate ● onBeforeOrderUpdate / onAfterOrderUpdate ● onProcessAddressMassFilteruserColumn ● onCountAddressMassFilteraddressColumn
  4. 4. Dutch Joomla! PHP Developers HikaShop Plugin Events APIs ● Order API ● Payment API ● Product API ● Category API ● User API ● Address API ● Shipping API ● Vote API ● Discount, Coupon API ● Cart API, Checkout API ● Display API ● Filter API ● Fields API
  5. 5. Dutch Joomla! PHP Developers HikaShop Plugin Events Standaard APIs (CRUD) ● User API / Address API – Extra user velden ● Product API / Category API – Ook nog onBeforeProductExport() ● Order API – onHistoryDisplay, onAfterOrderConfirm
  6. 6. Dutch Joomla! PHP Developers HikaShop Plugin Events Checkout API ● Eigen stap aan checkout toevoegen – onCheckoutStepList(&$list) ● Of bestaande stappen wijzigen – onBeforeCheckoutStep($controller, &$go_back, $original_go_back, &$controller) – onCheckoutStepDisplay($layoutName, &$html, &$view)
  7. 7. Dutch Joomla! PHP Developers HikaShop Plugin Events Filter API ● ~= Shop By ~= Layered Navigation ~= Facet Search ● Zelf nieuwe filters op product-lijst toevoegen – onFilterDisplay – onFilterAdd – onFilterToLoad – onFilterTypeDisplay
  8. 8. Dutch Joomla! PHP Developers HikaShop Plugin Events Template overrides ● Normale MVC output overrides ● hikashop_image.php – PHP script voor dynamisch images tonen ● characteristics – Welke product informatie wordt hoe getoond? ● buttons, quantity input, quantity calculation
  9. 9. Dutch Joomla! PHP Developers HikaShop Plugin Events Opmerkingen (1 van 2) ● Meeste events beginnen met “onHikashop” – ... maar niet allemaal ● onAfterOrderCreate en onAfterOrderUpdate – Nooit tergelijkertijd getriggered, maar wel dezelfde argumenten ● Paar functies ipv classes – $orderClass = hikashop_get('class.order'); – $config = &hikashop_config();
  10. 10. Dutch Joomla! PHP Developers HikaShop Plugin Events Opmerkingen (2 van 2) ● Plugingroep – hikashop (alles) – hikashoppayment – hikashopshipping ● Mass action events – onMassactionTableLoad(&$externalValues) ● Aardig schone code – ... maar niet volledig compliant
  11. 11. Dutch Joomla! PHP Developers HikaShop Plugin Events #hikashop

×