Support » Plugin: WooCommerce Loyal Customers » Very limited. Poor code quality.

  • Although the concept is usable for building a different plugin, this plugin has serious limitations, and poor code quality. Also, sorting by ID doesn’t work as promised.

    One of the biggest problems with this plugin is that the main query attempts to use MySQL GROUP BY and ORDER BY in a way that cannot work or be expanded upon.

    Another problem related to this main query is that it returns all rows from the database, then uses PHP’s array_slice for a crude attempt at pagination. This is highly inefficient.

    The jQuery usage in this plugin is making beginner level mistakes, but tries to solve a problem that wouldn’t exist if the plugin author simply wrapped the generated table in some form tags, and provided hidden inputs to pass current settings along to the next page.

    I had to do a complete rewrite. 2 stars for the idea.

    • This topic was modified 2 years, 2 months ago by skunkbad.
  • The topic ‘Very limited. Poor code quality.’ is closed to new replies.