• Resolved dimi993

    (@dimi993)


    Hello,
    I want to add an extra option to the sorting options list to sory products by the Discount amount. I don’t mind writing a custom function, but I’d like some guidance on how to do so.

    I’m using wordpress 6.5.4 with woocommerce 8.7 and php 8.0.28

    Using a plugin is also a very good solution, if you know one that can do what we need.

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @dimi993

    I was able to find this thread, on the subject, with a web search.

    Furthermore, for reference, this particular forum is meant for general support with the core functionality of WooCommerce itself. For development and custom coding questions, it’s best to ask for insight related to those on either the?WooCommerce Advanced Facebook group?or the?WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question.

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight.

    Thread Starter dimi993

    (@dimi993)

    Hi,
    Thank you for your reply.

    I’ve seen the plugin they suggest in the post but it’s not what we need.

    I’ll check the slack community though, I didn’t know about it. Thank you very much.

    Hey, @dimi993!

    You are welcome. The WooCommerce community there is awesome, I’m sure they will be happy to help.

    I hope you can find a way to achieve your goal soon ??

    I’ll close this thread now, okay?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

    Maya

    (@tdgu)

    Hi,
    That’s straightforward to achieve through the Advanced Post Types Order?plugin and the Sorting by Custom Fields feature.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.