• Resolved longtimeuser

    (@longtimeuser)


    Hi,

    I’m using the shortcode on the home page and for some reason it’s not ordering the products by “custom ordering” set in each product.

    I’ve unchecked the “Product sorting by title” within the Food Online advanced settings.

    Any idea why it’s not sorting?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arosoft

    (@arosoft)

    Hi,
    have you used the ‘orderby’ argument in the shortcode?

    Decide the product order using [foodonline orderby=”menu_order”]. Use order attributes from below. If it does not work, read this topic.

    date – The date the product was published.
    id – The post ID of the product.
    menu_order – The Menu Order, if set (lower numbers display first).
    price – Price sorting. Change to high to low with adding order=”desc”.
    popularity – The number of purchases.
    rand – Randomly order the products on page load (may not work with sites that use caching, as it could save a specific order).
    rating – The average product rating.
    title – The product title. This is the default orderby mode.

    Thread Starter longtimeuser

    (@longtimeuser)

    That worked!

    I was looking for the shortcode arguments but couldn’t find them

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Product order with foodonline shortcode’ is closed to new replies.