Plugin Directory

Changeset 1919377


Ignore:
Timestamp:
08/03/2018 12:18:50 PM (8 years ago)
Author:
2kblater.com
Message:

v1.1.2

Location:
2kb-amazon-dropship-manager/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • 2kb-amazon-dropship-manager/trunk/KbAmazonDropShipManagerController.php

    r1914968 r1919377  
    166166        return new KbView(array());
    167167    }
     168   
     169    public function priceCalculationAction()
     170    {
     171        $data = array(
     172            'ebayFeePercent' => getKbAmz()->getOption('DropShipManagerEbayFeePercent', '0.10'),
     173            'paypalFeePercent' => getKbAmz()->getOption('DropShipManagerPaypalFeePercent', '0.034'),
     174            'paypalFeeAmount' => getKbAmz()->getOption('DropShipManagerPaypalFeeAmount', '0.15'),
     175        );
     176        $view = new KbView(array('params' => $data));
     177        $view->setTemplate($this->getTemplatePath('priceCalculation'));
     178        return $view;
     179    }
     180   
    168181
    169182    protected function getActions() {
     
    196209                    array('action' => 'downloadImages', 'label' => __('Download Images by ASIN')),
    197210                    array('action' => 'downloadContent', 'label' => __('Download Content ASIN')),
     211                    array('action' => 'priceCalculation', 'label' => __('Price Calculation')),
    198212                )
    199213            ),
  • 2kb-amazon-dropship-manager/trunk/plugin.php

    r1914968 r1919377  
    44 * Plugin URI: http://www.2kblater.com/
    55 * Description: Amazon DropShip Manager helps drop ship sellers to manage their products more easily. This plugin will help you keep track of quantity and price. It will send you reports for product changes by email.
    6  * Version: 1.1.1
     6 * Version: 1.1.2
    77 * Author: 2kblater.com
    88 * Author URI: http://www.2kblater.com
     
    1212!defined('ABSPATH') and exit;
    1313
    14 define('KbAmazonDropShipManagerVersion', '1.1.1');
    15 define('KbAmazonDropShipManagerNumber', 111);
     14define('KbAmazonDropShipManagerVersion', '1.1.2');
     15define('KbAmazonDropShipManagerNumber', 112);
    1616define('KbAmazonDropShipManagerFolderName',  pathinfo(dirname(__FILE__), PATHINFO_FILENAME));
    1717define('KbAmazonDropShipManagerPluginPath',  dirname(__FILE__) . '/');
  • 2kb-amazon-dropship-manager/trunk/readme.txt

    r1914968 r1919377  
    33Requires at least: 4.0
    44Tested up to: 4.1
    5 Stable tag: 1.1.1
     5Stable tag: 1.1.2
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3030
    3131== Changelog ==
     32= 1.1.2 =
     33new tool added, price calculator
    3234= 1.1.0 =
    3335new tools added
  • 2kb-amazon-dropship-manager/trunk/template/admin/settingsGeneral.phtml

    r1261871 r1919377  
    9595        </div>
    9696    </div>
     97    <hr/>
     98    <div class="row">
     99        <div class="col-md-3 col-xs-3">
     100            <div class="form-group">
     101                <label for="DropShipManagerEbayFeePercent" class="control-label">
     102                    <?php echo __('Ebay fee % (0.10)'); ?>
     103                </label>
     104                <input value="<?php echo getKbPostVar('DropShipManagerEbayFeePercent', getKbAmz()->getOption('DropShipManagerEbayFeePercent'));?>" name="DropShipManagerEbayFeePercent" class="form-control"/>
     105            </div>
     106        </div>
     107        <div class="col-md-3 col-xs-3">
     108            <div class="form-group">
     109                <label for="DropShipManagerPaypalFeePercent" class="control-label">
     110                    <?php echo __('PayPal fee % (0.034)'); ?>
     111                </label>
     112                <input value="<?php echo getKbPostVar('DropShipManagerPaypalFeePercent', getKbAmz()->getOption('DropShipManagerPaypalFeePercent'));?>" name="DropShipManagerPaypalFeePercent" class="form-control"/>
     113            </div>
     114        </div>
     115        <div class="col-md-3 col-xs-3">
     116            <div class="form-group">
     117                <label for="DropShipManagerPaypalFeeAmount" class="control-label">
     118                    <?php echo __('PayPal fee amount (0.15)'); ?>
     119                </label>
     120                <input value="<?php echo getKbPostVar('DropShipManagerPaypalFeeAmount', getKbAmz()->getOption('DropShipManagerPaypalFeeAmount'));?>" name="DropShipManagerPaypalFeeAmount" class="form-control"/>
     121            </div>
     122        </div>
     123    </div>
    97124   
    98125    <input type="hidden" name="KbAmazonDropShipManagerOptionsSet" value="1"/>
Note: See TracChangeset for help on using the changeset viewer.