[Skip to main content](#vessel-content)

#   Modifier pop-up de notification d'ajout au panier

##

- **[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")**
- [![lesyeux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1216-lesyeux "View lesyeux's Profile") Topic Author
- [ Offline](/forum/user/1216-lesyeux)

Less More

- Posts: 500
- Thank you received: 33
-
-

14 years 11 months ago -  14 years 8 months ago [\#30802](#30802) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  *[Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#30802 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")* was created by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")*

Bonjour,

Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.

Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.

Mais pour augmenter un peu les dimensions de cette fenêtre ?

Merci d'avance

Last edit: 14 years 8 months ago by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 11 months ago [\#30829](#30829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#30829 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")*

Pour les dimensions de la popup, il faut créer un fichier templates/YOUR_TEMPLATE/html/hikashop_button.php
et mettre dedans:
&lt;?php
function hikashop_popup_render(){
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&amp;Itemid='.$Itemid;
}
return '&lt;div style="display:none;"&gt;&lt;a rel="{handler: \'iframe\',size: {x: 480, y: 140}}" id="hikashop_notice_box_trigger_link" href="'.hikashop_completeLink('checkout&amp;task=notice'.$url_itemid,true).'"&gt;&lt;/a&gt;&lt;/div&gt;';
}

Il suffit ensuite de mettre la taille que vous souhaitez dans {x: 480, y: 140}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")**
- [![lesyeux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1216-lesyeux "View lesyeux's Profile") Topic Author
- [ Offline](/forum/user/1216-lesyeux)

Less More

- Posts: 500
- Thank you received: 33
-
-

14 years 11 months ago [\#30848](#30848) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  Replied by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")* on topic *[Re: Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#30848 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")*

Merci !

J'allais poser une question subsidiaire, mais je crois que je vais trouver la réponse ici : [ www.hikashop.com/fr/support/documentatio...tation.html#override](http://www.hikashop.com/fr/support/documentation/62-hikashop-developer-documentation.html#override)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")**
- [![lesyeux's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1216-lesyeux "View lesyeux's Profile") Topic Author
- [ Offline](/forum/user/1216-lesyeux)

Less More

- Posts: 500
- Thank you received: 33
-
-

14 years 11 months ago [\#30852](#30852) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  Replied by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")* on topic *[Re: Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#30852 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")*

Bon, pas si simple.

Avec cet override, j'ai le contrôle de la fenêtre popup, parfait. Mais pas de son contenu. Les dimensions et la mise en forme du contenu sont un mélange de css d'abord du template, ensuite de Hikashop.

J'ai dû ajouter une class css liée au template dans /templates/mon_template/html/com_hikashop/checkout/notice.php et une autre concernant hikashop dans /templates/mon_template/component.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[thiceli](/forum/user/48785-thiceli "View thiceli's Profile")**
- [![thiceli's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48785-thiceli "View thiceli's Profile")
- [ Offline](/forum/user/48785-thiceli)

Less More

- Posts: 3
- Thank you received: 0
-
-

9 years 6 months ago [\#267617](#267617) by [thiceli](/forum/user/48785-thiceli "View thiceli's Profile")  Replied by *[thiceli](/forum/user/48785-thiceli "View thiceli's Profile")* on topic *[Re: Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#267617 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")*

Bonjour

Et merci pour l'info s'agissant de la taille de la popup.
Y as-t-il le même type de manip concernant le background de cette popup ?
Je voudrais lui mettre une belle image !!! ![;)](/media/kunena/emoticons/11.png ";)")

comment peut-on enlever le message en vert HORRIBLE "produit ajouté avec succès" ?

MERCI
a Bientôt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

9 years 6 months ago [\#267623](#267623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Modifier pop-up de notification d'ajout au panier](/forum/5-support-en-francais-french-support-/30802-modifier-pop-up-de-notification-dajout-au-panier#267623 "Bonjour,  Comment puis-je modifier la fenêtre pop-up de notification d'ajout au panier, en particulier ses dimensions.  Pour l'affichage et la durée d'affichage, j'ai trouvé dans la config.  Mais pour augmenter un peu les dimensions de cette fenêtre ?  Merci d'avance")*

Bonjour,

Pour la taille de la popup, il y a des options dans la configuration pour changer cela, pas de code nécessaire.
Pour le background, cela vient de votre template joomla et son fichier component.php
Pour le message et le contenu de la popup, vous pouvez changer tout cela en éditant le fichier "notice" de la vue "checkout" via le menu Affichage&gt;Vues.

PS: notez que nous parlons ici de la popup d'ajout au panier pour l'ancienne version du système de panier (add to cart legacy activée avec HikaShop 3.x). Avec le nouveau système, c'est complètement différent.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzA4MDItbW9kaWZpZXItcG9wLXVwLWRlLW5vdGlmaWNhdGlvbi1kYWpvdXQtYXUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.880 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
