chantane Posted March 10, 2011 Share Posted March 10, 2011 Module loyalty - correction d'erreur de parenthesecette erreur provoque l'absence du décompte des points sur la page produit,lorsque le calcul des points est désactivé pour les produits à prix réduitmodules\loyalty\loyalty.php - lignes 329remplacer if (!intval(Configuration::get('PS_LOYALTY_NONE_AWARD')) AND ($product->reduction_from == $product->reduction_to OR date('Y-m-d H:i:s') <= $product->reduction_to AND date('Y-m-d H:i:s') >= $product->reduction_from AND ($product->reduction_price > 0 OR $product->reduction_percent > 0 OR $product->on_sale))) par if (!intval(Configuration::get('PS_LOYALTY_NONE_AWARD')) AND ($product->reduction_from == $product->reduction_to OR date('Y-m-d H:i:s') <= $product->reduction_to AND date('Y-m-d H:i:s') >= $product->reduction_from) AND ($product->reduction_price > 0 OR $product->reduction_percent > 0 OR $product->on_sale)) modules\loyalty\LoyaltyModule.php - lignes 105 à 107remplacer if (!intval(Configuration::get('PS_LOYALTY_NONE_AWARD')) AND ($product['reduction_from'] == $product['reduction_to'] OR date('Y-m-d H:i:s') <= $product['reduction_to'] AND date('Y-m-d H:i:s') >= $product['reduction_from'] AND ($product['reduction_price'] > 0 OR $product['reduction_percent'] > 0 OR $product['on_sale']))) par if (!intval(Configuration::get('PS_LOYALTY_NONE_AWARD')) AND ($product['reduction_from'] == $product['reduction_to'] OR date('Y-m-d H:i:s') <= $product['reduction_to'] AND date('Y-m-d H:i:s') >= $product['reduction_from']) AND ($product['reduction_price'] > 0 OR $product['reduction_percent'] > 0 OR $product['on_sale'])) Link to comment Share on other sites More sharing options...
theme_designer Posted March 15, 2011 Share Posted March 15, 2011 J'ai aussi ce problème. Link to comment Share on other sites More sharing options...
Recommended Posts