Changeset 1919377
- Timestamp:
- 08/03/2018 12:18:50 PM (8 years ago)
- Location:
- 2kb-amazon-dropship-manager/trunk
- Files:
-
- 1 added
- 4 edited
-
KbAmazonDropShipManagerController.php (modified) (2 diffs)
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
template/admin/priceCalculation.phtml (added)
-
template/admin/settingsGeneral.phtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
2kb-amazon-dropship-manager/trunk/KbAmazonDropShipManagerController.php
r1914968 r1919377 166 166 return new KbView(array()); 167 167 } 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 168 181 169 182 protected function getActions() { … … 196 209 array('action' => 'downloadImages', 'label' => __('Download Images by ASIN')), 197 210 array('action' => 'downloadContent', 'label' => __('Download Content ASIN')), 211 array('action' => 'priceCalculation', 'label' => __('Price Calculation')), 198 212 ) 199 213 ), -
2kb-amazon-dropship-manager/trunk/plugin.php
r1914968 r1919377 4 4 * Plugin URI: http://www.2kblater.com/ 5 5 * 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. 16 * Version: 1.1.2 7 7 * Author: 2kblater.com 8 8 * Author URI: http://www.2kblater.com … … 12 12 !defined('ABSPATH') and exit; 13 13 14 define('KbAmazonDropShipManagerVersion', '1.1. 1');15 define('KbAmazonDropShipManagerNumber', 11 1);14 define('KbAmazonDropShipManagerVersion', '1.1.2'); 15 define('KbAmazonDropShipManagerNumber', 112); 16 16 define('KbAmazonDropShipManagerFolderName', pathinfo(dirname(__FILE__), PATHINFO_FILENAME)); 17 17 define('KbAmazonDropShipManagerPluginPath', dirname(__FILE__) . '/'); -
2kb-amazon-dropship-manager/trunk/readme.txt
r1914968 r1919377 3 3 Requires at least: 4.0 4 4 Tested up to: 4.1 5 Stable tag: 1.1. 15 Stable tag: 1.1.2 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 31 31 == Changelog == 32 = 1.1.2 = 33 new tool added, price calculator 32 34 = 1.1.0 = 33 35 new tools added -
2kb-amazon-dropship-manager/trunk/template/admin/settingsGeneral.phtml
r1261871 r1919377 95 95 </div> 96 96 </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> 97 124 98 125 <input type="hidden" name="KbAmazonDropShipManagerOptionsSet" value="1"/>
Note: See TracChangeset
for help on using the changeset viewer.