Changeset 2959533
- Timestamp:
- 08/28/2023 06:03:42 PM (3 years ago)
- Location:
- bloyal/trunk
- Files:
-
- 4 edited
-
app/controller/class-bloyalcartcontroller.php (modified) (1 diff)
-
app/controller/class-bloyalcontroller.php (modified) (1 diff)
-
bloyal.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bloyal/trunk/app/controller/class-bloyalcartcontroller.php
r2949512 r2959533 201 201 'FullPrice' => $regular_price ?? '', 202 202 'Price' => $price, 203 'ExternallyAppliedSalePrice'=> ( $regular_price? true : false),203 'ExternallyAppliedSalePrice'=> (($external_discount_amount > 0) ? true : false), 204 204 'SalePrice' => $sale_price ?? '', 205 205 'ExternallyAppliedDiscount' => $is_external_discount, -
bloyal/trunk/app/controller/class-bloyalcontroller.php
r2930009 r2959533 2252 2252 $reason_name = $line->DiscountReasonName; 2253 2253 $sale_price_reason_name = isset( $line->SalePriceReasonName ) == false ? $line->SalePriceReasonCode : $line->SalePriceReasonName; 2254 $sale_price_discount = ( $line->Price - $line->SalePrice ) * $line->Quantity; 2254 if($line->SalePrice > 0){ 2255 $sale_price_discount = ( $line->Price - $line->SalePrice ) * $line->Quantity; 2256 }else { 2257 $sale_price_discount = 0; 2258 } 2255 2259 $discount = $line->Discount * $line->Quantity; 2256 2260 if ( $discount > 0 || $sale_price_discount > 0 ) { -
bloyal/trunk/bloyal.php
r2949512 r2959533 4 4 * Plugin URI: 5 5 * Description: bLoyal provides real-time customer loyalty and omni-channel order processing to your WooCommerce web store. 6 * Version: 3.1.611.1 56 * Version: 3.1.611.16 7 7 * Author: bLoyal 8 8 */ -
bloyal/trunk/readme.txt
r2949512 r2959533 6 6 WC tested up to: 7.7.2 7 7 Requires PHP: 5.6 8 Stable tag: 3.1.611.1 58 Stable tag: 3.1.611.16 9 9 License: GPLv2 or later 10 10 … … 118 118 *Release Date - 08 August 2023* 119 119 120 = 3.1.611.16 = 121 *Release Date - 28 August 2023* 122 Fixed 100% discount issue on cart page summary. 123 120 124 == Changes == 121 125 122 126 This plugin supports up to PHP 8.1 version. 123 127 Fixed sales price issue on cart page. 128 Fixed 100% discount issue on cart page summary. 124 129 125 130 == Support == … … 131 136 == Upgrade Notice == 132 137 133 = 3.1.611.1 5=138 = 3.1.611.16 = 134 139 135 140 * [Compatibility] - WP 6.2
Note: See TracChangeset
for help on using the changeset viewer.