Plugin Directory

Changeset 3003126


Ignore:
Timestamp:
11/29/2023 08:09:58 AM (2 years ago)
Author:
thanhtd
Message:

Update

Location:
bulky-bulk-edit-products-for-woo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bulky-bulk-edit-products-for-woo/trunk/CHANGELOG.txt

    r2975753 r3003126  
     1/** 1.1.6 - 2023.11.29 **/
     2– Fixed: Set sale date to
     3
    14/** 1.1.5 - 2023.10.07 **/
    25– Added: Filter multiple SKU with comma separate
  • bulky-bulk-edit-products-for-woo/trunk/admin/handle-product.php

    r2933105 r3003126  
    348348
    349349    public function parse_product_data_to_save( \WC_Product &$product, $type, $value ) {
    350         $pid = $product->get_id();
     350        $pid    = $product->get_id();
     351        $p_type = $product->get_type();
    351352
    352353        switch ( $type ) {
     
    408409
    409410            case 'sale_date_to':
    410                 $product->set_date_on_sale_to( $value );
     411                if ( $p_type !== 'variable' ) {
     412                    if ( ! empty( $value ) ) {
     413                        $value = date( 'Y-m-d 23:59:59', strtotime( $value ) ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
     414                    }
     415                    $product->set_date_on_sale_to( $value );
     416                }
    411417                break;
    412418
  • bulky-bulk-edit-products-for-woo/trunk/bulky-bulk-edit-products-for-woo.php

    r2975753 r3003126  
    44 * Plugin URI: https://villatheme.com/extensions/bulky-woocommerce-bulk-edit-products/
    55 * Description: Bulky - Bulk Edit Products for WooCommerce helps easily work with products in bulk. The plugin offers sufficient simple and advanced tools to help filter various available attributes of simple and variable products such as  ID, Title, Content, Excerpt, Slugs, SKU, Post date, range of regular price and sale price, Sale date, range of stock quantity, Product type, Categories.... Users can quickly search for wanted products fields and work with the product fields in bulk. The plugin promises to help users to save time and optimize manipulation when working with products in bulk.
    6  * Version: 1.1.5
     6 * Version: 1.1.6
    77 * Author: VillaTheme
    88 * Author URI: https://villatheme.com
     
    3737        public $plugin_name = 'Bulky - Bulk Edit Products for WooCommerce';
    3838
    39         public $version = '1.1.5';
     39        public $version = '1.1.6';
    4040
    4141        public $conditional = '';
  • bulky-bulk-edit-products-for-woo/trunk/readme.txt

    r2975753 r3003126  
    55Requires PHP: 7.0
    66Requires at least: 5.0
    7 Tested up to: 6.2
     7Tested up to: 6.4
    88Stable tag: 1.0.7
    99License: GPLv2 or later
     
    261261== Changelog ==
    262262
     263/** 1.1.6 - 2023.11.29 **/
     264– Fixed: Set sale date to
     265
    263266/** 1.1.5 - 2023.10.07 **/
    264267– Added: Filter multiple SKU with comma separate
Note: See TracChangeset for help on using the changeset viewer.