Jump to content

Fedka

Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Fedka


  1. Commission when paying by LiqPay system


    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:
    Add:
    

    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;
       }
    }


    Before:
    

    $title = ($this->config->get('liqpay_fee_custom_title')) ? $this->config->get('liqpay_fee_custom_title') : $this->language->get('text_title');

     


    • Submitter
    • Submitted
      09/10/2017
    • Category
    • System requirements
    • Site:
    • OldPrice
    • Activation
      no activation required
    • Ioncube Loader
      No
    • OpenCart
      2.2
      2.1
      2.0
    • ocStore
      2.1

     


  2. Image Compression TinyPNG


    Image Compression TinyPNG


    This module allows you to compress images to 90% when uploading them to the site.
    We all know that the smaller the image, the faster your site will be loaded.
    Service TinyPNG allows you to almost compress your images on the fly to 90% without loss of quality.
    In a month you can compress up to 500 images for free!
     
    Compatibility: OpenCart / ocStore 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.1.0

    Installation:
    The module is installed in Extension Installer

    Using:

    1) Before you start using, you need to get the API key.
    2) Open https://tinypng.com/developers, enter login and email.
    3) We follow the link in the letter
    4) Copy the key.
    5) Enter the key in the appropriate field in module settings
     
    Maybe someone will be useful.


    • Submitter
    • Submitted
      09/10/2017
    • Category
    • System requirements
    • Site:
    • OldPrice
    • Activation
      no activation required
    • Ioncube Loader
      No
    • OpenCart
      2.1
      2.0
    • ocStore
      2.1

     

×