Changeset 2949512
- Timestamp:
- 08/08/2023 05:44:27 PM (3 years ago)
- Location:
- bloyal/trunk
- Files:
-
- 3 edited
-
app/controller/class-bloyalcartcontroller.php (modified) (3 diffs)
-
bloyal.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bloyal/trunk/app/controller/class-bloyalcartcontroller.php
r2930009 r2949512 174 174 $external_tax = 'true'; 175 175 } 176 176 177 foreach ( $lines as $key => $line ) { 178 177 179 $product_data = $line['data']; 178 180 $is_external_discount = false; 179 181 $external_discount_amount = 0; 180 182 $regular_price = $product_data->get_regular_price(); 183 $sale_price = $product_data->get_sale_price(); 184 $price = $product_data->get_price(); 181 185 $external_sale_price = $product_data->get_sale_price(); 182 186 if ( '' !== $external_sale_price ) { … … 189 193 WC()->session->set( 'is_virtual_porduct_order', false ); 190 194 } 195 191 196 $line_data[] = array( 192 197 'ExternalId' => $key, … … 194 199 'ProductName' => $product_data->get_name(), 195 200 'Quantity' => $line['quantity'], 196 'Price' => $regular_price, 201 'FullPrice' => $regular_price ?? '', 202 'Price' => $price, 203 'ExternallyAppliedSalePrice'=> ($regular_price ? true : false), 204 'SalePrice' => $sale_price ?? '', 197 205 'ExternallyAppliedDiscount' => $is_external_discount, 198 206 'Discount' => $external_discount_amount, -
bloyal/trunk/bloyal.php
r2930009 r2949512 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 46 * Version: 3.1.611.15 7 7 * Author: bLoyal 8 8 */ -
bloyal/trunk/readme.txt
r2933777 r2949512 6 6 WC tested up to: 7.7.2 7 7 Requires PHP: 5.6 8 Stable tag: 3.1.611.1 48 Stable tag: 3.1.611.15 9 9 License: GPLv2 or later 10 10 … … 115 115 *Release Date - 12 June 2023* 116 116 117 = 3.1.611.15 = 118 *Release Date - 08 August 2023* 119 117 120 == Changes == 118 121 119 This plugin supports up to PHP 8.1 version 122 This plugin supports up to PHP 8.1 version. 123 Fixed sales price issue on cart page. 120 124 121 125 == Support == … … 127 131 == Upgrade Notice == 128 132 129 = 3.1.611.1 4=133 = 3.1.611.15 = 130 134 131 135 * [Compatibility] - WP 6.2
Note: See TracChangeset
for help on using the changeset viewer.