Plugin Directory

Changeset 3275080


Ignore:
Timestamp:
04/16/2025 07:17:29 PM (12 months ago)
Author:
engagebay
Message:

fix contact product create issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • engagebay-woocommerce-addon/trunk/actions/class-engagebay-wc-cron-actions.php

    r2914723 r3275080  
    158158                if (!$engagebay_product) {
    159159                    $engagebay_product = EngageBay_WC_Api::create_product($engagebay_contact['owner_id'], $product);
    160                 } else {
    161                     $engagebay_product = EngageBay_WC_Api::update_product($engagebay_product['id'], $engagebay_contact['owner_id'], $product);
    162                 }
     160                }
     161//              else {
     162//                    $engagebay_product = EngageBay_WC_Api::update_product($engagebay_product['id'], $engagebay_contact['owner_id'], $product);
     163//                }
    163164
    164165                if (isset($engagebay_contact['id']) && isset($engagebay_product['id'])) {
Note: See TracChangeset for help on using the changeset viewer.