How to Enable Ajax Add To Cart Button for Sample Products?
With Product Sample for WooCommerce Plugin, You can enable Ajax add to cart button for your sample products to Enhance customer experience.
You can enable the ajax add to cart feature from the Ajax Add To Cart section on the Sample Product Settings page.
With this feature, you can also enable or add a success dialog box after a sample product is added to the cart to enhance the user experience.
Ajax add to cart feature explanation :-
- Enable Ajax Add to Cart – Enable or Disable Ajax add to cart feature.
- Enable Ajax Dialog – Enable or Disable the success dialog box feature.
- Button Label – Set your custom message for the success dialog box. The default value is "Done!".
Screenshot - 1: (Ajax add to cart settings configuration)
Screenshot - 2: (Sample product with Ajax add to cart)