Options out of order in checkout and email

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #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?

Please Log in or Create an account to join the conversation.

  • Posts: 83919
  • Thank you received: 13583
  • MODERATOR
10 years 10 months ago #166164

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 or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #166168

Thank you for your effort and great response.

I'm not seeing an archive enclosed.

Please Log in or Create an account to join the conversation.

  • Posts: 83919
  • Thank you received: 13583
  • MODERATOR
10 years 10 months ago #166273

Oops.
Here you go.

File Attachment:

File Name: cart_2014-08-03.zip
File Size:15 KB

Attachments:
The following user(s) said Thank You: alown

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #166301

Perfect! Thank you :)
This right here is why you go with HikaShop

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum
loading