Plugin Directory

Changeset 2867418


Ignore:
Timestamp:
02/18/2023 02:57:33 PM (3 years ago)
Author:
aftercommerce
Message:

update the edit warraty for New status.

Location:
afterinc-app/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • afterinc-app/trunk/Custom_app.php

    r2867414 r2867418  
    44Plugin URI: https://www.afterinc.com/contact/
    55Description: Plugin allows merchants to sell After Plan’s product protection plans for wide variety of products.
    6 Version: 3.9.2
     6Version: 3.9.3
    77Author: After Inc.
    88Author URI: https://www.afterinc.com
     
    871871            update_post_meta( $product_id, '_sync', 'New');
    872872            }
    873       else if($result[0]->configuration_property == 1 && $result[0]->warranty_status == 0 && $result[0]->sync_type == 1 && $warranty_status == 'Disable'){
     873           
     874             else if($result[0]->configuration_property == 1 && $result[0]->warranty_status == 1 && $result[0]->sync_type == 0 && $warranty_type == 'New'){
     875              update_post_meta( $product_id, '_sync', 'New');
     876              }
     877           else if($result[0]->configuration_property == 1 && $result[0]->warranty_status == 0 && $result[0]->sync_type == 1 && $warranty_status == 'Disable'){
    874878              update_post_meta( $product_id, '_sync', 'New');
    875879              }
  • afterinc-app/trunk/readme.txt

    r2867414 r2867418  
    77Requires PHP: 7.2
    88WC tested up to: 5.6.0
    9 Stable tag: 3.9.2
     9Stable tag: 3.9.3
    1010License: GPLv3
    1111License URI: https://www.afterinc.com
Note: See TracChangeset for help on using the changeset viewer.