Require quantity to include comma separator

Home Forums Product Price by Quantity for WooCommerce Require quantity to include comma separator

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #110837
    Peter
    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
    Peter
    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
    Peter
    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
    Moshtafizur
    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
    Tom 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
    Peter
    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.