Support » Plugin: Cost of Goods for WooCommerce » Product Page – Sort by PROFIT Column

  • shujaa

    (@shujaa)


    Hi,

    I am attempting to sort products from most profitable to least profitable.
    On the PRODUCTS Page only the COST column can be sorted.
    The PROFIT column cant be sorted. Can you add this feature or advise a quick workaround?

    Also I am trying to add the PROFIT custom field to my bulk edit plugin. Can you let me know what the name of the PROFIT column is… example COST column is _alg_wc_cog_cost

Viewing 1 replies (of 1 total)
  • Plugin Author WP Factory

    (@wpcodefactory)

    Hi @shujaa ,

    We don’t have a meta value in the database for the profit as we do for the cost.
    Right now it’s calculated dynamically as a relationship between the price and the cost.

    Anyway, we’ll try to add the profit as sortable.
    I’ll let you know once it’s ok šŸ˜‰

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