FrankD Posted October 26, 2011 Share Posted October 26, 2011 Bonjour, Je ne suis pas très doué en développement, j'aimerais modifier le code d'un module qui affiche les promotions, pour qu'il affiche la liste des produits de la catégorie id 2 de la boutique ! J'utilise "getProductsProperties" à la place de "getPricesDrop", mais ça ne fonctionne pas ! Vous avez une idée ? function hookRightColumn($params) { global $smarty; $catproducts = Product::getProductsProperties ((int)id_lang, 2); $new_product = array(); if ($catproducts) foreach ($catproducts AS $CProduct) $new_product[] = $CProduct; $smarty->assign(array( 'version' => substr(_PS_VERSION_, 2, 1), 'timeEffet' => $this->timeEffet, 'timeTrans' => $this->timeTrans, 'catlistproducts' => $new_product)); Version de la boutique : 1.4.5.1 Travail en local pour le moment (wamp) Merci de votre aide ! Link to comment Share on other sites More sharing options...
FrankD Posted November 11, 2011 Author Share Posted November 11, 2011 Personne ici ? Link to comment Share on other sites More sharing options...
xueid89 Posted November 12, 2011 Share Posted November 12, 2011 Bonjour, Je peux intervenir pour vous. Mes prix sont raisonnables. Contactez moi par le biais de ma signature. Cordialement G. PREVEAUX Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now