Mise à niveau pour loi Hammon, Information sur les moyens de paiement |
Bienvenue invité ( Connexion | Inscription )
Mise à niveau pour loi Hammon, Information sur les moyens de paiement |
16 Jul 2014, 19:43
Message
#1
|
|
Ceinture noire OSC 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é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 |
|
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) |