Plugin Directory

Changeset 3086512


Ignore:
Timestamp:
05/14/2024 12:36:04 PM (22 months ago)
Author:
extendago
Message:

Version 1.5.2

Location:
extendago-wp-connection/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extendago-wp-connection/trunk/extendago-wp-connection.php

    r3085804 r3086512  
    44Plugin URI:  http://www.arture.nl/extendago
    55Description: The Wordpress plugin for connecting Woocommerce with Extenda GO / Wallmob. You can manage your products inside Extenda GO or make your webshop as leading foor product manangement. You Stock changes will be two-way binding.
    6 Version:     1.5.1
     6Version:     1.5.2
    77Author:      Arture B.V.
    88Author URI:  https://arture.nl/
  • extendago-wp-connection/trunk/includes/cronjob/class-extendago-cronjob-functions.php

    r3085804 r3086512  
    838838                                }
    839839
    840 
    841                                 $retail_price = $variation->retail_price;
    842                                 if( isset($variation->sale_price) && !empty($variation->sale_price) ){
    843                                     $retail_price = $variation->sale_price;
    844                                 }
    845 
    846840                                // First variation
    847841                                if( $i == 1 ){
     
    850844                                            'id'                    => $product['id'],
    851845                                            'type_id'               => '523',
    852                                             'retail_price'          => number_format(((float)$retail_price * 100), 0, '.', ''), // price in cents
     846                                            'retail_price'          => number_format(((float)$variation->retail_price * 100), 0, '.', ''), // price in cents
    853847                                            'cost_price'            => 0,
    854848                                            'product_id'            => $product['id'],
     
    874868                                            'id'                    => 'product_data-'.$variation->id,
    875869                                            'type_id'               => '523',
    876                                             'retail_price'          => number_format(((float)$retail_price * 100), 0, '.', ''), // price in cents
     870                                            'retail_price'          => number_format(((float)$variation->retail_price * 100), 0, '.', ''), // price in cents
    877871                                            'cost_price'            => 0,
    878872                                            'product_id'            => $product['id'],
  • extendago-wp-connection/trunk/readme.txt

    r3085804 r3086512  
    55Requires at least: 6.0
    66Tested up to: 6.4.3
    7 Stable tag: 1.5.1
     7Stable tag: 1.5.2
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    3131== Changelog ==
    3232
     33= 1.5.2 =
     34* Revert change for sale price processing to Extenda GO
     35
    3336= 1.5.1 =
    3437* Change for sale price processing to Extenda GO
Note: See TracChangeset for help on using the changeset viewer.