woocommerce smart coupons disable credit details "gift coupons to someone else"

I would like to disable the option to gift coupons to someone else. Is there a way to hide this? Screen shot

How to correctly call a function in one plugin, from another plugin, which relies on WooCommerce variables

I am using WooCommerce with two plugins: Yith Gift Card and WooCommerce Pos. Yith Gift Card plugin, allows you to sell Gift Card tokens for your store. When someone purchases a gift card the...

Code to manually apply an Email restriction on a coupon in woocommerce

So I have an e-commerce site using wordpress and woo-commerce, now using the smart-coupon woocommerce plugin extension is there a way for me to create a credit coupon/gift-card (that initially has...

How to make WooCommerce coupon code count delivery as an expense

We are using WooCommerce coupon codes as gift cards. We understand this is not the original purpose, but we do not have the capacity for anything else at the moment. It is working just fine except...

How to display current date in php?

I am using the wordpress plugin "WooCommerce Gift Coupon" which generates a PDF sent as attachment to the customer via mail. I want to display the current date in that PDF and already found the...

Smart Coupons for WooCommerce plugin small changes

hi I'm using the Smart Coupons for WooCommerce by "WebToffee" plugin and I would like to make two changes. 1) When the user does not have any coupon, the title should be: You do not have any gift...

WooCommerce Coupon Field Extension

I added new custom post type 'giftcard' and extended WooCommerce simple product by adding checkbox 'Gift Card' Whenever order status changed to 'processing' and it contains product type giftcard,...

Wordpress: Allow shop manager roles to edit plugins

I'm trying to modify the user permissions for my Shop Managers on Wordpress Woocommerce so they can use a plugin called Woocommerce Gift Coupons. I had a look at this guide on how to use...

How to extract Woo Commerce Gift Card redeemed value from data using Smart Coupon

How can I extract gift card redeemed value from Woo Commerce order using PHP and WC classes? I have an e-commerce site using wordpress and woo-commerce, now using the smart-coupon woocommerce...

wordpress/woocommerce infinite loop

I am building a coupon plugin for woocommerce at the moment, one of the coupons can add a free gift to the cart, and I think I am caught in an infinite loop and I am not sure how to program myself...

WooCommerce Removing Coupon Field From Cart For Specific Product

I have a fatal error in a child theme's functions.php file around line 228. Here's the section. The purpose of the code is to hide the coupon field on the cart page when the customer is ordering a...

Disable coupons & discounts from applying to defined Woocommerce products in cart

I would like to stop any discount code being applied when purchasing a certain product (in this case a Gift Card). Other items in the cart should be unaffected and have the discount code applied...

Display the product category of a an order item in the WooCommerce email notifications

I am using the plugin smart coupons for Woocommerce. In trying to customize the gift certificate received by mail, I can not display the category of the product included in the order. How to...

Store Custom Data on item in Woocommerce Cart

I'm developing a gift card system, and we're using the woocommerce smart coupons plugin. When users order a gift card, they can add the name of who it's to, as well as a message to be sent to the...

How to add a Bogo custom field to Bulk Coupon Import in Woocommerce (using Woocommerce Smart Coupons)

We use wordpress, woocommerce, woocommerce smart coupons (tons of features including the bulk export coupons functionality), and woocommerce auto added coupons pro (adds in the bogo...

Hide Flat Rate shipping exclusively for a product category in Woocommerce

This is an extension of this question: https://stackoverflow.com/questions/38919165/remove-shipping-flat-rate-method-for-particular-category-in-woocommerce-2-6-and Used the Woo Smart Coupons...

Pass php variable into Wordpress Query function

I would like to use ACF to store a variable which I then use in a wc_enqueue_js tag. If the variable is available via php as $couponCheck, I need to make it available as an array inside the...

How to check an array with a dynamic value using jQuery.inArray

why does this jQuery.InArray not work? I am hoping that a coupon is added, the value is checked against an array. If it's in the array, fire the console.log otherwise do nothing. When I load the...