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

#   Checkout update

##

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

Less More

- Posts: 6
- Thank you received: 1
-
-

7 years 7 months ago -  7 years 7 months ago [\#305937](#305937) by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")  *[Checkout update](/forum/27-checkout/897342-checkout-update#305937 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")* was created by *[Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")*

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.5
-- PHP version -- : 7.1.27
-- Browser(s) name and version -- : Chrome 73.0.3683.103

Hi!

I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set "1" as "Maximum numbers of items for the cart" and enabled "Add to cart legacy" and set it to go directly to checkout after add a product to the cart . But I find one problem.

if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,

How can I solve this?

Kind regards!

Last edit: 7 years 7 months ago by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzM0Mi1jaGVja291dC11cGRhdGU/dG1wbD1tYXJrZG93bg==) 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
-
-

7 years 7 months ago [\#305948](#305948) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#305948 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Hi,

I don't think it's a good way to go about it.
I would recommend to turn off the legacy settings and instead create a new limit via the menu Products&gt;Limits and configure it on the cart with a value of 1 on the quantity and it will prevent customers from have carts with more than 1 product.

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

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

Less More

- Posts: 6
- Thank you received: 1
-
-

7 years 7 months ago -  7 years 7 months ago [\#305983](#305983) by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")  Replied by *[Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#305983 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Hi Nicolas,
Ok but, if so, you don´t go directly to checkout after clicking on purchase button... and that´s one of the things I need on my site. How can we update cart / checkout when you have one product in the cart (maximum number) and select a new one?
Thank you!

Last edit: 7 years 7 months ago by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzM0Mi1jaGVja291dC11cGRhdGU/dG1wbD1tYXJrZG93bg==) 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
-
-

7 years 7 months ago [\#305985](#305985) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#305985 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Hi,

With the new checkout, you can configure whether the customer is redirected to the checkout or not after the add to cart in the settings of the HikaShop cart notification plugin via the Joomla plugins manager.

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

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

Less More

- Posts: 6
- Thank you received: 1
-
-

7 years 7 months ago -  7 years 7 months ago [\#306013](#306013) by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")  Replied by *[Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#306013 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Well, I did it just like you say, Nicolas. Now legacy mode is disabled. I set the limit on Products &gt; Limits. I use Cart notification plugin to redirect customer to checkout after add to cart one product. And everything has gone wrong.
If you visit my site, and the page where I offer my 3 products, you´ll see that there are 3 "Reservar" buttons: 1 blue and 2 white. And I can´t even suppose why: code, HTML and CSS are just the same in every case.
Ah, and now, when I go to checkout and try to pay using Paypal, I found an error message on Paypal site: "This invoice has already been paid. For more information, contact the seller".
I'm starting to feel quite frustrated, I only want a very, very simple online shop to work: 3 products, only purchase 1 product at a time, go directly to checkout after add the product to the cart... Nothing more. No shipping rules, no different tax rules, no variations over any product, no registration needed to buy, no... nothing. And I´m not capable to make it work properly. It's very frustrating for me and I'm getting very tired.

Last edit: 7 years 7 months ago by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NzM0Mi1jaGVja291dC11cGRhdGU/dG1wbD1tYXJrZG93bg==) 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
-
-

7 years 7 months ago [\#306020](#306020) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#306020 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Hi,

1. The fact that the add to cart buttons don't look the same comes from your template CSS which is not correct.
It has the code: Code:

div.hikashop_inserted_product_1 a { padding: 15px; font-weight: bold; vertical-align: middle; text-align: center; cursor: pointer; border: 1px solid transparent; border-radius: 3px; color: #ffffff !important; background-color: #2071bc !important; font-size: 13px !important; line-height: 22px !important; }

in the file /templates/rt_iridescent/css/rt_iridescent-custom.css but the class hikashop_inserted_product_1 is only for the first product (hence the 1 in the class name).
I would recommend to remove that CSS code if you don't want the blue buttons or change div.hikashop_inserted_product_1 a to .hikacart if you want the blue button for all the add to cart buttons.

2. That PayPal error is common. It means that there was already a previous payment with the same order ID placed with that PayPal account.
It can happen if you were doing test orders and then you deleted the orders and reset the order ID count to 0.
Or it can happen if you were previously using another ecommerce solution with that same PayPal account.
What you can do is change the order ID in HikaShop to start at 10000 for example instead of 0.
We actually have a documentation on that here:
[ www.hikashop.com/support/documentation/i...l-error.html#already](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#already)

As you can see, both issues are not from HikaShop nor from the solution I gave you before but from other elements of your shop. You would have had the same issues with another ecommerce solution.

The following user(s) said Thank You: [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")

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

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

Less More

- Posts: 6
- Thank you received: 1
-
-

7 years 7 months ago [\#306024](#306024) by [Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")  Replied by *[Enigmma](/forum/user/56485-enigmma "View Enigmma's Profile")* on topic *[Checkout update](/forum/27-checkout/897342-checkout-update#306024 "-- HikaShop version -- : 4.0.3 -- Joomla version -- : 3.9.5 -- PHP version -- : 7.1.27 -- Browser(s) name and version -- : Chrome 73.0.3683.103  Hi!  I offer only 3 products (A, B, C) on my site, and you can purchase only one product at a time. So I set &quot;1&quot; as &quot;Maximum numbers of items for the cart&quot; and enabled &quot;Add to cart legacy&quot; and set it to go directly to checkout after add a product to the cart . But I find one problem.  if you add a product (A), then leave checkout page (without canceling purchase) and add any different product (product B ), checkout page does not update: you still see product A on checkout. If costumer doesn´t see it, he finally purchase something he doesn´t want,  How can I solve this?  Kind regards!")*

Thank you. You are right. This is getting hard to me sometimes... I appreciate your help! Kind regards.

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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