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

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> [résolu]box spécials qui disparait
nemrod34
posté 24 Oct 2006, 09:47
Message #1


Ceinture bleue OSC
Icône de groupe

Groupe : Membres
Messages : 1123
Inscrit : 7-October 04
Membre no 3437



j'ai la box spécials qui disparait quand je consulte la fiche d'un produit

bizzare ça !
CODE
require(DIR_WS_BOXES . 'shopping_cart.php');
  require(DIR_WS_BOXES . 'whats_new.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

  if (isset($HTTP_GET_VARS['products_id'])) {
    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
      
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
  } else {
    include(DIR_WS_BOXES . 'specials.php');
  }


--------------------
oscommerce 2.2-ms2 fr +
théma - ventes croisées - agrandissement sans popup -pas de commande si prix zéro - FCKeditor v 2.2.1 -afficher nom de famille + prenom client - menubarv1 - Store Pick Up Version 1.4 - featured_products_v1.5.5_1- QTPRO 4.3 - Prof_Invoice&PackingSlip_v0.2_1 - Products_Short_Descriptions_V1_03 - tvaintracom_v5 - osplayer v2.1 - Download_Controllerv5.3 MS2.2_21 - CustomerDiscount v1.1 - Member Approval 1.5 - ask a question 1.0 (modifié) - Product sold v1.2
Go to the top of the page
 
pacifox
posté 24 Oct 2006, 09:55
Message #2


Ceinture jaune OSC
Icône de groupe

Groupe : Membres
Messages : 66
Inscrit : 22-February 06
Membre no 9139



Pour moi il faudrai enlever cà
CODE

  if (isset($HTTP_GET_VARS['products_id'])) {

} else{

}

ce qui donnerai ca
CODE

require(DIR_WS_BOXES . 'shopping_cart.php');
  require(DIR_WS_BOXES . 'whats_new.php');

  if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

  if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

    if (tep_session_is_registered('customer_id')) {
      $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");
      $check = tep_db_fetch_array($check_query);
      if ($check['count'] > 0) {
      
      } else {
        include(DIR_WS_BOXES . 'product_notifications.php');
      }
    } else {
      include(DIR_WS_BOXES . 'product_notifications.php');
    }
    
    include(DIR_WS_BOXES . 'specials.php');
  
Go to the top of the page
 
nemrod34
posté 24 Oct 2006, 15:53
Message #3


Ceinture bleue OSC
Icône de groupe

Groupe : Membres
Messages : 1123
Inscrit : 7-October 04
Membre no 3437



C'été bien ça merci beaucoup!


--------------------
oscommerce 2.2-ms2 fr +
théma - ventes croisées - agrandissement sans popup -pas de commande si prix zéro - FCKeditor v 2.2.1 -afficher nom de famille + prenom client - menubarv1 - Store Pick Up Version 1.4 - featured_products_v1.5.5_1- QTPRO 4.3 - Prof_Invoice&PackingSlip_v0.2_1 - Products_Short_Descriptions_V1_03 - tvaintracom_v5 - osplayer v2.1 - Download_Controllerv5.3 MS2.2_21 - CustomerDiscount v1.1 - Member Approval 1.5 - ask a question 1.0 (modifié) - Product sold v1.2
Go to the top of the page
 

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 : 20th June 2013 - 07:56
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)