Warehouse needs to be updated

  • Posts: 17
  • Thank you received: 0
8 years 2 months ago #267323

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.11

For each warehouse, it must be possible to define the products and their quantity in that warehouse.
For each warehouse an email can be defined, when a purchase is related to that warehouse the invoice is sent to that warehouse by email.
Could this be implemented on the warehouse: see screenshot


Please let me know how this could be done...
Waiting for a positive and sooner reply...
Thanks

Attachments:

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

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 2 months ago #267325

Hi,

With the development of a HikaShop plugin it would be possible.
A PHP developer should be able to do that.
It would require:
- an extra MySQL table to store the relation between the products and the warehouses with their quantity.
- a plugin implementing the onProductFormDisplay trigger ( www.hikashop.com/support/documentation/6...onProductFormDisplay ) to add the interface to the product edition page to manage the warehouses of each product.
- In that plugin, implementing the trigger onBeforeMailSend ( www.hikashop.com/support/documentation/6...tml#onBeforeMailSend ) would allow you to send a copy of the order notification emails to the different warehouses.
If you need a developer to work on that for you, you can contact our partners here:
www.hikashop.com/home/our-partners.html
Or any other PHP developer. With the information provided above, they'll be able to do that for you.

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

  • Posts: 17
  • Thank you received: 0
8 years 1 month ago #267714

I didn't get your point.Will please explain in more detail please?? Could you please tell me in which files i have to make changes for it??
Thanks again..
waiting for a positive and sooner reply.

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

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 1 month ago #267716

Hi,

There is no existing file to modify.
My point is to create new files to do that in the form of a plugin:
www.hikashop.com/support/documentation/6...mentation.html#intro
The advantage of doing that through a plugin instead of hacking directly in the core files of HikaShop is that you'll be able to update your HikaShop in the future while still keeping your plugin working.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum