Jump to content

Edit History

grsinternet

grsinternet

In PS 1.7.6 I need to order products by two parameters:
1. First goes products which are available in physical shop, then order the by price from low to high.
2. Then goes products which are NOT available in physical shop, then order the by price from low to high.

In which file I can write my own ORDER BY rule to overwrite PS standard?

SQL query should look like that in simple table ORDER BY `available` ASC, `price` ASC; But not sure in which Table I can find this or similar field to `available` (if stock>0)

Thanks!! 😊💜🙏

grsinternet

grsinternet

In PS 1.7.6 I need to order products by two parameters:
1. First goes products which are available in physical shop, then order the by price from low to high.
2. Then goes products which are NOT available in physical shop, then order the by price from low to high.

In which file I can write my own ORDER BY rule to overwrite PS standard?

SQL query should look like that in simple table ORDER BY `available` ASC, `price` ASC; But not sure in which Table I can find this or similar field to `available` (if stock>0)

Thanks!! 😊💜🙏

×
×
  • Create New...