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

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> Mise à niveau pour loi Hammon, Information sur les moyens de paiement
chti_poupon
posté 16 Jul 2014, 19:43
Message #1


Ceinture noire OSC
Icône de groupe

Groupe : TechDev
Messages : 2757
Inscrit : 9-September 08
Lieu : Douai
Membre no 22915



Bonjour
La version 2.3.4 présente une magnifique boxe avec des logos.
Rien sur la 2.2

Pour ce faire:
Ajouter dans catalog/includes/languages/french.php (et dans d'autres langues si utile)
Code
// Info payment box text in includes/boxes/info_paiement.php
define('BOX_HEADING_PAYMENT_INFO', 'Paiement possible');

define('BOX_INFORMATION_PAYMENT', '<u>Sous r&eacute;serve d\'autorisation</u><br><a href="' . DIR_WS_CATALOG . FILENAME_CONDITIONS . '" target="_blank">(cf:CGV ici)</a><br><ol style="padding-left:2em;"><li><b>Cas n°1:</b><ul style="padding-left:1em;"><li>Paiement a</li><li>Paiement B</li><li>Paiement C</li><li>etc...</li></ul></li><li><b>Cas n°2</b><ul style="padding-left:1em;"><li>Paiement z</li><li>Paiement y</li><li>etc...</li></ul></li></ol>');


ajouter à la fin de catalog/includes/column_left.php (avant ?>)
Code
// Information sur les moyens de paiement
require(DIR_WS_BOXES . 'info_paiement.php');


Sauvegarder catalog/includes/boxes/info_paiement.php
Code
<?php
/*
  $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/
?>
<!-- information moyens paiement//-->
          <tr>
            <td>
<?php
  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_HEADING_PAYMENT_INFO);

  new infoBoxHeading($info_box_contents, true, true);

  $info_box_contents = array();
  $info_box_contents[] = array('text' => BOX_INFORMATION_PAYMENT);

  new infoBox($info_box_contents);
?>
            </td>
          </tr>
<!-- information moyens paiement_eof //-->


Reste à adapter le texte à vos besoins

Belle journée !

Chti poupon
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 : 29th March 2024 - 16:10
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)