Plugin Directory

Changeset 2761929


Ignore:
Timestamp:
07/26/2022 04:37:26 PM (4 years ago)
Author:
perseosoftware
Message:

comentando variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • perseo-software/trunk/includes/PluginPerseo_cron.php

    r2761922 r2761929  
    15551555                     //echo 'ID woocommerce ';
    15561556                     //echo $DatProd -> product_id;
    1557                      //echo '<br><br>';
     1557                    // echo '<br><br>';
    15581558
    15591559                     $ConsultaProductoUpd = $DatProd -> product_id;
     
    16171617                                    if($perseo_parametros['perseotarifaVenta']==$perseo_parametros['perseotarifaAumento']){
    16181618                                        if($perseo_parametros['perseotarifaVenta']==$tarifa['tarifasid'])
     1619                                       // echo "Si es igual";
    16191620                                            {
    16201621                                            $perseo_tarifaventa=round($tarifa['precio'],2);
     
    16261627                                    }else{
    16271628                                                if($perseo_parametros['perseotarifaVenta']==$tarifa['tarifasid'])
    1628                                                 {                                                           
     1629                                                {                                                 
     1630                                                   // echo "tarifa venta";         
    16291631                                                    $perseo_tarifaventa=round($tarifa['precio'],2);
    16301632                                                    //echo $perseo_tarifaventa;
     
    16321634                                                    update_post_meta($ConsultaProductoUpd, '_price', $perseo_tarifaventa);
    16331635                                                    update_post_meta($ConsultaProductoUpd, '_sale_price', $perseo_tarifaventa );
    1634                                                     //update_post_meta($ConsultaProductoUpd, '_regular_price', $perseo_tarifaventa );
     1636                                                    update_post_meta($ConsultaProductoUpd, '_regular_price', $perseo_tarifaventa );
    16351637
    16361638                                                    ///////////////////////////////////////////////////
     
    16441646                                                    //precio 2
    16451647                                                if($perseo_parametros['perseotarifaAumento']==$tarifa['tarifasid'])
    1646                                                 {                                                           
     1648                                                {               
     1649                                                    //echo "tarifa aumento";                                             
    16471650                                                    $perseo_tarifaaumento =round($tarifa['precio'],2);
    16481651                                                    update_post_meta($ConsultaProductoUpd, '_price', $perseo_tarifaaumento);
Note: See TracChangeset for help on using the changeset viewer.