osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

10 Pages V  < 1 2 3 4 5 > »   
Reply to this topicStart new topic
> Flash Discount
Gyakutsuki
posté 25 Mar 2005, 04:43
Message #51


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Je viens de sortir une nouvelle version v 2.0. De nombreuses modifications ont été réalisée.

ps: pour la creload, je ne connais pas assez les spécificités de cette contribution pour apporter des solutions adéquates. Veuillez vous référez au forum en question.
QUOTE
Question : est-ce possible de faire tourner cette contribution sur la Creloade6 ?

Il ne devrait pas y avoir de raison que cela ne marche pas mais c'est plus complexe à mettre en oeuvre.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
wen
posté 26 Mar 2005, 09:30
Message #52


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 247
Inscrit : 27-August 04
Lieu : Paris
Membre no 3125



Bonjour Gyakutsuki
Qu'est-ce qui change ?
que doit on modifier pour installer la V2 si on a déjà installé la V1.6 ?
Merci
Wen
A propos je suis sous creload 6 et ça marche bien.
Pour installer la boxe il faut pas faire l'include dans Colum left, il faut passer par l'admin et la gestion des infobox en ayant mis d'abord boxe/flash_selling.php dans le répertoire des boxes de son template, et pour productinfo.php, il faut modifier productinfo.tpl.php


--------------------
osc 2v2 FR
Go to the top of the page
 
Gyakutsuki
posté 26 Mar 2005, 16:13
Message #53


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Les principales modifications sont dans product_info et general.php.
Certaines conditions n'étaient pas insérées et en fonction de certaines actions, il ne pouvait y avoir de résultat attendu.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
tchaoo
posté 31 Mar 2005, 12:21
Message #54


Ceinture jaune+ OSC
Icône de groupe

Groupe : Membres
Messages : 136
Inscrit : 4-August 04
Lieu : Strasbourg
Membre no 2993



C a fait longtemps que je tourne autour de cette contrib, j'ai commencé mon install puis vient de faire machine arrière...

Y'a pas une adresse où la voir tourner avant que je me décide ? Car comme mon site est fortement custom et que je suis pas un as en php, avant de passer une journée dessus, je voudrai bien voir... comme St thomas ;o))

Merci


--------------------
Merci !

Bruno
--
Os commerce MS 2.2 et creload 6.15 en cours
Contribs : include html 1.5 : Meta Tags 3.0 : Header Tags 2.4 : OscAffiliate : Birthday : SEO assistant : monthly sales report : Orders Editor : Gift Voucher : Batch pdf editor : catalogue pdf : ultimate Seo Url : Random new products : Comment toolbar : contreremboursement : boite défilante : Scroll Specials : Fancier Invoice & Packing Slip : Ot loyalty discount : Kelkoo : Le Guide.com : Froogle Data Feeder : Whos online enhanced + Flags : Order editor : Shopping cart enhancement : Thumbnail Category Browse : Rss reader : Rss News : Rss Feeder : New product icon : Product sold 1.0 : Multiple Products Manager : Admin comment toolbar : Customers by date : Sales report 2 : CDynamic Meta Tags : Dob dropdown : Articles Manager : File librairy : Faq :...
Go to the top of the page
 
Gyakutsuki
posté 31 Mar 2005, 15:24
Message #55


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Désolé mais j'ai pas de site de démos pour cette contrib, pour ma part. Peut être que quelqqu'ici en a un ?


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
djebaz
posté 31 Mar 2005, 22:24
Message #56


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 250
Inscrit : 7-January 04
Membre no 1806



Une petite erreur dans le fichier sql.txt, sur la deuxieme requete :

voici la bonne :

CODE

DROP TABLE IF EXISTS specials;
CREATE TABLE specials (
 specials_id int(11) NOT NULL auto_increment,
 products_id int(11) NOT NULL default '0',
 specials_new_products_price decimal(15,4) NOT NULL default '0.0000',
 specials_date_added datetime default NULL,
 specials_last_modified datetime default NULL,
 expires_date datetime default NULL,
 date_status_change datetime default NULL,
 status int(1) NOT NULL default '1',
 status_flash_selling int(1) NOT NULL default '1',
 flash_selling_beginning_date datetime default NULL,
 flash_selling_end_date datetime default NULL,
 specials_price_flash_selling DECIMAL(15,4) NOT NULL default '0.0000',

 PRIMARY KEY  (specials_id)
) TYPE=MyISAM;



il manquait DECIMAL là :

specials_price_flash_selling DECIMAL(15,4) NOT NULL default '0.0000',

Gyakutsuki, t'es bon pour refaire un upload smile.gif
Go to the top of the page
 
Gyakutsuki
posté 31 Mar 2005, 23:01
Message #57


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Merci, pack refait.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
djebaz
posté 31 Mar 2005, 23:04
Message #58


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 250
Inscrit : 7-January 04
Membre no 1806



attends, attends...

ligne 110 dans admin/specials :

il manque pas qqchose ?

CODE

       tep_db_query("insert into " . TABLE_SPECIALS . " (products_id, specials_new_products_price, specials_date_added, expires_date, flash_selling_beginning_date,  flash_selling_end_date, specials_price_flash_selling, status) values ('" . (int)$products_id . "', '" . tep_db_input($specials_price) . "', now(), '" . tep_db_input($expires_date) . "', '" . tep_db_input($flash_selling_beginning_date) . "', '" . tep_db_input($flash_selling_end_date) . "', '1')");



il y a 8 champs dans lesquels on insère 7 valeurs (ou c'est mes yeux ?)
Go to the top of the page
 
djebaz
posté 31 Mar 2005, 23:07
Message #59


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 250
Inscrit : 7-January 04
Membre no 1806



il manque la valeur de specials_price_flash_selling

voici la ligne 110 corrigée :

CODE

tep_db_query("insert into " . TABLE_SPECIALS . " (products_id, specials_new_products_price, specials_date_added, expires_date, flash_selling_beginning_date,  flash_selling_end_date, specials_price_flash_selling, status) values ('" . (int)$products_id . "', '" . tep_db_input($specials_price) . "', now(), '" . tep_db_input($expires_date) . "', '" . tep_db_input($flash_selling_beginning_date) . "', '" . tep_db_input($flash_selling_end_date) . "', '" . tep_db_input($specials_price_flash_selling) . "', '1')");

Go to the top of the page
 
djebaz
posté 31 Mar 2005, 23:31
Message #60


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 250
Inscrit : 7-January 04
Membre no 1806



Autre problème, toujours la même variable :

dans flash_selling.php qui liste tous les produits en vente flash, la requete est la suivante :

CODE

$specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling='1' order by s.specials_date_added DESC";


On va donc afficher le mauvais prix, puisque la bonne variable est specials_price_flash_selling.

donc il faut changer en :

CODE

$specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_price_flash_selling from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling='1' order by s.specials_date_added DESC";



et plus loin, idem, changer en :



CODE


echo '            <td align="center" width="33%" class="smallText"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . $specials['products_name'] . '</a><br><s>' . $currencies->display_price($specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($specials['specials_price_flash_selling'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</span></td>' . "\n";


Go to the top of the page
 
Gyakutsuki
posté 1 Apr 2005, 04:23
Message #61


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Oups, j'ai fait quelques bêtises en faisant cette nouvelle version. elle est mal née !!

une 2.2 est sortie en prenant en compte certaines rectifications.
N'a pas encore été inclue new_product et product_new.php.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
piapia
posté 7 Apr 2005, 22:18
Message #62


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 16
Inscrit : 22-March 05
Lieu : Drôme (26)
Membre no 5241



Salut à tous!

Moi aussi je me lance dans les ventes flash. Ca fonctionne plutôt assez bien
mais j'ai quand même rencontré quelques problèmes :

1) Dans l'admin, si un produit n'est pas actif en promotion mais actif en vente flash,
lorsque l'on fait 'ajouter au panier, il prend en compte le prix original.
(si promo actif et vente flash actif, plus de pb)

2) Des fois, lors d'une vente flash, product_info.php affiche uniquement le prix d'origine mais il y a bien vente flash qui clignotte. Et quand on commande, le prix 'flash' est bien pris en compte (si promo actif et vente flash actif). C'est juste un pb d'affichage.

CODE
if (($status_special =='0') && ($status_flash_selling =='0')){
               ...
               elseif...  
               elseif...
               elseif...
               elseif...
               else {
                    //Bug Affichage Vente Flash
                    ...}

Le bug arrive quand on passe dans le else.
Un cas a été oublié ???
Go to the top of the page
 
Gyakutsuki
posté 7 Apr 2005, 22:39
Message #63


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Quelle version as tu ?
La dernière version marche correctement au niveau de l'affichage, je n'ai pas noté de pb, mais suite à ta demande et vérification, il y a bien un petit bug concernant le prix inséré dans le panier.

Voici comment le résoudre partiellement, cela ne marche pas dans tous les cas ! . Je travaille pour améliorer le pb.
dans classes/shopping_cart.php vers la ligne 218

CODE

         $products_weight = $product['products_weight'];

// ###############" Start flash selling ###############

         $products_weight = $product['products_weight'];

// ###############" Start flash selling ###############

         $specials_query0 = tep_db_query("select status, status_flash_selling from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'  or status_flash_selling = '1' ");
         if (tep_db_num_rows ($specials_query0)) {
           $specials0 = tep_db_fetch_array($specials_query0);

     if (($specials0['status'] == '1') && ($specials0['status_flash_selling'] == '0'))  {
               $specials_query = tep_db_query("select specials_new_products_price, status  from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1'  ");
               if (tep_db_num_rows ($specials_query)) {
                 $specials = tep_db_fetch_array($specials_query);
           $products_price = $specials['specials_new_products_price'];
     }
     }elseif ($specials0['status_flash_selling'] == '1')  {
               $specials_query = tep_db_query("select specials_price_flash_selling, status_flash_selling  from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status_flash_selling = '1'  ");
               if (tep_db_num_rows ($specials_query)) {
                 $specials = tep_db_fetch_array($specials_query);
           $products_price = $specials['specials_price_flash_selling'];
      }
     }



    }
// ###############" EndStart flash selling ###############
         $this->total += tep_add_tax($products_price, $products_tax) * $qty;// ###############" EndStart flash selling ###############


et trouver la ligne ci dessous vers 280
CODE


         $products_price = $products['products_price'];


// ############### Start flash sellling #############
         $specials_query = tep_db_query("select specials_new_products_price, specials_price_flash_selling, status,  status_flash_selling  from " . TABLE_SPECIALS . " where products_id = '" . (int)$prid . "' and status = '1' or  status_flash_selling ='1' ");
// ############### End  flash sellling #############
         if (tep_db_num_rows($specials_query)) {
           $specials = tep_db_fetch_array($specials_query);
// ############### Start flash sellling #############

     if (($specials['status'] =='1') && ($specials['status_flash_selling'] !='1')) {
            $products_price = $specials['specials_new_products_price'];
      } else  {
            $products_price = $specials['specials_price_flash_selling'];
           }
         }
// ############### End  flash sellling #############

         $products_array[] = array('id' => $products_id,


Dans Flash_selling.php vers la ligne 56 à 62, les remplacer par celles-ci

Reste à vérifier si tout cela marche quand le flash_selling devient en off ==> pas encore fait.



CODE

<?php
//  $specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling='1' order by s.specials_date_added DESC";

$specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_price_flash_selling from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling='1' order by s.specials_date_added DESC";

$specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS);

 if (($specials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>


Dans le même fichier changer la requeête par celle ci
CODE

$specials_query_raw = "select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_price_flash_selling from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling = '1' and now() < s.flash_selling_end_date order by s.specials_date_added DESC";


Dans includes/boxes/flash_selling.php

changer la requête par celle ci
CODE

 if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_price_flash_selling from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status_flash_selling = '1' and now() < s.flash_selling_end_date order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) {


Une version 2.3 est sortie reprenant ces éléments et quelques améliorations. Attention, il y a une nouveau champs dans la BD


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
wen
posté 9 Apr 2005, 11:35
Message #64


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 247
Inscrit : 27-August 04
Lieu : Paris
Membre no 3125



Bonjour Gyakutsuki
J'ai un prob, je viens d'installer la V2.3 et dans product.info, j'ai ces lignes d'erreur que j'ai commenté en attendant de corriger.
QUOTE
Fatal error: Call to undefined function: tep_get_products_special_status_flash_selling() in /***/catalog/templates/content/product_info.tpl.php on line 253

QUOTE
Fatal error: Call to undefined function: tep_get_products_special_status_fflash_selling() in /***/catalog/templates/content/product_info.tpl.php on line 254


ca correspond à ces ligne là :
QUOTE
$status_flash_selling = tep_get_products_special_status_flash_selling($product_info['products_id']);
    $status_special = tep_get_products_special_status_flash($product_info['products_id']);


De plus le bouton clignotant ne s'affiche pas , ou faut-il le ranger car je l'ai mis ou il fallait d'après les fichiers.
Merci
Wen


--------------------
osc 2v2 FR
Go to the top of the page
 
Gyakutsuki
posté 9 Apr 2005, 14:54
Message #65


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Désolé pour la 2.3 je ne serais te répondre, il faut voir côté des cealodiens.

status_fflash_selling == c'est pas ca status_flash_selling ???

regarde si tu n'as pas une erreur à ce niveau


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
piapia
posté 9 Apr 2005, 21:56
Message #66


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 16
Inscrit : 22-March 05
Lieu : Drôme (26)
Membre no 5241



QUOTE (Gyakutsuki @ 07 avr 2005, 17:39)
Quelle version as tu ?
La dernière version marche correctement au niveau de l'affichage, je n'ai pas noté de pb, mais suite à ta demande et vérification, il y a bien un petit bug concernant le prix inséré dans le panier.


J'ai la version 2.2.
Le problème d'affichage que j'ai noté apparait que très rarement et je ne suis pas sur de savoir le reproduire...
Je vais essayer d'expliquer comment j'ai fait : comme lors d'une vente flash, le prix affiché dans le panier n'était pas le bon, j'ai modifié le prix du produit concerné donc le prix fash était le même que le prix initial.
Ensuite, quand j'ai compris que la remise était bien effectuée quand le status promotion et le status vente flash étaient actifs, j'ai remis le prix de mon produit à sa valeur initiale et c'est là que j'ai eu le pb d'affichage.
Ensuite lorsque la vente flash fut terminée et que j'en ai fait une autre sur un nouveau produit, je n'ai plus eu de pb d'affichage.
J'espère avoir été clair... wink.gif
Je crois que c'est vraiment un cas particulier et rare.

Par contre, le pb de prix dans le panier est plus gênant. Pour l'instant, je reste sur ma solution d'activer promotion et vente flash (j'ai masqué l'affichage de la promotion pour avoir que la vente flash sur la page d'accueil) qui me semble marcher à 100%. Mais je reste à l'écoute de l'évolution de la contribution.

Bon courage.
Go to the top of the page
 
Gyakutsuki
posté 9 Apr 2005, 22:02
Message #67


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Une 2.3 est sortie et résoud ces pbs cf oscommerce.com
Attention, un nouveau champs est à mettre dans la BD

En attendant une 2.4 voici quelques autres modifications intervenant dans les boxes.

boxes/specials.php

CODE
// #################### Added Flash Selling ###############
//  if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) {
 if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' and (s.status_flash_selling = '0' or now()> flash_selling_end_date) order by s.specials_date_added desc limit " . MAX_RANDOM_SELECT_SPECIALS)) {
// #################### End Added Flash Selling ###############


Dans what_new.php

rajouter ceci a près la ligne 20 :
CODE
// ############### Added Flash Selling ############    
   $random_product['specials_price_flash_selling'] = tep_get_products_special_price_flash_selling($random_product['products_id']);
// ############### End added flash selling ##########

puis remplacer ceci :

CODE
if (tep_not_null($random_product['specials_new_products_price'])) {
     $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
     $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
   } else {
     $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));
   }


par

CODE
// ############### Added Flash Selling ############
   if (tep_not_null($random_product['specials_price_flash_selling'])) {
    $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
     $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_price_flash_selling'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
// ############### End Added Flash Selling ############
   }elseif (tep_not_null($random_product['specials_new_products_price'])) {
     $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
     $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
   } else {
     $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));
   }


Mais il y a encore de quoi faire !


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
Gyakutsuki
posté 13 Apr 2005, 21:48
Message #68


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Une 2.4 beta est disponible sur oscommerce.com
j'ai encore un pt problème à résoudre dans module/new_products.php
Su ce fichier l'automatisation n'est pas encore incluse. (donc à faire manuellement)


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
Gyakutsuki
posté 19 Apr 2005, 05:01
Message #69


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Une version 2.5 beta vient d'être sortie.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
carlos101
posté 20 Apr 2005, 21:11
Message #70


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 70
Inscrit : 22-December 04
Lieu : Pornic
Membre no 4160



Je viens de passer 2 heures sur l'instal de la contrib et je bloque sur

shopping_cart.php

J'ai installé ccgv_5_11 et lorsque je met à jour avec flash_discount_v2.5
les articles de mon panier sous tous au meme prix celui de la vente flash.

et

J ai ce message :

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/web/users/cheval-shop/www/test/catalog/includes/functions/database.php on line 99

Sous l affichage des sous catégories ou il devrais s'afficher le nouveauté du mois.


--------------------
ms2 + AdminMS2fr_V2.3 + WYSIWYG_v1.8FR + 7dana.com-osCGreen + discount_coupon_NC_v0.95 + [MOD] Maillist v2.0 +v3.0+ Flash Discount
Go to the top of the page
 
Gyakutsuki
posté 21 Apr 2005, 03:30
Message #71


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



peut être y a t'il un conflit avec ta contrib . Je vais regardé de mon côté sur une version de base.



--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
carlos101
posté 21 Apr 2005, 08:56
Message #72


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 70
Inscrit : 22-December 04
Lieu : Pornic
Membre no 4160



Merci,

Car la contribution flash est vraiment très bien faite et correspond vraiment au besoin de nouveautés sur un site pour etoffé les offres lors de newsletters.


--------------------
ms2 + AdminMS2fr_V2.3 + WYSIWYG_v1.8FR + 7dana.com-osCGreen + discount_coupon_NC_v0.95 + [MOD] Maillist v2.0 +v3.0+ Flash Discount
Go to the top of the page
 
Gyakutsuki
posté 21 Apr 2005, 19:57
Message #73


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



CCGv n'est pas en cause, il y a bien une erreur qui n'a été vue, cette erreur se situe dans le fichier modules/products_new.php. Je vais regarder ca pour résoudre le pb. Mon temps étant limité, cela risque de prendre un peu de temps alors si il y a des bonnes âmes, elles seraient les bienvenues.


Rajouter ces lignes à la fin includes/functions/specials.php si cela n'a pas été fait

CODE

// ################## flash selling ####################
////
// Sets the status of a special product
 function tep_set_specials_status_flash_selling($specials_id, $status_flash_selling) {
   return tep_db_query("update " . TABLE_SPECIALS . " set status_flash_selling = '" . $status_flash_selling . "', date_status_change_flash_selling = now() where specials_id = '" . (int)$specials_id . "'");
 }

////
[CODE]
// Auto expire products on special
 function tep_expire_specials_flash_selling() {
   $specials_query = tep_db_query("select specials_id from " . TABLE_SPECIALS . " where status_flash_selling = '1' and now() >= flash_selling_end_date and flash_selling_begnning_date > 0");
   if (tep_db_num_rows($specials_query)) {
     while ($specials = tep_db_fetch_array($specials_query)) {
       tep_set_specials_status($specials['specials_id'], '0');
     }
   }
 }


En attendant, un 2.6 a été faite pour résoudre ce pb.


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
Gyakutsuki
posté 26 Apr 2005, 20:43
Message #74


Ceinture marron OSC
Icône de groupe

Groupe : Membres
Messages : 1914
Inscrit : 3-October 02
Membre no 467



Correction de quelques bugs identifiés
Correction du fichier products_new.php
Code plus claire dans l'ntégration.

la version 2.7 est disponible sur oscommerce.com


--------------------
Cordialement,

Gyakutsuki

Modules, FAQ
Go to the top of the page
 
Mousticks
posté 26 Apr 2005, 23:55
Message #75


Ceinture orange+ OSC
Icône de groupe

Groupe : Membres
Messages : 371
Inscrit : 14-August 04
Lieu : chalons en champagne
Membre no 3047



je n'ai pas encore testé cette contrib car encore du taff pour terminé ce que j'ai en cours lool mais je tenais a remercier son dev car c clair que je vais l'adopter des que possible !!! donc un grand merci d'avance ! biggrin.gif


--------------------
MS2fr par Delaballe

* AdminMS2fr_V2.3 * Login Box * Ask a question * Box Image Thema * Define Mainpage * Events Calendar * Faq Desk * Fck Editor * News Desk * Osc CenterShop * Pool Booth * New Field Everywhere * Products Short Description * Products Tabs modifié * X Sell * Movie Details * Login and Return to Same Page * Big Image * Ajax Popup Image * Mo Pics modifié * All Products * Box Categories Pro * Sendcard * Categoriser resultats de recherche * Specials on Default * Star Product * Most Viewed * Featured Products * Survey Anywhere (en cours)...
Go to the top of the page
 

10 Pages V  < 1 2 3 4 5 > » 
Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 28th March 2024 - 16:12
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)