Jump to content

Order Totals

Sign in to follow this  

1 file

  1. Free

    Commission when paying by LiqPay system

    This supplement establishes a commission when placing an order. The LiqPay system uses a commission of 2.75% of the order amount.
    For installation:
    1) Upload files to the server
    2) Переходим Extensions->Order Totals
    3) Select the LiqPay Commission and install
    4) If necessary, assign rights for a user group
    If you want the commission to be distributed and for delivery, then in the file catalog/model/total/liqpay_fee.php need:
    if ($this->cart->hasShipping() && isset($this->session->data['shipping_method'])) {    if ($this->config->get('liqpay_fee_percents') == 1) {       $delivery_fee = ((float)$this->session->data['shipping_method']['cost'] / 100) * $this->config->get('liqpay_fee_fee');       $liqpay_fee_fee = $liqpay_fee_fee + $delivery_fee;    } }
    $title = ($this->config->get('liqpay_fee_custom_title')) ? $this->config->get('liqpay_fee_custom_title') : $this->language->get('text_title');  


       (0 reviews)


Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.