• Resolved xoxgregxox

    (@xoxgregxox)


    Hi:
    I’m using the shortcodes from the official page of woocommerce, but when I add best_selling=”true” or orderby=”popularity” it doesn’t show the products properly and It shows the same products even If I change the order from ASC to DESC.

    This is an example of the shortcode I’m using:
    [products limit=”6″ columns=”6″ category=”abstractos” orderby=”popularity” order=”DESC” best_selling=”true”]

    Please help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @xoxgregxox ,

    I’m using the shortcodes from the official page of woocommerce, but when I add best_selling=”true” or orderby=”popularity” it doesn’t show the products properly and It shows the same products even If I change the order from ASC to DESC.

    The “Order by popularity” sorting shows the products based on their sales number.

    For example, if you have two products named A and B, and A has 10 sales, while B has 5 sales – then A would show ahead of B when you set the order to “ASC”, while B would show ahead of A when you set the order to “DESC”.

    However, this will not be true when the products either do not have any sale, or. have the same sale.

    Meaning, if both A and B have 10 sales, then changing the order from “ACS” to “DESC” won’t make any difference in their order.

    Can you please check and confirm if the products have different sales?

    If the products have different sales, but the shortcode still doesn’t show them in the correct order, then there is likely a conflict on your site. In that case, I recommend performing a conflict test as per the steps here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    Do let us know how that goes and if you need any further help from us.

    Thread Starter xoxgregxox

    (@xoxgregxox)

    Hi, then this could be a conflict with my site, because the order the shortcode shows the product doesn’t match the sales (example: first product has 2 sales, second 0, third 1, etc).

    I’m using storefront, so maybe is a conflict with a plugin, I’ll check it.

    Hi @xoxgregxox ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with Best Selling in Shortcodes’ is closed to new replies.