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

#   sortir avant la facture

##

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

Less More

- Posts: 55
- Thank you received: 1
-
-

8 years 8 months ago -  8 years 8 months ago [\#288596](#288596) by [jmp](/forum/user/54282-jmp "View jmp's Profile")  *[sortir avant la facture](/forum/5-support-en-francais-french-support-/893916-sortir-avant-la-facture#288596 "-- url of the page with the problem -- :   tfe.clic-nature.com/  -- HikaShop version -- : 3..3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.1.12 -- Browser(s) name and version -- : Chrome 62.0.3202.94  bonjour, tjs dans mon souhait de simplifier l'utilisation de mon site pour des enfants handicapés, j'essaye toujours de revenir à l'écran d'accueil avant de la facture et la visualisation des commandes.  Nous avons modifié dans le fichier du Template: affichage &gt; vues &gt; show&#95;block&#95;buttons   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); this.disabled=true; window.Oby.addClass(this, 'next&#95;button&#95;disabled'); return false;&quot;&gt;  par   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); window.location.href='/'; return false;&quot;&gt;  Cela permet de revenir à la page d'accueil, malheureusement le panier n'est plus remis à zéro (le panier n'est pas vidé) Y-a-t-il une solution?  merci jmp")* was created by *[jmp](/forum/user/54282-jmp "View jmp's Profile")*

-- url of the page with the problem -- : [ tfe.clic-nature.com/](http://tfe.clic-nature.com/)
-- HikaShop version -- : 3..3.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.1.12
-- Browser(s) name and version -- : Chrome 62.0.3202.94

bonjour,
tjs dans mon souhait de simplifier l'utilisation de mon site pour des enfants handicapés, j'essaye toujours de revenir à l'écran d'accueil avant de la facture et la visualisation des commandes.

Nous avons modifié dans le fichier du Template: affichage &gt; vues &gt; show_block_buttons

&lt;div class="buttons_right"&gt;
&lt;button type="submit" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikabtn_checkout_next" onclick="this.form.submit(); this.disabled=true; window.Oby.addClass(this, 'next_button_disabled'); return false;"&gt;

par

&lt;div class="buttons_right"&gt;
&lt;button type="submit" class="&lt;?php echo $this-&gt;config-&gt;get('css_button','hikabtn'); ?&gt; hikabtn_checkout_next" onclick="this.form.submit(); window.location.href='/'; return false;"&gt;

Cela permet de revenir à la page d'accueil, malheureusement le panier n'est plus remis à zéro (le panier n'est pas vidé)
Y-a-t-il une solution?

merci
jmp

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzOTE2LXNvcnRpci1hdmFudC1sYS1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14289
-
-

8 years 8 months ago [\#288610](#288610) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[sortir avant la facture](/forum/5-support-en-francais-french-support-/893916-sortir-avant-la-facture#288610 "-- url of the page with the problem -- :   tfe.clic-nature.com/  -- HikaShop version -- : 3..3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.1.12 -- Browser(s) name and version -- : Chrome 62.0.3202.94  bonjour, tjs dans mon souhait de simplifier l'utilisation de mon site pour des enfants handicapés, j'essaye toujours de revenir à l'écran d'accueil avant de la facture et la visualisation des commandes.  Nous avons modifié dans le fichier du Template: affichage &gt; vues &gt; show&#95;block&#95;buttons   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); this.disabled=true; window.Oby.addClass(this, 'next&#95;button&#95;disabled'); return false;&quot;&gt;  par   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); window.location.href='/'; return false;&quot;&gt;  Cela permet de revenir à la page d'accueil, malheureusement le panier n'est plus remis à zéro (le panier n'est pas vidé) Y-a-t-il une solution?  merci jmp")*

Bonjour,

Pour supprimer le panier courant, vous pouvez faire cela: Code:

$cartClass = hikashop_get('class.cart'); $cartClass-&gt;delete($cartClass-&gt;getCurrentCartId());

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

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

Less More

- Posts: 55
- Thank you received: 1
-
-

8 years 8 months ago [\#288640](#288640) by [jmp](/forum/user/54282-jmp "View jmp's Profile")  Replied by *[jmp](/forum/user/54282-jmp "View jmp's Profile")* on topic *[sortir avant la facture](/forum/5-support-en-francais-french-support-/893916-sortir-avant-la-facture#288640 "-- url of the page with the problem -- :   tfe.clic-nature.com/  -- HikaShop version -- : 3..3.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.1.12 -- Browser(s) name and version -- : Chrome 62.0.3202.94  bonjour, tjs dans mon souhait de simplifier l'utilisation de mon site pour des enfants handicapés, j'essaye toujours de revenir à l'écran d'accueil avant de la facture et la visualisation des commandes.  Nous avons modifié dans le fichier du Template: affichage &gt; vues &gt; show&#95;block&#95;buttons   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); this.disabled=true; window.Oby.addClass(this, 'next&#95;button&#95;disabled'); return false;&quot;&gt;  par   utton type=&quot;submit&quot; class=&quot;config-&gt;get('css&#95;button','hikabtn'); ?&gt; hikabtn&#95;checkout&#95;next&quot; onclick=&quot;this.form.submit(); window.location.href='/'; return false;&quot;&gt;  Cela permet de revenir à la page d'accueil, malheureusement le panier n'est plus remis à zéro (le panier n'est pas vidé) Y-a-t-il une solution?  merci jmp")*

merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzOTE2LXNvcnRpci1hdmFudC1sYS1mYWN0dXJlP3RtcGw9bWFya2Rvd24=) 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.087 seconds

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