[Skip to main content](#vessel-content)

#   Hikashop and Filemaker database tool

##

- **[joris85](/forum/user/28344-joris85 "View joris85's Profile")**
- [![joris85's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28344.jpg)](/forum/user/28344-joris85 "View joris85's Profile") Topic Author
- [ Offline](/forum/user/28344-joris85)

Less More

- Posts: 190
- Thank you received: 9
-
-

8 years 1 month ago [\#298709](#298709) by [joris85](/forum/user/28344-joris85 "View joris85's Profile")  *[Hikashop and Filemaker database tool](/forum/30-integrations/895877-hikashop-and-filemaker-database-tool#298709 "Hi there!  I have a customer with an advanced Filemaker solution. They have thousands of products and continueslu changing stocks. Workers are on the road and on an ipad (filemaker) they say i now need these products for this job so stock changes.  They want a webshop on a website Woocommerce is 'easy' with Filemaker the developer told me, they have a great way to connect. Though woocommerce has not all features needed and i think Hikashop is allot more flexible. He can't find an easy solution to synchronise actively with Hikashop.  So when a user put a product in his basked it needs to be on hold on the filemaker. When it is sold it need to synchronise the to filemaker If it is sold in the stone store or any other place in filemaker it is checked as sold or 1 in stock less the webshop needs to know directly so it is not possible to buy. Most products are just unique so no stock disappear (i know that is possible).  Does Hikashop has an API or/and Webhook to do stuff like this? Is there a good documentation for an Api for this? Do you guys know if there are users with filemaker?  Thanks already!")* was created by *[joris85](/forum/user/28344-joris85 "View joris85's Profile")*

Hi there!

I have a customer with an advanced Filemaker solution.
They have thousands of products and continueslu changing stocks.
Workers are on the road and on an ipad (filemaker) they say i now need these products for this job so stock changes.

They want a webshop on a website
Woocommerce is 'easy' with Filemaker the developer told me, they have a great way to connect.
Though woocommerce has not all features needed and i think Hikashop is allot more flexible.
He can't find an easy solution to synchronise actively with Hikashop.

So when a user put a product in his basked it needs to be on hold on the filemaker.
When it is sold it need to synchronise the to filemaker
If it is sold in the stone store or any other place in filemaker it is checked as sold or 1 in stock less the webshop needs to know directly so it is not possible to buy.
Most products are just unique so no stock disappear (i know that is possible).

Does Hikashop has an API or/and Webhook to do stuff like this?
Is there a good documentation for an Api for this?
Do you guys know if there are users with filemaker?

Thanks already!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTU4NzctaGlrYXNob3AtYW5kLWZpbGVtYWtlci1kYXRhYmFzZS10b29sP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 1 month ago [\#298711](#298711) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop and Filemaker database tool](/forum/30-integrations/895877-hikashop-and-filemaker-database-tool#298711 "Hi there!  I have a customer with an advanced Filemaker solution. They have thousands of products and continueslu changing stocks. Workers are on the road and on an ipad (filemaker) they say i now need these products for this job so stock changes.  They want a webshop on a website Woocommerce is 'easy' with Filemaker the developer told me, they have a great way to connect. Though woocommerce has not all features needed and i think Hikashop is allot more flexible. He can't find an easy solution to synchronise actively with Hikashop.  So when a user put a product in his basked it needs to be on hold on the filemaker. When it is sold it need to synchronise the to filemaker If it is sold in the stone store or any other place in filemaker it is checked as sold or 1 in stock less the webshop needs to know directly so it is not possible to buy. Most products are just unique so no stock disappear (i know that is possible).  Does Hikashop has an API or/and Webhook to do stuff like this? Is there a good documentation for an Api for this? Do you guys know if there are users with filemaker?  Thanks already!")*

Hi,

HikaShop has an API for developers here:
[ www.hikashop.com/support/documentation/6...r-documentation.html](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html)
By developing a plugin of the group "system" you could do what you want.
First, when someone adds something to the cart, you can implement the trigger onAfterCartSave(&amp;$element) so that you can connect to the webhook, rest API or whatever filemaker has, to update the status of the products in $element-&gt;cart_products which contains the list of all the products in the cart and their new quantity (because the quantity can be changed, the product can be removed from the cart, etc).
Second, when someone places a order you can similarily implement the trigger onAfterOrderCreate or onAfterOrderUpdate to update the products stock of filemaker with $order-&gt;products
And finally, you can implement the trigger onAfterRoute() in your plugin and check the parameters given (so you can have filemaker pass a specific parameter so that the plugin can catch it and get the data of the stock being updated). Then, you can initialize the hikashop main helper and use such code to update the stock of the product: Code:

include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_hikashop'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php'); $product = new stdClass(); $product-&gt;product_id = $id_of_the_product; $product-&gt;product_quantity = $new_stock_of_the_product; $productClass = hikashop_get('class.product'); $productClass-&gt;save($product);

If the developer knows PHP, and has access to the filemaker integration documentation it shouldn't be a problem to develop such plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTU4NzctaGlrYXNob3AtYW5kLWZpbGVtYWtlci1kYXRhYmFzZS10b29sP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bgnagey](/forum/user/58336-bgnagey "View bgnagey's Profile")**
- [![bgnagey's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58336-bgnagey "View bgnagey's Profile")
- [ Offline](/forum/user/58336-bgnagey)

Less More

- Posts: 1
- Thank you received: 0
-
-

7 years 6 months ago [\#306239](#306239) by [bgnagey](/forum/user/58336-bgnagey "View bgnagey's Profile")  Replied by *[bgnagey](/forum/user/58336-bgnagey "View bgnagey's Profile")* on topic *[Hikashop and Filemaker database tool](/forum/30-integrations/895877-hikashop-and-filemaker-database-tool#306239 "Hi there!  I have a customer with an advanced Filemaker solution. They have thousands of products and continueslu changing stocks. Workers are on the road and on an ipad (filemaker) they say i now need these products for this job so stock changes.  They want a webshop on a website Woocommerce is 'easy' with Filemaker the developer told me, they have a great way to connect. Though woocommerce has not all features needed and i think Hikashop is allot more flexible. He can't find an easy solution to synchronise actively with Hikashop.  So when a user put a product in his basked it needs to be on hold on the filemaker. When it is sold it need to synchronise the to filemaker If it is sold in the stone store or any other place in filemaker it is checked as sold or 1 in stock less the webshop needs to know directly so it is not possible to buy. Most products are just unique so no stock disappear (i know that is possible).  Does Hikashop has an API or/and Webhook to do stuff like this? Is there a good documentation for an Api for this? Do you guys know if there are users with filemaker?  Thanks already!")*

I am connecting a Filemaker Database via an OBDC connection to the mySQL tables. I am keeping the inventory quantities in the HikaShop database and running reports with Filemaker. I need to run reports monthly calculating the products sold that month by how may contributors created the product.

In the HikaShop_Order table, there are three date fields. The order_modified is 1556484771. Within HikaShop, the Order Modification date is 2019 04 27 16:52

How do I interpret the 1556484771 do a date (4/27/2019)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTU4NzctaGlrYXNob3AtYW5kLWZpbGVtYWtlci1kYXRhYmFzZS10b29sP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

7 years 6 months ago [\#306266](#306266) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop and Filemaker database tool](/forum/30-integrations/895877-hikashop-and-filemaker-database-tool#306266 "Hi there!  I have a customer with an advanced Filemaker solution. They have thousands of products and continueslu changing stocks. Workers are on the road and on an ipad (filemaker) they say i now need these products for this job so stock changes.  They want a webshop on a website Woocommerce is 'easy' with Filemaker the developer told me, they have a great way to connect. Though woocommerce has not all features needed and i think Hikashop is allot more flexible. He can't find an easy solution to synchronise actively with Hikashop.  So when a user put a product in his basked it needs to be on hold on the filemaker. When it is sold it need to synchronise the to filemaker If it is sold in the stone store or any other place in filemaker it is checked as sold or 1 in stock less the webshop needs to know directly so it is not possible to buy. Most products are just unique so no stock disappear (i know that is possible).  Does Hikashop has an API or/and Webhook to do stuff like this? Is there a good documentation for an Api for this? Do you guys know if there are users with filemaker?  Thanks already!")*

Hi,

The dates stored in the database are stored with the unix timestamp format:
[ www.unixtimestamp.com/](https://www.unixtimestamp.com/)
You can convert a timestamp to a date with the PHP date function ( [ www.php.net/manual/en/function.date.php](https://www.php.net/manual/en/function.date.php) ) or the from_unixtime MySQL function ( [ dev.mysql.com/doc/refman/8.0/en/date-and...nction\_from-unixtime](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_from-unixtime) )

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84OTU4NzctaGlrYXNob3AtYW5kLWZpbGVtYWtlci1kYXRhYmFzZS10b29sP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.091 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
