$75.00
Demo Video
Category: WooCommerce
Tags: add_submenu_page, admin_menu, get_amount, get_billing_country, get_coupon_codes, get_currency, get_date_created, get_description, get_discount_type, get_display_name, get_id, get_items, get_name, get_orders, get_product_id, get_usage_count, get_usage_limit, get_usage_limit_per_user, get_used_by, get_user, get_user_id, WC_Coupon, WC_Customer, wc_get_order, WC_Order_Query
The PHP code in this custom plugin for WooCommerce, lists every order where a coupon has been applied.
The code in the plugin generates a list of all orders where coupons have been applied and enables the storeowner to view :
- The order number.
- Product(s) ordered when the coupon was used.
- The date, time and billing country related to the coupons usage.
- Coupon description, code, type and value.
- Coupon count foreach customers usage.
- The name of the customer using the coupon.
Installation
Install the zip folder as a new plugin or copy and paste the PHP code to the end of your child themes functions file or custom code snippets plugin.
You’ll find a new tab under Marketing > Coupons in your WordPress Dashboard.
Leave a Reply