Changeset 3251189
- Timestamp:
- 03/05/2025 03:04:11 PM (13 months ago)
- Location:
- eshoplogisticru/trunk
- Files:
-
- 4 edited
-
Models/OfferData.php (modified) (1 diff)
-
Services/CalculationService.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wc-eshop-logistic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eshoplogisticru/trunk/Models/OfferData.php
r3210317 r3251189 54 54 } 55 55 56 public function getPriceProductLineTotal() 57 { 58 $lineTotal = $this->get('line_total'); 59 $count = $this->getQuantity(); 60 61 return $lineTotal / $count; 62 } 63 56 64 public function getPrice() 57 65 { -
eshoplogisticru/trunk/Services/CalculationService.php
r3001180 r3251189 74 74 'name' => $offer->getName(), 75 75 'count' => $offer->getQuantity(), 76 'price' => $offer->getPrice (),76 'price' => $offer->getPriceProductLineTotal(), 77 77 'weight' => $offer->getWeight(), 78 78 'dimensions' => $offer->getDimensions(), -
eshoplogisticru/trunk/readme.txt
r3249790 r3251189 3 3 Tags: доставка, eshoplogisticru, woocommerce, цена доставки, срок доставки, стоимость доставки, сдэк, пэк, dostavista, picpoint, деловые линии, iml, boxberry, gtd, байкалсервис, сберлогистика, delivery, яндекс доставка 4 4 Tested up to: 6.71 5 Stable tag: 2.1.5 05 Stable tag: 2.1.51 6 6 License: GPLv2 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
eshoplogisticru/trunk/wc-eshop-logistic.php
r3249790 r3251189 6 6 * 7 7 * @link https://wp.eshoplogistic.ru/ 8 * @since 2.1.5 08 * @since 2.1.51 9 9 * @package WC_Eshop_Logistic 10 10 * … … 13 13 * Plugin URI: https://wp.eshoplogistic.ru/ 14 14 * Description: Несколько служб доставки в одной интеграции: CDEK, DPD, Boxberry, IML, Почта России, Деловые Линии, ПЭК, Dostavista, GTD, Байкал Сервис и др. 15 * Version: 2.1.5 015 * Version: 2.1.51 16 16 * Author: eShopLogistic 17 17 * Author URI: https://eshoplogistic.ru/p747575 … … 42 42 define( 'WC_ESL_PLUGIN_DIR', plugin_dir_path(__FILE__) ); 43 43 44 define( 'WC_ESL_VERSION', '2.1.5 0' );44 define( 'WC_ESL_VERSION', '2.1.51' ); 45 45 46 46 define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset
for help on using the changeset viewer.