Top WooCommerce & WordPress Plugins › Forums › Product Price by Quantity for WooCommerce › Require quantity to include comma separator
- Support forum for the Dynamic Pricing & Bulk Quantity Discounts.
Tagged: numeric
- This topic has 5 replies, 3 voices, and was last updated 1 year ago by Peter.
- AuthorPosts
-
March 7, 2023 at 5:25 pm #110837PeterParticipant
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,
PeterMarch 8, 2023 at 4:31 pm #110914PeterParticipantIgnore 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
March 11, 2023 at 10:33 am #111119PeterParticipantStill 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.
March 14, 2023 at 10:07 am #111293Hi 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,
MoshtafizurMarch 17, 2023 at 12:07 am #111499Hi 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 theqty_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.
March 17, 2023 at 9:17 am #111506PeterParticipantHi Tom,
I’ve tested your update, and it works.
Thanks for this!
Peter
- AuthorPosts
- You must be logged in to reply to this topic.