{"id":1358652,"date":"2023-11-11T11:46:46","date_gmt":"2023-11-11T10:46:46","guid":{"rendered":"https:\/\/webpixelia.com\/portfolio\/plugin-coupons-after-order-for-woocommerce\/"},"modified":"2024-08-14T15:38:02","modified_gmt":"2024-08-14T14:38:02","slug":"coupons-after-order-for-woocommerce-plugin","status":"publish","type":"project","link":"https:\/\/webpixelia.com\/en\/portfolio\/coupons-after-order-for-woocommerce-plugin\/","title":{"rendered":"Plugin Coupons after order for WooCommerce"},"content":{"rendered":"<p>This plugin was born from a request from one of my clients. It needed to offer its customers an automatic reimbursement of the amount of their orders but in the form of discount vouchers. My client wanted to be able to define the number of discount vouchers to generate as well as their validity period and then have an email containing the discount codes automatically sent to the store&#8217;s customer. Example: a customer spends \u20ac60, the owner of the WooCommerce online store wants 4 codes to be generated for a validity period of one month from this day; each coupon will have a value of \u20ac15 (4&#215;15=60).<\/p>\n<p>Following this, I considered it useful to develop these functionalities a little further and make them a plugin for WooCommerce by enhancing it with other functionalities; such as, to date:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>activating and deactivating the generation of coupons after an order has been placed in \u201cCompleted\u201d status;<\/li>\n<li>an option to define the validity period of coupons either in number of days or until a specific date;<\/li>\n<li>the number of coupons generated;<\/li>\n<li>the usage limit per coupon;<\/li>\n<li>the possibility or not of combining with other coupons;<\/li>\n<li>the minimum cart amount to be able to use the discount coupon;<\/li>\n<li>he choice of the discount code prefix;<\/li>\n<li>the choice of argument in the URL to apply the coupon directly via a URL;<\/li>\n<li>some email settings: subject, header, content with shortcodes, customization of the CTA button and real-time visualization of the appearance of the email.<\/li>\n<li>whether to retain data when uninstalling the plugin<\/li>\n<li>the automatic and bulk generation of coupons from the customer&#8217;s email and the amount of their order;<\/li>\n<\/ol>\n<p>My WordPress plugin is intended to evolve; your comments and suggestions are welcome in comments.<\/p>\n<p>Cette plugin est compatible et test\u00e9e avec WPML.<\/p>\n<p>Changelog: <a href=\"https:\/\/wordpress.org\/plugins\/coupons-after-order-for-woocommerce\/#developers\">https:\/\/wordpress.org\/plugins\/coupons-after-order-for-woocommerce\/#developers<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>An plugin for WooCommerce that allows you to automatically generate discount codes as a refund for a completed order for the customer and send him an email with his discount codes.<\/p>\n","protected":false},"featured_media":1460841,"template":"","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"An extension for WooCommerce which allows you to generate discount codes as refund after a completed order for the customer and to send him an email with his discount codes.","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"both","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"","_uag_custom_page_level_css":"","image_header":0,"url_video":"https:\/\/youtu.be\/BmraP9ywkT8","url_site":"https:\/\/fr.wordpress.org\/plugins\/coupons-after-order-for-woocommerce\/","cms":"","cahier_des_charges":"This plugin was born from a request from one of my clients. It needed to offer its customers an automatic reimbursement of the amount of their orders but in the form of discount vouchers. My client wanted to be able to define the number of discount vouchers to generate as well as their validity period and then have an email containing the discount codes automatically sent to the store\u2019s customer. Example: a customer spends \u20ac60, the owner of the WooCommerce online store wants 4 codes to be generated for a validity period of one month from this day; each coupon will have a value of \u20ac15 (4\u00d715=60).   ","apercu_developpemants":"Following this, I considered it useful to develop these functionalities a little further and make them a plugin for WooCommerce by enhancing it with other functionalities; such as, to date:\n<ol>\n \t<li style=\"list-style-type: none\">\n<ol>\n \t<li>activating and deactivating the generation of coupons after an order has been placed in \u201cCompleted\u201d status;<\/li>\n \t<li>an option to define the validity period of coupons either in number of days or until a specific date;<\/li>\n \t<li>the number of coupons generated;<\/li>\n \t<li>the usage limit per coupon;<\/li>\n \t<li>the possibility or not of combining with other coupons;<\/li>\n \t<li>the minimum cart amount to be able to use the discount coupon;<\/li>\n \t<li>he choice of the discount code prefix;<\/li>\n \t<li>the choice of argument in the URL to apply the coupon directly via a URL;<\/li>\n \t<li>some email settings: subject, header, content with shortcodes, customization of the CTA button and real-time visualization of the appearance of the email.<\/li>\n \t<li>whether to retain data when uninstalling the plugin<\/li>\n \t<li>the automatic and bulk generation of coupons from the customer\u2019s email and the amount of their order;<\/li>\n<\/ol>\n<\/li>\n<\/ol>\nMy WordPress plugin is intended to evolve; your comments and suggestions are welcome in comments.\n\nThis plugin is compatible and tested with WPML.\n\nChangelog: <a href=\"https:\/\/fr.wordpress.org\/plugins\/coupons-after-order-for-woocommerce\/#developers\">https:\/\/fr.wordpress.org\/plugins\/coupons-after-order-for-woocommerce\/#developers<\/a>","details_techniques":"","screens":"[{\"screen_titre\":\"\",\"screen_image_id\":1461336},{\"screen_titre\":\"\",\"screen_image_id\":1461338},{\"screen_titre\":\"\",\"screen_image_id\":1461340},{\"screen_titre\":\"\",\"screen_image_id\":1461342},{\"screen_titre\":\"\",\"screen_image_id\":1461347},{\"screen_titre\":\"\",\"screen_image_id\":1461345},{\"screen_titre\":\"\",\"screen_image_id\":1461349},{\"screen_titre\":\"\",\"screen_image_id\":1461351}]","technique":"[]","technologies":"[]","resultats_images":"[]"},"project_category":[106],"project_tag":[115,119,118],"class_list":["post-1358652","project","type-project","status-publish","has-post-thumbnail","project_category-wordpress-plugins","project_tag-coupons-en","project_tag-woocommerce-en","project_tag-wordpress-en"],"uagb_featured_image_src":{"full":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce.webp",960,640,false],"thumbnail":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce-150x150.webp",150,150,true],"medium":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce-300x200.webp",300,200,true],"medium_large":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce-768x512.webp",768,512,true],"large":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce.webp",960,640,false],"1536x1536":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce.webp",960,640,false],"2048x2048":["https:\/\/webpixelia.com\/wp-content\/uploads\/2023\/11\/coupon-after-order-woocommerce.webp",960,640,false]},"uagb_author_info":{"display_name":"Jonathan Webpixelia","author_link":"https:\/\/webpixelia.com\/en\/"},"uagb_comment_info":0,"uagb_excerpt":"An plugin for WooCommerce that allows you to automatically generate discount codes as a refund for a completed order for the customer and send him an email with his discount codes.","_links":{"self":[{"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/project\/1358652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/project"}],"about":[{"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/types\/project"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/media\/1460841"}],"wp:attachment":[{"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/media?parent=1358652"}],"wp:term":[{"taxonomy":"project_category","embeddable":true,"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/project_category?post=1358652"},{"taxonomy":"project_tag","embeddable":true,"href":"https:\/\/webpixelia.com\/en\/wp-json\/wp\/v2\/project_tag?post=1358652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}