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

#   Disable cart or cart memory

##

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192653](#192653) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192653 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

The login/logout is related to Joomla itself.
For this kind of question, I am recommending your the Joomla documentation and the Joomla forum.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago [\#192729](#192729) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192729 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

thank you.

I have checkout just for guests and when user complete his adress and email he is "logged in" and when he left the order without completing he is still logged.

I need to logg him out

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg3NTEzMy1kaXNhYmxlLWNhcnQtb3ItY2FydC1tZW1vcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#192750](#192750) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192750 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

He will be logged out automatically when his user session expire. It depends what you configured in the "session lifetime" option of the joomla configuration.

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago [\#192837](#192837) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192837 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

thank you, but I need to loggout user immediately when updating cart, becasue when he left order and order something again he can't change his adress fields.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg3NTEzMy1kaXNhYmxlLWNhcnQtb3ItY2FydC1tZW1vcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#192862](#192862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192862 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

So why not let them handle their login/logout themselves with the joomla login module ?

Logout can be done like that with Joomla:
$app = JFactory::getApplication();
$app-&gt;logout();

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago -  11 years 8 months ago [\#192993](#192993) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#192993 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

i tried it but it doesnt working.
See screens below.

Checkout -&gt; adress NORMALLY

[ ![checkout&#95;issue1.jpg](/forum/attachment/22789) ](/forum/attachment/22789 "...out&#95;issue1.jpg")

but when user complete his adress and click next and then he leave checkout without finishing order
there is this problem on steps with adress fields

[ ![checkout&#95;issue.jpg](/forum/attachment/22787) ](/forum/attachment/22787 "...kout&#95;issue.jpg")

Many thanks for help

- [ ![checkout&#95;issue.jpg](/forum/attachment/22787) ](/forum/attachment/22787 "...kout&#95;issue.jpg") [ ](/forum/attachment/22787?download=1 "...kout&#95;issue.jpg")
- [ ![checkout&#95;issue1.jpg](/forum/attachment/22789) ](/forum/attachment/22789 "...out&#95;issue1.jpg") [ ](/forum/attachment/22789?download=1 "...out&#95;issue1.jpg")

Last edit: 11 years 8 months ago by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg3NTEzMy1kaXNhYmxlLWNhcnQtb3ItY2FydC1tZW1vcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193091](#193091) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193091 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Are you sure that your users are logged in ?
It looks like you're using the guest mode and in that case, there is no loging and thus no logout.
What to want to do in that case is just reset the user session with such code:
$app = JFactory::getApplication();
$app-&gt;setUserSate('com_hikashop.user_id', null);

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago [\#193168](#193168) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193168 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

thank you for your willingness ![:)](/media/kunena/emoticons/3.png ":)")

Despite it looks it should work it doesn't. When I putted your code to my plugin's function it redirected me to blank page with link: Code:

..../checkout/updatecart

I have just another question to this topic.
My plugin, which reset car onBeforeCartUpdate
Code:

$cartClass-&gt;resetCart(); $cartClass = hikashop_get('class.cart'); $cartClass-&gt;resetCart(); $cartContent = $cartClass-&gt;get(); $cartClass-&gt;updateEntry($quantity,$cartContent,(int)$product_id,1,false,$type,$force);

If I have expired cookies and I would add product it prints error message: The cart is empty.
In second try it works but just until cookies expired.

**Is there any condition which check if is cookies for cart exists?**

Good bless you
Filip

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg3NTEzMy1kaXNhYmxlLWNhcnQtb3ItY2FydC1tZW1vcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193190](#193190) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193190 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

1. I don't see why that code would generate a blank page.

2. Sure. You can add such check:
if(!is_array($cartContent) &#124;&#124; !count($cartContent) ) return;

that way, if no products are already in the cart, the code after that won't be executed.

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago [\#193230](#193230) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193230 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

sorry but I didn' work.

The condition works perfect if that case:
Code:

if(!is_array($cartClass-&gt;get()) &#124;&#124; (!count($cartClass-&gt;get()))){ echo 'it works'; exit; }

But with return it causes same thing. Redirect to product listing with notification: The cart is empty
I suppose it causing getting content of cart
Code:

if(!is_array($cartClass-&gt;get()) &#124;&#124; (!count($cartClass-&gt;get()))) return;

Thank you

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#193275](#193275) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193275 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

Nicolas gave you some working code but not for your specific code context.
So the condition is working fine in every cases ; After that, it's up to you to modify what after the if to perform what you want to do.

Please understand that you are in the trigger "onBeforeCartUpdate" and that trigger have parameters and some other stuff to control the update of the cart.
I recommend you to check the trigger details in the developer documentation.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago -  11 years 8 months ago [\#193400](#193400) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193400 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

thank you, I thought it but I don't know php, but with Nicolas's help we made almost working plugin.
Last thing what I need is to check **if session exists for cart.**

I can't do it by myself. I spent hours about it ![:(](/media/kunena/emoticons/22.png ":(")

Last edit: 11 years 8 months ago by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg3NTEzMy1kaXNhYmxlLWNhcnQtb3ItY2FydC1tZW1vcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

11 years 8 months ago [\#193401](#193401) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193401 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hi,

You can look into the $_COOKIES variable. There, you have all the cookies stored.
There is however no cookie for the cart in HikaShop.
HikaShop stored the id of the current cart in the user session and you can get it like that:
$app = JFactory::getApplication();
$cart_id = $app-&gt;getUserSate('com_hikashop.cart_id');

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

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

Less More

- Posts: 217
- Thank you received: 4
-
-

11 years 8 months ago [\#193602](#193602) by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")  Replied by *[FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")* on topic *[Disable cart or cart memory](/forum/27-checkout/875133-disable-cart-or-cart-memory?start=20#193602 "-- HikaShop version -- : 2.3.5  Hello,  I am starting eshop with wedding dresses. So I assume that customer won't buy more than 1 product. I have hidden cart and after adding item to cart customer is redirected to checkout.  But when customer quit his checkout and buy item again he have to pay for both two items.  I need to disable cart, or its memory in order to pay just for one item (last added to cart).  Thank you Filip")*

Hello,

I solved by no-programatically way.

Thank you

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

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