Allow to synchronize file downloads with a sold product with the disabled HikaShop subscription EMERALD.
How?
1. In Hykashop create a command status Hikashop> System> eg Order Status end_subscription_emerald according to the following picture:
![Créer_nouv_statut de commande](https://adwsfiles.s3.amazonaws.com/test/2016-07/1469391445_Créer_nouv_statutdecommande.png)
- In Hykashop set Hikashop> System> Main> Files according to the following picture:
![Paramétrer_fichiers_statut_commande_validée](https://adwsfiles.s3.amazonaws.com/test/2016-07/1469391481_Paramétrer_fichiers_statut_commande_validée.png)
- Add your plugin "Hikashop Emerald Membership Integration" function that automatically changes the status of the order has hykashop end_subscription_emerald when the subscription is disabled in EMERALD.
![Ajouter_fonction](https://adwsfiles.s3.amazonaws.com/test/2016-07/1469391541_Ajouter_fonction.png)
- Result: The order status "disabled" (Emerald) to automatically switch to "end_subscription_emerald"(Hikashop)
![Abonnement désactive](https://adwsfiles.s3.amazonaws.com/test/2016-07/1469391946_Abonnementdésactive.png)
![Statut_de_commande_confirmee_remplacee](https://adwsfiles.s3.amazonaws.com/test/2016-07/1469391645_Statut_de_commande_confirmee_remplacee.png)
**So download links managed by HikaShop are no longer available are:
- "Show download"
- And in the invoice.
**
Tank You
Allow to synchronize file downloads with a sold product with the disabled HikaShop subscription EMERALD.
How? 1. In Hykashop create a command status Hikashop> System> eg Order Status end_subscription_emerald according to the following picture:
Tank You