getdokan / dokan

Multivendor marketplace platform
https://wordpress.org/plugins/dokan-lite/
259 stars 203 forks source link

Inconsistent Product Sorting by Price on Shop Page for Vendor-Added Products #2431

Open sazz-pranto opened 1 week ago

sazz-pranto commented 1 week ago

Bug Description

When products are added from the Admin Panel, they can be sorted by price (from high to low and vice versa) correctly on the Shop Page. However, products added from the Vendor Dashboard do not sort correctly by price on the Shop Page. For a better understanding, please have a look at this video: https://d.pr/v/RGgZzy

Step To Reproduce

  1. From the Vendor Dashboard, add several products with varying prices.
  2. Go to the Shop Page and attempt to sort the products by price (high to low or low to high).
  3. Observe the sorting behavior.

Expected Behaviour

Products added from the Vendor Dashboard should be sorted by price accurately on the Shop page, just as they are for products added through the Admin Panel.

Actual Behaviour

As shown in the video.

Additional Information

N/A

Environment (please complete the following information)

Dokan: v3.13.0
WooCommerce: v9.3.3
WordPress: v6.6.2
mrabbani commented 5 days ago

@sazz-pranto vai, It is addressed in https://github.com/getdokan/dokan/pull/2098