Bienvenue invité ( Connexion | Inscription )
![]() ![]() |
30 Dec 2007, 17:07
Message
#1
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Bonjour,
J'ai installé SEO URL pour optimiser mon référencement... Cependant j'ai remarqué ceci : Sur la page descriptive d'un produit : Je vais sur une page article "maboutique.com/bugs-life-p-8.html" : il y a des articles suggérés avec l'article que je consulte (recommandés, ventes croisées), j'e met un de ceux proposés directement dans le panier en cliquant sur le bouton "acheter", sans cliquer sur la vignette pour voir le descriptif : vous suivez ? Jusque là tout va bien, il est bien dans le panier : mais lorsque je clique sur "continuer achat", j'ai l'ancien lien soit " ... index.php?products_id=8" et évidemment introuvable .. Quelqu'un aurait-il corrigé ce problème ? Merci et bonne fin d'année Ce message a été modifié par pass32 - 30 Dec 2007, 17:20. -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
30 Dec 2007, 17:26
Message
#2
|
|
|
Ceinture blanche+ OSC Groupe : Membres Messages : 32 Inscrit : 10-December 06 Membre no 13919 |
bonjour , j'ai eu le cas quelques fois, il faut reinitialiser Seo (dernière ligne) et bien verifier que l'on mis tous les caractères accentués dans ce module, sinon si un de ce type de caractères se pointe, SEO zappe la modif de l'url.
Seo fonctionne mieux avec le cache, mais à chaque modif , test etc. il vider le cache, reinitialiser SEO et si ce n'est pas suffiant , relancer Easy php en local. Pour un meilleur référencement sur le net , il faut ajouter le module Header Tag. Sinon SEO tout seul ne sert pas à grand chose. Bon courages et bonnes fêtes. -------------------- Pour les migraines je propose:
SEO Url2.2, Fckeditor 2.1, STS 4.5.8 ( un jour je m'y mettrai, promis), QtPro 4.25, Ventes croisées Xsell1.21, More Pics6.1.3b, Flash discount, Header Tag1.07, Extrac Video, Colissimo, featured Product, CCGV 5.19, Paypal ipn v2.1 qui met le souk dans le stock, et quelques autres à venir |
|
|
30 Dec 2007, 17:37
Message
#3
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Bonjour,
Merci, je vais regarder .. Header Tag, je l'ai mis @+ -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
30 Dec 2007, 18:23
Message
#4
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Selon moi, c'est le fichier xsell_products.php dans "includes\boxes" qu'il faut modifier ...
Sinon les liens des produits suggérés ne seront pas modifiés ... ?! Ce message a été modifié par pass32 - 30 Dec 2007, 18:25. -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
11 Jan 2008, 12:34
Message
#5
|
|
|
Ceinture jaune+ OSC Groupe : Membres Messages : 92 Inscrit : 29-January 06 Membre no 8798 |
replacer
<a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_template_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'); par <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '?action=buy_now'. '">' . tep_template_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'); -------------------- MS2.2
|
|
|
11 Jan 2008, 15:55
Message
#6
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Merci de me proposer une solution
Bien que j'ai effectué la modif, toujours le même pb... Pour résumer : 1) Je suis sur une page produit (n°28 codée en html). 2) je consulte ce produit et je clique sur le lien "Acheter maintenant" d'un produit recommandé .. dans le id, j'ai toujours la même valeur, soit celui du produit affiché et non pas le produit suggéré.. ? 3) Quand je clique donc sur le bouton, c'est le produit 28 qui s'ajoute dans le panier, et en cliquant sur "retour/continuer "achats"", je tombe sur une url inconnue .. ou plus exactement sur la catégorie en ?cat=..., alors qu'elle se nomme plus explicitement "/nom_categorie.html" alors, personne n'utilise Xsell ET Seo ?! Ce message a été modifié par pass32 - 11 Jan 2008, 15:58. -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
11 Jan 2008, 18:12
Message
#7
|
|
|
Ceinture jaune+ OSC Groupe : Membres Messages : 92 Inscrit : 29-January 06 Membre no 8798 |
peux tu me donner le contenu de ton fichier xsell_products_buynow.php
-------------------- MS2.2
|
|
|
11 Jan 2008, 18:36
Message
#8
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Voici, sans la modif :
includes/modules/xsell_products.php CITATION <?php
/* $Id: xsell_products.php, v1 2002/09/11 // adapted for Separate Pricing Per Customer v4 2005/02/24 osCommerce, Open Source E-Commerce Solutions <http://www.oscommerce.com> Copyright © 2002 osCommerce Released under the GNU General Public License */ require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_XSELL_PRODUCTS); // BOF Separate Pricing Per Customer if(!tep_session_is_registered('sppc_customer_group_id')) { $customer_group_id = '0'; } else { $customer_group_id = $sppc_customer_group_id; } if ($HTTP_GET_VARS['products_id']) { //Cache $dircache = DIR_FS_CACHE_XSELL . $HTTP_GET_VARS['products_id'] . '/'; $filename = $dircache . $languages_id . '-' . $customer_group_id . '.php'; $cache = '<?php $info_box_contents = array(); $info_box_contents[] = array(\'align\' => \'left\', \'text\' => TEXT_XSELL_PRODUCTS); new contentBoxHeading($info_box_contents); $info_box_contents = array();'; if (file_exists($filename)) {require $filename;} else { //Fin cache if ($customer_group_id != '0') { $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, IF(pg.customers_group_price IS NOT NULL, pg.customers_group_price, p.products_price) as products_price from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_GROUPS . " pg using(products_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd where xp.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_status = '1' and pg.customers_group_id = '".$customer_group_id."' order by sort_order asc limit " . MAX_DISPLAY_ALSO_PURCHASED); } else { $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, products_price from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where xp.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_status = '1' order by sort_order asc limit " . MAX_DISPLAY_ALSO_PURCHASED); } // EOF Separate Pricing Per Customer $num_products_xsell = tep_db_num_rows($xsell_query); if ($num_products_xsell > 0) { ?> <!-- xsell_products //--> <br><br> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => TEXT_XSELL_PRODUCTS); new contentBoxHeading($info_box_contents); $row = 0; $col = 0; $info_box_contents = array(); while ($xsell = tep_db_fetch_array($xsell_query)) { $xsell['specials_new_products_price'] = tep_get_products_special_price($xsell['products_id']); if ($xsell['specials_new_products_price']) { $xsell_price = '<s>' . $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</s><br>'; $xsell_price .= '<span class="productSpecialPrice">' . $currencies->display_price($xsell['specials_new_products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</span>'; } else { $xsell_price = $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])); } //Cache $text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'; //Fin cache $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => $text) ; //Modifié Cache //Cache $cache .= '$info_box_contents[' .$row . '][' . $col . '] = array(\'align\' => \'center\', \'params\' => \'class="smallText" width="33%" valign="top"\', \'text\' => \'' . str_replace("'", "\'", $text) .'\');'; //Fin cache $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); //Cache $cache .= 'new contentBox($info_box_contents); ?>'; if(!is_dir($dircache)) { mkdir($dircache,0777); } $fp = fopen($filename , 'w'); $fout = fwrite($fp , $cache); fclose($fp); } //Fin Cache ?> <!-- xsell_products_eof //--> <?php } } ?> -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
11 Jan 2008, 18:39
Message
#9
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
Je précis que pour les vignettes + titres des produits suggérés, les liens sont bons et en html, ils dirigent vers leurs fiches descriptives..
Il n'y a que les liens "acheter maintenant" qui fonctionnent mals (des produits recommandés) Ce message a été modifié par pass32 - 11 Jan 2008, 18:40. -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
11 Jan 2008, 18:52
Message
#10
|
|
|
Ceinture jaune+ OSC Groupe : Membres Messages : 92 Inscrit : 29-January 06 Membre no 8798 |
curieux, bon, je n'ai pas tout a fait le même contenu
pour être sur quand même de la modif que je t ai fiate remplace CODE //Cache $text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br><a href="' . tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'; //Fin cache CODE //Cache
$text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br> <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a><br>' . $xsell_price. '<br> <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '?action=buy_now'. '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a>'); //Fin cache Ce message a été modifié par operceval - 11 Jan 2008, 19:12. -------------------- MS2.2
|
|
|
11 Jan 2008, 19:13
Message
#11
|
|
|
Ceinture jaune+ OSC Groupe : Membres Messages : 92 Inscrit : 29-January 06 Membre no 8798 |
j'ai corrigé un petit truc l image devait pas apparaitre. refais un essai
Ce message a été modifié par operceval - 11 Jan 2008, 19:27. -------------------- MS2.2
|
|
|
11 Jan 2008, 19:53
Message
#12
|
|
|
Ceinture orange OSC Groupe : Membres Messages : 185 Inscrit : 9-December 07 Lieu : Auch Membre no 20044 |
re,
Alors avec SEO inactif, j'obtiens le lien suivant sur le produit recommandé : http://www.xxxx.com/index.php?cPath=3_10&a...p;products_id=1 .. qui me dirige vers sa fiche descriptive.. Avec Seo actif, idem : c'est quand même mieux qu'auparavant (panier et pas bon article mis) A noter que j'ai créé des ventes croisées, puis activer SEO url après avoir au préalable vider son cache.. Est-ce la bonne procédure ? @+ Ce message a été modifié par pass32 - 11 Jan 2008, 19:54. -------------------- osCommerce RC2.2 FR + contrib. : Ultimate SEO URLs / Header Tags Controller / FCK Editor / Xsell / More Pics / Indicateurs stock (code Leirisset) / Anti Robot Registration / Ventes croisées par Decad7 / PayPal IPN v2.3.3 / FAQ Assistant / Customer_testimonials_3.2 / Discount Coupon Codes 3.31 modifié / French Colissimo Shipping / Automatic Customer Stock Update Notification / Stats Products Notifications / OSC_support_tickets / Dynamic Site Map V4 / InvoicePDF1.5 / Osc guidecsv fr / export osc 2xmoincher /
|
|
|
![]() ![]() |
|
Version bas débit | Nous sommes le : 26th May 2013 - 05:51 |
| Ce site est déclaré auprès de la commision Nationale de l'Informatique et des Libertés (déclaration n°: 1043896) |