Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SORT PRODUCT ATTRIBUTES IN CART -


Powered By Cotton

Recommended Posts

The attribute sorter and copier works for me on both of my sites when I add products to the cart, HOWEVER, when I logoff and then log back on, it rearranges them all. What do I need to do to fix it? Does anyone have any ideas. I looked into the customers basked and the array is correct, but it still shows rearranged, why is that? It is very frustrating.

 

P.S. And I DO have the 'order by pa.options_id' added to my shopping_cart.php in case you were wondering.

Link to comment
Share on other sites

The attribute sorter and copier works for me on both of my sites when I add products to the cart, HOWEVER, when I logoff and then log back on, it rearranges them all. What do I need to do to fix it? Does anyone have any ideas. I looked into the customers basked and the array is correct, but it still shows rearranged, why is that? It is very frustrating.

 

P.S. And I DO have the 'order by pa.options_id' added to my shopping_cart.php in case you were wondering.

 

 

Nevermind all, I was sorting by the wrong thing...

 

'order by popt.products_options_sort_order' works better.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...