• Resolved hormiganegra

    (@hormiganegra)


    Would it be possible to add parameters to the shortocode for stock quantity and backorder status? Something like this

    [quick_order stock_quantity=”1” backorder=”yes,notify”]

    basically a way to indicate minimum stock quantity to display variation and another way to display or not display the item based on the backorder status?

    Would love to have these two options and in combination.

    Examples of use:
    – display items in stock only (1 and 1+) for permitting stock orders only,
    – display items with more than X unit in stock min (X+) (for permitting bulk stock orders in page only, X being minimum order qty),
    – display items with no stock but that can be ordered anyway (backorder: yes, notify) (for backorders only, removing non-stock-no-backorder clutter)
    – display items with 1 qty stock but can be backordered (for all orders with no clutter)

    Maybe it’s a good idea to have a min and a max (optional) stock qty

    Thanks ??

Viewing 1 replies (of 1 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey hormiganegra,

    thanks for your feedback!

    Adding a min-max quantity option is part of the furture development pipeline.

    In the next update I will add some filters for adding custom arguments to the shortcode and to control table itself (add rows / remove rows).

    With the new filters a solution like yours is defintive possible but you will need some customization in your functions.php.

    Cheers,

Viewing 1 replies (of 1 total)
  • The topic ‘using stock to filter in shortcode’ is closed to new replies.