Changeset 2761929
- Timestamp:
- 07/26/2022 04:37:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perseo-software/trunk/includes/PluginPerseo_cron.php
r2761922 r2761929 1555 1555 //echo 'ID woocommerce '; 1556 1556 //echo $DatProd -> product_id; 1557 //echo '<br><br>';1557 // echo '<br><br>'; 1558 1558 1559 1559 $ConsultaProductoUpd = $DatProd -> product_id; … … 1617 1617 if($perseo_parametros['perseotarifaVenta']==$perseo_parametros['perseotarifaAumento']){ 1618 1618 if($perseo_parametros['perseotarifaVenta']==$tarifa['tarifasid']) 1619 // echo "Si es igual"; 1619 1620 { 1620 1621 $perseo_tarifaventa=round($tarifa['precio'],2); … … 1626 1627 }else{ 1627 1628 if($perseo_parametros['perseotarifaVenta']==$tarifa['tarifasid']) 1628 { 1629 { 1630 // echo "tarifa venta"; 1629 1631 $perseo_tarifaventa=round($tarifa['precio'],2); 1630 1632 //echo $perseo_tarifaventa; … … 1632 1634 update_post_meta($ConsultaProductoUpd, '_price', $perseo_tarifaventa); 1633 1635 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 ); 1635 1637 1636 1638 /////////////////////////////////////////////////// … … 1644 1646 //precio 2 1645 1647 if($perseo_parametros['perseotarifaAumento']==$tarifa['tarifasid']) 1646 { 1648 { 1649 //echo "tarifa aumento"; 1647 1650 $perseo_tarifaaumento =round($tarifa['precio'],2); 1648 1651 update_post_meta($ConsultaProductoUpd, '_price', $perseo_tarifaaumento);
Note: See TracChangeset
for help on using the changeset viewer.