Changeset 2752990
- Timestamp:
- 07/07/2022 09:52:04 AM (4 years ago)
- Location:
- smallpay/trunk
- Files:
-
- 3 edited
-
includes/class-wc-gateway-smallpay-configuration.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
smallpay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smallpay/trunk/includes/class-wc-gateway-smallpay-configuration.php
r2734766 r2752990 582 582 $p = wc_get_product($product['product_id']); 583 583 584 $rangeProps = $this->get_price_range_configs((float) $p->get_price()); 584 // if it is a variable product, the price of the selected variant is retrived 585 if ($p->is_type('variable')) { 586 $pPrice = (float) $p->get_price(); 587 588 $pv = new \WC_Product_Variation($product['variation_id']); 589 $pPrice = $pv->get_price(); 590 } else { 591 $pPrice = (float) $p->get_price(); 592 } 593 594 $rangeProps = $this->get_price_range_configs($pPrice); 585 595 586 596 if (!$rangeProps['res']) { -
smallpay/trunk/readme.txt
r2734766 r2752990 8 8 WC Requires at least: 3.0.0 9 9 WC Tested up to: 6.5.1 10 Stable tag: 5. 0.010 Stable tag: 5.1.0 11 11 License: GNU General Public License v3.0 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 108 108 = 5.0.0 = 109 109 * Changed - Management of categories that can be paid in installments 110 111 = 5.1.0 = 112 * FIxed - Incompatibility with variable products -
smallpay/trunk/smallpay.php
r2734766 r2752990 5 5 * Plugin URI: 6 6 * Description: Official SmallPay plugin. 7 * Version: 5. 0.07 * Version: 5.1.0 8 8 * Author: SmallPay Srl 9 9 * Author URI: https://www.smallpay.it … … 22 22 } 23 23 24 define('SPWC_PLUGIN_VERSION', '5. 0.0');24 define('SPWC_PLUGIN_VERSION', '5.1.0'); 25 25 26 26 class WC_SmallPay
Note: See TracChangeset
for help on using the changeset viewer.