- Support forum for the Order Minimum/Maximum Amount Limits for WooCommerce.
- This topic has 6 replies, 3 voices, and was last updated 1 year, 9 months ago by Pablo.
- AuthorPosts
- February 10, 2023 at 10:03 am #109306Stefan CizmarParticipant
Hello,
Can i set a max qty message for a specific product? From what i saw in the shortcode part it should be something like this for the product of ID 89 [alg_wc_oma_amount_msg min_or_max=”max” sum_or_qty=”qty” scope=”product” product_id=”89″]product specific message[/alg_wc_oma_amount_msg] but it is not working.
February 15, 2023 at 8:35 am #109581MoshtafizurParticipantHi Stefan,
Sorry for the late reply.
I have escalated this with our development team. They will get back to you as soon as they can.
Kind regards,
MoshtafizurFebruary 16, 2023 at 6:16 pm #109681Hi Stefan,
Please, try replacing the
sum_or_qty
attribute withtype
and let me know if it helps.February 24, 2023 at 4:35 pm #110213Stefan CizmarParticipantHi,
I’ve tried with this shortcode: [alg_wc_oma_amount_msg min_or_max=”max” type=”qty” scope=”product” product_id=”89″]Call us on 0800 123456[/alg_wc_oma_amount_msg]
It works if there is only that product in the cart, if there are multiple products that have limits the text shows for all products that have limits.
February 27, 2023 at 11:50 pm #110377Hi Stefan,
The
product_id
attribute needs thescope
attribute set asproduct
,product_cat
, orproduct_tag
. I can see you are already using it asproduct
. But do you have that section enabled properly on plugin settings?Anyway, if the product with that id is in cart, the message from the shortcode should be displayed, regardless if there are more products in cart or not.
March 1, 2023 at 9:47 am #110438Stefan CizmarParticipantHi,
I’ve enabled the messages under the messages tab in plugin settings if that is what you mean by “enabled properly” or should i do some other changes in the settings?
It does display if there are multiple products, that is not the problem, problem is that if there are 2-3-4 products it shows 2-3-4 times the same message whereas it should show only once (for product with id of 89). I hope i’ve managed to explain well.
Thanks
March 2, 2023 at 12:46 am #110511I was referring to the “product” section on the plugin’s settings. Do you have it enabled?
- AuthorPosts
- You must be logged in to reply to this topic.