WooFrance Dépannage et support WordPress WooCommerce › Forums › Forum de Support WooCommerce › "Ajouter au panier" disparu
- Ce sujet contient 8 réponses, 3 participants et a été mis à jour pour la dernière fois par sikabijoux, le il y a 4 années et 9 mois.
-
AuteurMessages
-
13 avril 2017 à 9 h 07 min #3196
Bonjour la Communauté,
Je suis nouveau ici, je me suis inscrit après de maintes recherches qui ne m’ont pas permis de trouver LE sujet qui répondrait à mon problème.
Je possède un WooCommerce pour commercialiser mes produits mais depuis 1 semaine, le bouton « Ajouter au panier » a disparu, tout simplement !
Si j’accède à la boutique et choisis un produit, je peux appuyer sur la touche du clavier ENTRÉE et là, le produit s’ajoute au panier mais le bouton est inexistant.
Je précise que je n’ai rien touché (mise à jour, codage, CSS, …) donc je ne comprends pas cette disparition.
N’hésitez pas à me demander des informations complémentaires.Merci beaucoup,
Ludovic
====================
13 avril 2017 à 13 h 20 min #3198Bonjour Ludovic,
Une semaine ça correspond plus ou moins à la mise à jour vers la version 3. Tu as fait cette mise à jour ?
Avec l’adresse du site, la version de WordPress, de Woocommerce et de PHP peuvent être utiles.
====================Content(e) de mon aide ? Vous pouvez m'offrir un café ! 🙂
Avant d'appeler à l'aide: Dépannage Woocommerce
13 avril 2017 à 13 h 29 min #3201Bonjour Guy,
Effectivement, ça peut correspondre à la mise à jour de WordPress…
L’adresse du site est http://www.inclood.frLa boutique est sur http://inclood.fr/boutique
La version de WP est 4.7.3 et WooCommerce est en 3.0.2
====================
Concernant le PHP, je ne trouve pas la version, excusez-moi.
13 avril 2017 à 16 h 33 min #3202Ca semble être un problème dans le css.
Commence par vérifier que ton thème est bien à jour, et que la dernière version est compatible avec la version 3 de Woocommerce.
====================Content(e) de mon aide ? Vous pouvez m'offrir un café ! 🙂
Avant d'appeler à l'aide: Dépannage Woocommerce
13 avril 2017 à 17 h 03 min #3203Oui, j’avais vérifié avant de lancer la grosse mise à jour.
Je vous copie et colle le CSS si jamais on peut y détecter un souci :
====================body { direction: rtl; unicode-bidi: embed; }
.container { text-align: right; }
ul.et_pb_side_nav li.side_nav_item, .et-social-icons { float: left; }
#top-menu > li:last-child { padding-right: 22px; }
#et-secondary-nav li:first-child { margin-right: 0; }
#et-secondary-nav > li:last-child { margin-right: 15px; }
#top-menu li { text-align: right; }
.rtl #top-menu .menu-item-has-children > a:first-child { padding-left: 40px; padding-right: 20px; }
#top-menu li.mega-menu ul li { float: right !important; }
#top-menu li.mega-menu > ul > li:nth-of-type(4n) { clear: left; }
#top-menu li.mega-menu > ul > li:nth-of-type(4n+1) { clear: right; }
#sidebar .et_pb_widget, .bottom-nav, .et_pb_post, #left-area { text-align: right; }
#footer-info { float: right; }
.et-social-icons li:last-child { margin-left: 0; }
#top-menu > li:first-child, .bottom-nav li:first-child { padding-right: 0; }
.widget_search #searchsubmit { right: auto; left: 0; }
.et_pb_counter_amount { float: right; text-align: left; padding: 1px 1px 1px 3%; }
blockquote { border-right: 5px solid; padding-right: 20px; padding-left: 0; border-left: 0; }
.et_pb_text_align_right { text-align: right !important; }
.et-pb-controllers a { margin-right: 0; margin-left: 10px; }
.et_pb_slide_with_image .et_pb_slide_description { text-align: right; }
.et_pb_slide_with_image .et_pb_slide_image { left: 0; }
.et_pb_tabs_controls li { float: right; border-left: 1px solid #d9d9d9; border-right: none; }
.et_pb_toggle_title:before { right: inherit; left: 0; }
.et_pb_toggle h5.et_pb_toggle_title { padding: 0 0 0 30px; }
#footer-widgets .footer-widget li { text-align: right; padding: 0 14px 10px 0; }
#footer-widgets .footer-widget li:before { left: inherit; right: 0; }
.et_pb_filterable_portfolio .et_pb_portfolio_filters ul { float: right; }
.comment_avatar { left: auto; right: 0; }
.comment-reply-link { right: auto; left: 0; }
.et_pb_pricing li { padding: 0 14px 28px 0 !important; text-align: right; }
.et_pb_pricing li:before { left: auto; right: 0; }
.et_pb_testimonial_no_image .et_pb_testimonial_description, .et_pb_column_1_3 .et_pb_testimonial_description, .et_pb_column_1_4 .et_pb_testimonial_description, .et_pb_column_3_8 .et_pb_testimonial_description { padding-right: 0; }
.et_pb_testimonial_portrait { float: right; }
.et_pb_testimonial_description { padding-left: 0; padding-right: 120px; }
.et_pb_forgot_password { text-align: right; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: right; }
li.product.last { clear: left; }
.storefront sorting select {display: none;}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { margin: 0 0 53px 60px !important; }
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last { margin-left: 0 !important; }
.archive.et_left_sidebar.woocommerce ul.products li.product:nth-child(3n), .archive.et_right_sidebar.woocommerce ul.products li.product:nth-child(3n) { margin-left: 0 !important; clear: left !important; }
.archive.et_left_sidebar.woocommerce ul.products li.product:nth-child(3n+1), .archive.et_right_sidebar.woocommerce ul.products li.product:nth-child(3n+1) { margin-right: 0 !important; margin-left: 60px !important; }
.archive.et_left_sidebar.woocommerce ul.products li.product.last, .archive.et_right_sidebar.woocommerce ul.products li.product.last { margin-right: 0 !important; margin-left: 60px !important; }
.et_header_style_split #et_top_search,
.et_header_style_centered #et_top_search { margin-left: 0; margin-right: 22px; }
span.et_close_search_field,
.et-search-form { right: auto; left: 0; }
.et_mobile_menu li li { padding-right: 5%; padding-left: 0; }
#main-header #mobile_menu { text-align: right; }
#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul { padding-left: 0; padding-right: 10px; }
@media all and (min-width: 981px) {
.et_vertical_nav #et_search_icon:before { right: 0; }
.et_vertical_nav.et_header_style_centered #et_search_icon:before { left: auto; }
.et_vertical_nav.et_header_style_split #et_top_search { margin-right: 0; }
.et_vertical_nav.et_header_style_split #et_search_icon:before { left: auto; }
}
@media all and (max-width: 980px) {
.et_full_width_page.woocommerce ul.products li.product.last, .et_full_width_page.woocommerce-page ul.products li.product.last, .et_pb_pagebuilder_layout ul.products li.product.last, .et_pb_pagebuilder_layout ul.products li.product.last { margin-right: 0 !important; }
.et_header_style_centered .mobile_menu_bar, .et_header_style_split .mobile_menu_bar { left: 5px; right: auto; }
.et_header_style_centered #main-header .mobile_nav, .et_header_style_split #main-header .mobile_nav { text-align: right; }
}
@media all and (max-width: 980px) and (min-width: 768px) {
.woocommerce ul.products li.product:nth-child(2n) { float: right; }
.woocommerce ul.products li.product:nth-child(3n) { margin-left: 0 !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { margin: 0 0 53px 32px !important; }
.woocommerce ul.products li.product:nth-child(3n+1) { margin-right: 0 !important; }
.archive.et_left_sidebar.woocommerce ul.products li.product.last, .archive.et_right_sidebar.woocommerce ul.products li.product.last { margin-left: 32px !important; }
}
@media all and (max-width: 767px) {
.et_pb_slide_with_image .et_pb_slide_description { text-align: center; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { margin-left: 0 !important; }
}
#et_top_search { float: left; }
#et-secondary-menu .et-cart-info { margin-left: 0; margin-right: 15px; }
#et-top-navigation { float: left; }
#et-secondary-menu { float: left; }
#et-info { float: right; }
13 avril 2017 à 21 h 31 min #3206Non ce n’est pas dans ce css là 🙂
Dans /wp-content/themes/Divi/style.css vers la ligne 436 il y a ceci:
.woocommerce-result-count {display: none;}
essaie de remplacer {display: none;} par {display: block;}
====================Content(e) de mon aide ? Vous pouvez m'offrir un café ! 🙂
Avant d'appeler à l'aide: Dépannage Woocommerce
14 avril 2017 à 9 h 27 min #320814 avril 2017 à 13 h 34 min #3209Bonjour,
Oui le display concerne tout le bloc de classe juste au-dessus de la ligne indiquée. Il faudrait scinder ce bloc pour isoler ce qu’il faut ou pas afficher.
Mais je rappelle qu’il est recommandé de faire un thème enfant pour les modifications. Sinon à la prochaine mise à jour du thème tout est perdu.
====================Content(e) de mon aide ? Vous pouvez m'offrir un café ! 🙂
Avant d'appeler à l'aide: Dépannage Woocommerce
14 avril 2020 à 18 h 29 min #182537 -
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.