vuestorefront / vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
https://www.vuestorefront.io
MIT License
18 stars 13 forks source link

[Bug]: wrong product sort order after switching a category #533

Open antonioglass opened 1 year ago

antonioglass commented 1 year ago

Describe the Bug

See steps to reproduce. Probably related to https://github.com/vuestorefront/vue-storefront/pull/5819

Current behavior

No response

Expected behavior

The product sort order must be the same as it is after refreshing a page.

Steps to reproduce

  1. Set defaultSortBy.attribute to position and order to asc;
  2. Set sort order for products on Magento;
  3. Open any category page;
  4. Switch to other category page via menu where the product sort order is set;
  5. Refresh the page to see the correct order.

What version of Vue Storefront are you using?

1.12.1

What version of Node.js are you using?

12.22.9

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

macOS

Relevant log output

No response

Able to fix / change the documentation?

Code of Conduct