• kdetmold

    (@basti743)


    Hey,

    thank you very much for this plugin. It works really nice.

    Could you add a simple filter to format the Quantity, that is displayed within the select box? I’d like to add a thousand seperator.

    Thank you very much 🙂

Viewing 1 replies (of 1 total)
  • Thread Starter kdetmold

    (@basti743)

    This is the code that I’ve changed to achieve what I need:

    quantity-input.php

    $formattedQuantity = apply_filters(‘woofix_format_quantity’, $woofix_qty);

    And use this for the $description variable instead of $woofix_qty.

    Would be great if you could add this and wonderful if you could use the same filter name so it won’t break my hotfix.

Viewing 1 replies (of 1 total)

The topic ‘Format Quantity’ is closed to new replies.