coupons : Taxes automatiques = NON par defaut

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
4 years 9 months 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 9 months ago by erickb.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
4 years 9 months 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: 2639
  • Thank you received: 66
  • Hikashop Business
4 years 9 months ago #315718

merci

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

Time to create page: 0.055 seconds
Powered by Kunena Forum