Coupon not showing up on Hikashop confirmation order...


  • Default avatar
    michael01    
     3 years ago
    0

    The coupons are showing up on the customer's order and being applied correctly. However, when my vendor get's the confirmation order the coupon amount is $0.00 (see below). The good news it's actually applying the shipping discount in this case but we need the coupon amount to show up. Thanks.



    Name Unit price Qty Total
    Flavor - Marlboro: 18mg $8.00 1 $8.00
    CE4 - Cartomizer: Clear $6.99 1 $6.99
    Coupon : $0.00
    Shipping method : $3.00
    TOTAL without VAT : $11.99
    TOTAL with VAT : $14.99

  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    Did you mean the customer confirmation email?

    What version of Hikashop and AwoCoupon are you using? I have tested shipping coupons and not seeing a problem. What happens with normal coupons? If getting the same behavior might be something within your template.
  • Default avatar
    michael01    
     3 years ago
    0

    I am using:

    AwoCoupon: Version: 2.1.9 pro
    Joomla 3.0
    Hikashop: version : 2.1.3

    I just tested a regular coupon and it show up correctly.
  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    Are you talking about the confirmation email sent to the customer??

    I tried it using the same specs and the confirmation email I receive shows the discount correctly.
  • Default avatar
    michael01    
     3 years ago
    0

    the one sent to the vendor...selling the products...is there a way to attach a file here?
  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    You can use the email address on the contact us page to send attachments:
    http://awodev.com/contact

    How do you setup sending an email to a specific vendor?
  • Default avatar
    michael01    
     3 years ago
    0

    That is done through hikashop and their ORDER_ADMIN_NOTIFICATION_SUBJECT email:

    <?php
    /**
     * @package    HikaShop for Joomla!
     * @version    2.1.3
     * @author    hikashop.com
     * @copyright    (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
     * @license    GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
     */
    defined('_JEXEC') or die('Restricted access');
    ?>
    <?php
    $url 
    HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id='.$data->order_id;
    echo 
    JText::sprintf('ORDER_STATUS_CHANGED',$data->mail_status)."\r\n\r\n".JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE',$data->order_number,HIKASHOP_LIVE);
    $currency hikashop_get('class.currency');
    echo 
    "\r\n".JText::_('HIKASHOP_TOTAL').' : '.$currency->format($data->order_full_price,$data->order_currency_id);
    echo 
    "\r\n".str_replace('',"\r\n",JText::sprintf('ACCESS_ORDER_WITH_LINK',$url));
    if(
    $data->order_payment_method=='creditcard' && !empty($data->credit_card_info->cc_number)){
        echo 
    "\r\n".JText::_('CUSTOMER_PAID_WITH_CREDIT_CARD');
        if(!empty(
    $data->credit_card_info->cc_owner)){
            echo 
    "\r\n".JText::_('CREDIT_CARD_OWNER').' : '.$data->credit_card_info->cc_owner;
        }
        echo 
    "\r\n".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data->credit_card_info->cc_number,8);
        if(!empty(
    $data->credit_card_info->cc_CCV)){
            echo 
    "\r\n".JText::_('CARD_VALIDATION_CODE').' : '.$data->credit_card_info->cc_CCV;
        }
        echo 
    "\r\n".JText::_('CREDITCARD_WARNING');
    }
    $fieldsClass hikashop_get('class.field');
    $fields $fieldsClass->getFields('frontcomp',$data,'order','');
    foreach(
    $fields as $fieldName => $oneExtraField) {
        
    $fieldData trim(@$data->$fieldName);
        if(empty(
    $fieldData)) continue;
        echo 
    "\r\n".$fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField,$data->$fieldName);
    }
    ?>
  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    I received your email but unable to reproduce.

    If you look at the order detail in the admin section, do you see the discount? In awocoupon->history, is the discount there?
  • Default avatar
    michael01    
     3 years ago
    0

    Yes, I see the amount under the discount heading in the history. I also see the discount applied when I go into HikaShop, orders, additional information section. It's just not showing up on the confirmation order to the admin. Would it benefit you to look in my site?
  • Your avatar
    seyi    
     3 years ago
    0

    Yes, I think that would be helpful. I would probably need ftp access also to debug and find where the problem is. You can pm or email it to me.