How to Set Product Samples Quantity Limit?
The Product Sample for WooCommerce Plugin lets you set a maximum amount on the sample quantity (by order quantity or sample quantity). You can also set an alert message/notification for the time when the maximum limit is reached.
Use the options in the Quantity Adjustment section on the Sample Product Settings page to do so.
Screenshot - 1: (Quantity Adjustment Settings)
Screenshot - 2: (Error Message when the Maximum Quantity Reached)