How to arrange product collections for maximum sales?

Dear All, I Need to showcase our products which are best sellers (We will decide), with the highest discount we can offer( 70% first then 60 % then 55%, and so on), with higher quantity (Inventory wise), and all sizes available (cut size products should be in the bottom) - Like top to bottom in Collection page.

Hi,

Hope this will help

  1. Shopify admin > Products > Collections > create a new collection or edit an existing > collection settings, set the “Sort order” to “Manual”

  2. manually arrange your products in the desired order > For first set of products, Edit each product and set the discount percentage to 70% > Save the product and repeat the process for the remaining products, with discount percentage (e.g., 60%, 55%, etc.)

  3. Once Done save and update the collection

  4. In collection setting click on “Sort manually” and select "By inventory quantity (ascending)

  5. Save> preview and publish

Before doing anything take the backup

Thank you for sharing this, however, I already did that manually. I need to automate it with code or script as it is impossible to do it manually.