Customising message for individual product

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #149621
    Futuregram Studio
    Participant

    Hi, guys. I am trying to customise the message for a specific product using the Pro version of your plugin. I have the ‘Validate on add to cart’ checked and ideally would like the following as my Custom Message:

    [alg_wc_mppu_customer_msg bought_msg=”Thank you for supporting the 2024 SWABC 5K! You may register up to 10 persons using the Individual Registration option. Should you wish to register more than 10 persons, please use to the Team and school registration option or proceed to Checkout.” not_bought_msg=”Thank you for supporting the 2024 SWABC 5K! You may register up to 10 persons using the Individual Registration option. Should you wish to register more than 10 persons, please use to the Team and school registration option or proceed to Checkout. You can only buy maximum %limit% of %product_title%.”]

    However, I only get messages in the format ‘You can only buy maximum %limit% of %product_title%.’ when i test my product. I also went into the plugin editor and modified line 109 in class-alg-wc-mppu-settings-frontend.php but that didn’t work either.

    How do I manage to accomplish this update? Thanks in advance.

    #149797
    Hindi
    Moderator

    Hi Dwaynne,

    First of all, please update the plugin to version 4.2.7 our development team just released. It will fix a problem with the Product Quantities mode not counting correctly.

    The [alg_wc_mppu_customer_msg] shortcode will only be displayed on these conditions:

    • Only after a product has been added to cart, or on cart/checkout page
    • Only if the product in cart limit exceeds the allowed limits

    Let me know if it helps.

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