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

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> Existe-t-il un module qui gère les prix dégressifs par nombre d'item achetés?
milerwan
posté 18 Oct 2006, 01:36
Message #1


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 173
Inscrit : 18-October 06
Membre no 12709



Bonjour à tous,

J'étais à la recherche d'un module qui gère les prix dégressifs par nombre d'items achetés à la manière de ce que l'on peut trouver sur le site X-Cart.

Celui-ci se présente comme un tableau où les prix sont dégraissifs en fonction du nombre d'items choisis.
Le choix du nombre est assujeti à une fenêtre verticale qui alligne les nombre de 1 à 50.
Par fourchette de quantité (1 à 4, 5 à 9, 10 à 20, etc.) permet de recalculer le prix par unité après recalcul automatique.

Si quelqu'un connait un module qui exploite ce système de gestion de prix par quantité, je lui en serait très reconnaissant.

Merci.

PS : J'ai trouvé ça sur le site "... 8 - b - 7 Impact des quantités sur le prix" mais je ne comprends pas comment m'y rendre... Merci de m'éclairer.

PS2 : Finalement j'ai trouvé le module anglais et je l'ai installé. Pardon pour ce post inutile. ^^

Ce message a été modifié par milerwan - 18 Oct 2006, 03:42.


--------------------
osCommerce MS2.2 fr / MAJ sécurité 08.06

Contributions installées (47) :
Add weight to attributes v0.2 - Also purchased products - Atos - Autologon 108a - Best sellers scroll - Big images v1.25 - Cart with weight - Category box enhancement - Clear stats v1.4 - Colissimo/Distingo/recommandé (France, DOM-TOM, international) "perso" - Control new products - Customers stats orders - Disable Add to cart button - Disable "Add to cart" button if stock 0 or price 0 - E-mail address confirmation field - European Bank Transfer 1.9.1 - FCKeditor oscommerce v2 - Featured products v1.5.9 - Flash banners v2.0 - Graphical boxes v2 - Header Tags Controller v2.6.2 - Liaison SSL - Links manager v1.15 - LoginBox Best - Low stock 2 - Multiple products manager 2.15 - Must agree with terms - Newsdesk v1.48.3 updated - Newletter products v1.2 - Order Editor v5.0.6 - Order IP Recorder v1.5 - OSC Expeditor v2.2 - Payment fee - Paypal wpp v0.8.2 - Price in shopping card box - Price break v1.11.2 - Price Break with Special Price bug fixed - Print order Receipt 1.4 - Products on order v1.2 - Professional Invoice and Packing Slip - QT Pro 4.3 - Quick stock update v2.5 - Sub-total in basket - TVA intracom v5 - Ultimate SEO URL v2.x - Visitor web stats v3.1.2... ouf ! ^^
Go to the top of the page
 
milerwan
posté 18 Oct 2006, 05:33
Message #2


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 173
Inscrit : 18-October 06
Membre no 12709



Je me trouve avec une erreur identique lorsque je clique sur un produit du catalogue sur le site et directement dans l'outil d'administration catalogue :

1054 - Champ 'p.products_price1' inconnu dans field list

select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_price1, p.products_price2, p.products_price3, p.products_price4, p.products_price5, p.products_price6, p.products_price7, p.products_price8, p.products_price1_qty, p.products_price2_qty, p.products_price3_qty, p.products_price4_qty, p.products_price5_qty, p.products_price6_qty, p.products_price7_qty, p.products_price8_qty, p.products_qty_blocks, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_status = '1' and p.products_id = '52' and pd.products_id = p.products_id and pd.language_id = '1'

[TEP STOP]

Quelqu'un saurai-t-il d'où cela peut venir?
J'ai installer le "support forum" de "demonangel" dispo ici : http://www.oscommerce.com/community/contri...,quantity+price

Ce message a été modifié par milerwan - 18 Oct 2006, 05:33.


--------------------
osCommerce MS2.2 fr / MAJ sécurité 08.06

Contributions installées (47) :
Add weight to attributes v0.2 - Also purchased products - Atos - Autologon 108a - Best sellers scroll - Big images v1.25 - Cart with weight - Category box enhancement - Clear stats v1.4 - Colissimo/Distingo/recommandé (France, DOM-TOM, international) "perso" - Control new products - Customers stats orders - Disable Add to cart button - Disable "Add to cart" button if stock 0 or price 0 - E-mail address confirmation field - European Bank Transfer 1.9.1 - FCKeditor oscommerce v2 - Featured products v1.5.9 - Flash banners v2.0 - Graphical boxes v2 - Header Tags Controller v2.6.2 - Liaison SSL - Links manager v1.15 - LoginBox Best - Low stock 2 - Multiple products manager 2.15 - Must agree with terms - Newsdesk v1.48.3 updated - Newletter products v1.2 - Order Editor v5.0.6 - Order IP Recorder v1.5 - OSC Expeditor v2.2 - Payment fee - Paypal wpp v0.8.2 - Price in shopping card box - Price break v1.11.2 - Price Break with Special Price bug fixed - Print order Receipt 1.4 - Products on order v1.2 - Professional Invoice and Packing Slip - QT Pro 4.3 - Quick stock update v2.5 - Sub-total in basket - TVA intracom v5 - Ultimate SEO URL v2.x - Visitor web stats v3.1.2... ouf ! ^^
Go to the top of the page
 
fissiaux
posté 18 Oct 2006, 18:57
Message #3


5eme dan OSC
Icône de groupe

Groupe : Membres
Messages : 17048
Inscrit : 26-November 03
Lieu : Chez moi
Membre no 1669



C'était bien la contribution Price_Break qu'il fallait installer.

Dans le readme.ttx, il est indiqué de passer des ordres SQL genre :

CITATION
alter table products add column products_price1 decimal(15,4) not null default 0.0;


Les as tu passé avec phpmyadmin ?
Go to the top of the page
 
milerwan
posté 19 Oct 2006, 01:00
Message #4


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 173
Inscrit : 18-October 06
Membre no 12709




Oui, merci j'ai réalisé la chose aujourd'hui.

Par contre j'aurai été intéressé de pouvoir dédoubler le tableau des prix en partie basse de la description du produit.
Saurais-tu ce que je dois modifier/ajouter en terme de ligne de commande?


--------------------
osCommerce MS2.2 fr / MAJ sécurité 08.06

Contributions installées (47) :
Add weight to attributes v0.2 - Also purchased products - Atos - Autologon 108a - Best sellers scroll - Big images v1.25 - Cart with weight - Category box enhancement - Clear stats v1.4 - Colissimo/Distingo/recommandé (France, DOM-TOM, international) "perso" - Control new products - Customers stats orders - Disable Add to cart button - Disable "Add to cart" button if stock 0 or price 0 - E-mail address confirmation field - European Bank Transfer 1.9.1 - FCKeditor oscommerce v2 - Featured products v1.5.9 - Flash banners v2.0 - Graphical boxes v2 - Header Tags Controller v2.6.2 - Liaison SSL - Links manager v1.15 - LoginBox Best - Low stock 2 - Multiple products manager 2.15 - Must agree with terms - Newsdesk v1.48.3 updated - Newletter products v1.2 - Order Editor v5.0.6 - Order IP Recorder v1.5 - OSC Expeditor v2.2 - Payment fee - Paypal wpp v0.8.2 - Price in shopping card box - Price break v1.11.2 - Price Break with Special Price bug fixed - Print order Receipt 1.4 - Products on order v1.2 - Professional Invoice and Packing Slip - QT Pro 4.3 - Quick stock update v2.5 - Sub-total in basket - TVA intracom v5 - Ultimate SEO URL v2.x - Visitor web stats v3.1.2... ouf ! ^^
Go to the top of the page
 
fissiaux
posté 19 Oct 2006, 20:32
Message #5


5eme dan OSC
Icône de groupe

Groupe : Membres
Messages : 17048
Inscrit : 26-November 03
Lieu : Chez moi
Membre no 1669





Si j'ai bien compris la question :

CODE
<?php echo $products_price; ?>
Go to the top of the page
 
milerwan
posté 2 Dec 2006, 15:41
Message #6


Ceinture orange OSC
Icône de groupe

Groupe : Membres
Messages : 173
Inscrit : 18-October 06
Membre no 12709



Oui plus comme ça j'ai l'impression :
CODE
      <?php // Dupplication prix produit ?>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <?php // End Dupplication prix produit ?>


Le problème c'est que ça reprend aussi les prix "normaux" et "spéciaux" (barrés) or j'aurai aimé que cette dupplication ne s'applique qu'au tableau des prix... confused.gif

Ce message a été modifié par milerwan - 2 Dec 2006, 15:43.


--------------------
osCommerce MS2.2 fr / MAJ sécurité 08.06

Contributions installées (47) :
Add weight to attributes v0.2 - Also purchased products - Atos - Autologon 108a - Best sellers scroll - Big images v1.25 - Cart with weight - Category box enhancement - Clear stats v1.4 - Colissimo/Distingo/recommandé (France, DOM-TOM, international) "perso" - Control new products - Customers stats orders - Disable Add to cart button - Disable "Add to cart" button if stock 0 or price 0 - E-mail address confirmation field - European Bank Transfer 1.9.1 - FCKeditor oscommerce v2 - Featured products v1.5.9 - Flash banners v2.0 - Graphical boxes v2 - Header Tags Controller v2.6.2 - Liaison SSL - Links manager v1.15 - LoginBox Best - Low stock 2 - Multiple products manager 2.15 - Must agree with terms - Newsdesk v1.48.3 updated - Newletter products v1.2 - Order Editor v5.0.6 - Order IP Recorder v1.5 - OSC Expeditor v2.2 - Payment fee - Paypal wpp v0.8.2 - Price in shopping card box - Price break v1.11.2 - Price Break with Special Price bug fixed - Print order Receipt 1.4 - Products on order v1.2 - Professional Invoice and Packing Slip - QT Pro 4.3 - Quick stock update v2.5 - Sub-total in basket - TVA intracom v5 - Ultimate SEO URL v2.x - Visitor web stats v3.1.2... ouf ! ^^
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 : 22nd May 2013 - 11:39
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)