Is it possible to upgrade with a (own) built

  • Posts: 30
  • Thank you received: 0
9 years 6 months ago #175768

-- HikaShop version -- : 1407241754
-- Joomla version -- : 2.5.24 Stable
-- PHP version -- : 5.3.3-7+squeeze17

Dear All,
I would like to have information regarding:
In Hungary we have “PickPackPont” parcel pick up service.
The main advantage of the service:
From Buyer ‘s side: Whatever you buy through a webshop, you can choose a pick up point, out of cca. 400 location/stores around the country.
From admin’s side:
with our own built in module I provide the scroll down PickPackPont list at the shipment methods. This list through .xml access is updating online continuously. This list consist of 19 counties and the list of contracted partners in the given county. The customer chooses from the list, fisrt the county then the shop and then the webshop sends the parcel to the choosen location. The information which has to be stated for the customer is the address, point of contact and opening hours of the shop.

the question is:
Is it possible to upgrade with a (own) built in module the services of Hikashop in order to integrate the PickPackPont, pick up solution/service.

Kind regards,

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 6 months ago #175788

Hi,

Yes it's indeed possible, you will have to develop a plugin to integrate this shipping solution.
Here is developer documentation about plugins:
hikashop.com/support/support/documentati...r-documentation.html

You can too see how the other shipping plugins are working to see which functions need to be used.
In the next version of HikaShop there should be the plugin "envoimoinscher" this is the same kind of shipping method with pick up points, etc, so it should help you for this plugin.

The following user(s) said Thank You: b_sz

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
9 years 5 months ago #176774

Hello Xavier!
Could you help me to give the source-code or the answer/example to the followings? :

When the user chooses the competent way of transport, I have to give him an opportunity for a "user input".
1) if he chooses pickpack, but he hasn't choosen store, than don't let him going on
2) if it is on the list, but that is not the active one, than shouldn't be compulsory. (For example: pickpack and pick (personal takeover) are in a row and personal takeover is the active one)
3) how does data get back to the system of HikaShop and how to pass the user's choosen informations?
Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
9 years 5 months ago #177077

Hello,
If you want to display pickup points regarding the selected shipping service through your checkout workflow, the solution will be to use the :
- function onCheckoutStepList(&$list) : which will just enable you to add an item on the checkout workflow configuration page "Hikashop->System->Configuration->Checkout" (In your case, that item will just display pickup points)
- function onCheckoutStepDisplay($layoutName, &$html, &$view) : which will display your pick up points list regarding the selected shipping service
- function onAfterCheckoutStep($controllerName, &$go_back, $original_go_back, &$controller) : which will check that you correctly selected a pickup point
- function onBeforeOrderCreate(&$order,&$do) : which will enable you to save the "pick up point" on your order shipping params
- function onHikashopBeforeDisplayView(&$view) : which will enable you to DISPLAY the "pick up point" on the additional information tab of your order detail back ("Hikashop->Orders->YourOrder").

Note that you'll find more information about these functions through the developer documentation : www.hikashop.com/support/documentation/6...tation.html#checkout

Also, we are currently working on the "envoimoinscher" project which use these functions, so we can eventually send you the plugin when it will be finish.

Last edit: 9 years 5 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum