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

#   Options out of order in checkout and email

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

12 years 3 months ago [\#166057](#166057) by [alown](/forum/user/33391-alown "View alown's Profile")  *[Options out of order in checkout and email](/forum/27-checkout/870101-options-out-of-order-in-checkout-and-email#166057 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome/Firefox latest stable -- Error-message(debug-mod must be tuned on) -- : none  On the product page, the product options all appear in the correct order. When checking out or viewing the cart, the options all appear ordered by their ID.  Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?")* was created by *[alown](/forum/user/33391-alown "View alown's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Chrome/Firefox latest stable
-- Error-message(debug-mod must be tuned on) -- : none

On the product page, the product options all appear in the correct order.
When checking out or viewing the cart, the options all appear ordered by their ID.

Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

12 years 3 months ago [\#166164](#166164) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Options out of order in checkout and email](/forum/27-checkout/870101-options-out-of-order-in-checkout-and-email#166164 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome/Firefox latest stable -- Error-message(debug-mod must be tuned on) -- : none  On the product page, the product options all appear in the correct order. When checking out or viewing the cart, the options all appear ordered by their ID.  Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?")*

Hi,

That's actually not an easy one.
I've had to change the way the products are saved in and loaded form cart in HikaShop to have the correct order.
If you replace the file administrator/components/com_hikashop/classes/cart.php with the one in the archive enclosed, it should fix the problem.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

12 years 3 months ago [\#166168](#166168) by [alown](/forum/user/33391-alown "View alown's Profile")  Replied by *[alown](/forum/user/33391-alown "View alown's Profile")* on topic *[Options out of order in checkout and email](/forum/27-checkout/870101-options-out-of-order-in-checkout-and-email#166168 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome/Firefox latest stable -- Error-message(debug-mod must be tuned on) -- : none  On the product page, the product options all appear in the correct order. When checking out or viewing the cart, the options all appear ordered by their ID.  Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?")*

Thank you for your effort and great response.

I'm not seeing an archive enclosed.

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

12 years 3 months ago [\#166273](#166273) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Options out of order in checkout and email](/forum/27-checkout/870101-options-out-of-order-in-checkout-and-email#166273 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome/Firefox latest stable -- Error-message(debug-mod must be tuned on) -- : none  On the product page, the product options all appear in the correct order. When checking out or viewing the cart, the options all appear ordered by their ID.  Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?")*

Oops.
Here you go.

*This attachment is hidden for guests.
Please log in or register to see it.*

The following user(s) said Thank You: [alown](/forum/user/33391-alown "View alown's Profile")

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

12 years 3 months ago [\#166301](#166301) by [alown](/forum/user/33391-alown "View alown's Profile")  Replied by *[alown](/forum/user/33391-alown "View alown's Profile")* on topic *[Options out of order in checkout and email](/forum/27-checkout/870101-options-out-of-order-in-checkout-and-email#166301 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome/Firefox latest stable -- Error-message(debug-mod must be tuned on) -- : none  On the product page, the product options all appear in the correct order. When checking out or viewing the cart, the options all appear ordered by their ID.  Is there a way to set it so the product options appear in the cart in the same order in which they appear on the product page?")*

Perfect! Thank you ![:)](/media/kunena/emoticons/3.png ":)")
This right here is why you go with HikaShop

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

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