Require quantity to include comma separator

Top WooCommerce & WordPress Plugins Forums Product Price by Quantity for WooCommerce Require quantity to include comma separator

Tagged: 

  • This topic has 5 replies, 3 voices, and was last updated 1 year ago by Peter.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #110837
    blankPeter
    Participant

    For some products we sell (print products), we allow ordering for 1,000 or more.

    I need the numeric format #,### displayed in the Quantity column, i.e. 1,500 (not 1500).

    With some tables, the Quantity cell may contain a range, i.e “2000 – 3000”. In such cases, I would need it shown as “2,000 – 3,000”.

    Is there a way to accomplish this?

    Thanks,
    Peter

    #110914
    blankPeter
    Participant

    Ignore this part: “With some tables, the Quantity cell may contain a range, i.e “2000 – 3000”. In such cases, I would need it shown as “2,000 – 3,000”.”

    Peter

    #111119
    blankPeter
    Participant

    Still looking for a response.

    To clarify:

    I need the numeric format #,### displayed in the Quantity column where a comma is used as a separator for quantities of 1000 or more.
    i.e. 1,500 (not 1500).

    Thanks.

    #111293
    blankMoshtafizur
    Moderator
    Plugin Support

    Hi there,

    Sorry for the late reply, as I was on vacation.

    I have passed your request on to the relevant team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    #111499
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi Peter,

    You are referring to the [alg_wc_product_ppq_table] shortcode, correct? If that’s the case, please update the plugin to the latest v3.3.0. Then you can set the thousands separator with the qty_thousand_sep attribute like this:

    [alg_wc_product_ppq_table qty_thousand_sep=","]

    Please give it a try and let me know what you think.

    #111506
    blankPeter
    Participant

    Hi Tom,

    I’ve tested your update, and it works.

    Thanks for this!

    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.