how to add discount code used to email

  • Posts: 377
  • Thank you received: 7
9 years 3 months ago #211537

-- HikaShop version -- : 2.4

Hi,

I would like to include the discount code the customer has used in the email is this possible? The warehouse need to use it so they can add freebies in when they package it.

Thanks

Alex

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
9 years 3 months ago #211539

Hi,

That's possible. Edit the email via the menu System>Emails and add such code in the HTML version:
<?php echo $data->cart->order_discount_code; ?>

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

Time to create page: 0.055 seconds
Powered by Kunena Forum