Added a Student Discount block that can be placed directly on your cart page using the WordPress block editor, replacing the previous hook-based button injection. This makes the plugin compatible with both classic and block-based WooCommerce cart pages.
Coupon codes applied by the plugin now display as “Student Discount” in both classic and block-based WooCommerce carts, so customers never see the underlying coupon code.
Removed the “Plugin Buttons” toggle from settings as button placement is now handled by adding the block to your cart page.
1.0.4
Tested for compatibility with WordPress 6.9.
1.0.3
Fixed bug that prevented WooCommerce authorization in some instances.