How to stop sending email to vendors

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 4 months ago #323237

Hello,

We don't want vendors to receive email after a confirmation order. How do we turn all them off? the reason is that, in our situation for the Arbre de Joie project, they manage only the product creation. Not the orders.

Actually vendors receive confirmation emaiI. But the setup is at OFF
This is the setup in Hikamarket.



Thanks,

Attachments:

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 4 months ago #323307

Hello,

Please edit the HikaMarket ACL and remove the "order / notify" ACL.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 4 months ago #323313

Thank you. I will need a little more information.

I don't see any vendor column and all dots are grey. Which one should I turn off?



Do you have a tutorial on this ACL tool for Hikasmarket?

Attachments:

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 4 months ago #323316

Hello,

I suppose your ACL are configured in the HikaMarket configuration page (default vendor accesses).
You an use the HikaMarket accesses panel to mark the "order / notify" as "red" ; so the feature will be removed for every groups.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 4 months ago #323368

I tried this and Vendors still receive the notification. What am I missing?

Setup



Result:


Thank you very much

Attachments:

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 3 months ago #323409

Hello,

In the HikaMarket "mail" class (administrator/components/com_hikamarket/classes/mail.php) you will find the line which load the vendor order status notification :

$mail = $this->load('order_status_notification', $order);

Few lines below, you will see the check for the published status for the email :
		if(empty($mail) || !$mail->published)
			return false;
You can replace that code by
		if(empty($mail) || empty($mail->published))
			return false;
and see if its helps.

But that's the only place in HikaMarket where that email is loaded and processed.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 3 months ago #323470

J'ai essayé vos instructions et les messages sont toujours envoyés.

Ils sont également envoyé lors d'une annulation de commande. Il faudrait désactiver toutes les notifications par courriel aux vendeurs.

Il semble y avoir du code en dessous qui est en relation. Je n'ai pas osé le changer afin de ne rien briser



Il nous faut impérativement désactiver ces envois. La raison est que, dans le cadre de l'Arbre de Joie, nos "vendeurs" sont en réalité des bénévoles et ils ne gèrent pas les commandes. Recevoir tous ces courriels sera un irritant inutile pour eux.

L'autre option à laquelle je réfléchi est de changer l'adresse courriel du bénévole dans Joomla! pour une bidon. Cependant, ils ne pourront plus réinitialiser leur mote de passe si besoin. Donc, pas l'idéal.

Attachments:
Last edit: 4 years 3 months ago by patoushka. Reason: Donner plus de détails.

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 3 months ago #323518

Bonjour,

Si vous souhaitez désactiver complètement cet email, vous pouvez utiliser le contenu suivant (pour le code cité précédement)

return false;
Ainsi, la fonction s'occupant d'envoyer l'email au vendeur s'arrêtera.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 3 months ago #323748

Je suis désolé mais, je ne saisi pas où le mettre. Il me semble qu'il est déjà là.

original:
if(empty($mail) || !$mail->published)
return false;

You can replace that code by

if(empty($mail) || empty($mail->published))
return false;


Le "return false;" est bien présent.

Avez-vous le code exact à utiliser?

Merci infiniement

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 3 months ago #323762

Bonjour,

Dans mon précédent message je vous indiquait devoir remplacer le contenu entier par simplement un "return false" afin de forcer le refus d'envoyer un email.

Dans le cadre où le problème persiste, nous pouvons envisager de vérifier votre site web.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 3 months ago #323888

Excusez-moi mais, il semble que je manque de connaissances.

Juste pour être 100% certain.

Je change le code suivant:

if(empty($mail) || !$mail->published)
return false;
par:

return false;



Merci

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 3 months ago #323891

Bonjour,

C'est cela.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 3 months ago #323903

Je crois avoir trouvé un solution toute simple que ne requiert pas de hack.

J'ai fait un test et ça semble fonctionner mais, j'aimerais avoir votre confirmation que mon approche est fiable.

Dans la section Informations principales des options du vendeur, j'ai effacé l'adresse courriel et voilà! plus de courriel qui s'envoient.

Si je n'ai absolument pas besoin que les vendeur reçoivent les courriel du site, croyez-vous que c'est bon?

Je ne n'aurai pas à me soucier, ainsi, de ce hack lors des mises à jour futures.


Attachments:

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
4 years 3 months ago #323908

Bonjour,

C'est une solution mais j'avoue ne toujours pas comprendre pourquoi le fait d'avoir dépublié l'email et de ne pas avoir l'ACL configuré, vous permet encore d'envoyer un email à vos vendeurs.
Je n'ai pas réussi à reproduire le soucis sur mes sites de tests.

Cordialement,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.115 seconds
Powered by Kunena Forum