Plugin Directory

Changeset 2547406


Ignore:
Timestamp:
06/14/2021 11:06:56 AM (5 years ago)
Author:
phcwordpress
Message:

upd 14062021

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drivefx-woocommerce/trunk/settings/syncro_gate.php

    r2526532 r2547406  
    532532            foreach ($products as &$product) {
    533533                if($product['qtt']*$product['epv'] != 0){
    534                 # get product ref & design
    535                 global $wpdb;
     534                    # get product ref & design
     535                    global $wpdb;
    536536                    $product_id = $wpdb->get_var( $wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta WHERE meta_key='_sku' AND meta_value='%s' LIMIT 1", $product['ref'] ) );
    537537                    $getproducttype = wc_get_product($product_id);
Note: See TracChangeset for help on using the changeset viewer.