- Posts: 175
- Thank you received: 0
My First Shipment Plugin
13 years 3 days ago - 13 years 3 days ago #125187
by veeco
My First Shipment Plugin was created by veeco
Hello,
i'm trying to create my first shipment plugin... i don't have problem on the backend (admin).. but at the moment i'm totally confuse about the front end...
i'm adding this code:
class plgHikaShopshippingJNE extends hikashopShippingPlugin {
var $multiple = true;
var $name = 'jne';
//GET CONFIG
function onShippingDisplay(&$order,&$methods,&$usable_methods,&$messages){
var_dump($order);
die();
}
}
but the die isn't triggered as it never called... how to debug it ?
For Manual Payment, Why there is a copy of manual shipment plugin in administrator\components\com_hikashop\plg_hikashopshipping_manual\manual.php ... are they included in the system ?
i'm trying to create my first shipment plugin... i don't have problem on the backend (admin).. but at the moment i'm totally confuse about the front end...
i'm adding this code:
class plgHikaShopshippingJNE extends hikashopShippingPlugin {
var $multiple = true;
var $name = 'jne';
//GET CONFIG
function onShippingDisplay(&$order,&$methods,&$usable_methods,&$messages){
var_dump($order);
die();
}
}
but the die isn't triggered as it never called... how to debug it ?
For Manual Payment, Why there is a copy of manual shipment plugin in administrator\components\com_hikashop\plg_hikashopshipping_manual\manual.php ... are they included in the system ?
Last edit: 13 years 3 days ago by veeco.
Please Log in or Create an account to join the conversation.
13 years 3 days ago #125207
by Xavier
Replied by Xavier on topic My First Shipment Plugin
Hi,
Have you put the files in a zip archive, then install it thanks to the joomla extension system and published it ?
Have you put the files in a zip archive, then install it thanks to the joomla extension system and published it ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds