coupons : Taxes automatiques = NON par defaut

  • Posts: 2595
  • Thank you received: 62
  • Hikashop Business
4 years 1 month ago #315693

-- HikaShop version -- : 4.2.2

Bonjour

comment faire pour avoir dans l'admin Taxes automatiques = NON par defaut sur les coupons ?

merci

Last edit: 4 years 1 month ago by erickb.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
4 years 1 month ago #315696

Bonjour,

Vous pouvez éditer le fichier "form.php" de la vue "discount" via le menu Affichage>Vues et rajouter ce code au début:

<?php if(empty($this->element->discount_id)) $this->element->discount_tax = 0; ?>

The following user(s) said Thank You: erickb

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

  • Posts: 2595
  • Thank you received: 62
  • Hikashop Business
4 years 1 month ago #315718

merci

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

Time to create page: 0.059 seconds
Powered by Kunena Forum