How to upload an image for gift cards

Smart Coupons provide a powerful, “all-in-one” solution for gift cards, store credits, discount coupons, and vouchers, extending the core functionality of WooCommerce coupons.

This doc article explains how to allow customers to upload an image to send with the gift card.

Smart Coupons lets you enhance your gift cards by allowing customers to upload an image that will be sent along in the gift card email. This is especially useful for gift cards, making them more personalized and engaging.

Steps to enable image upload for gift cards

↑ Back to top
  1. Log in to your WordPress dashboard.
  2. Navigate to Products and either create a new product or edit an existing gift card product.
  3. In the Product data section, scroll down to find the Image upload option.Smart-Coupons-Image-Upload
  4. Check the box to Enable image upload.
  5. Save or update the product.

Tips: By default, the limit is 2 MB. If you want to upload an image larger than 2 MB, you can use this filter on your website.
apply_filters( 'wc_sc_custom_gift_max_file_size', 2097152 );

How it works on the frontend

↑ Back to top
  • When customers visit the gift card product page, they’ll see an option to upload an image.Smart-Coupons-Product-Image-Upload
  • They can upload an image of their choice, which will be sent with the gift card email.
  • After completing the purchase, the uploaded image will automatically appear in the auto-generated gift card email sent to the recipient.

That’s it!

With this feature enabled, customers can personalize their gift card purchases with images, creating a more meaningful gift experience.

Related Products

Let customers subscribe to your products or services and pay on a weekly, monthly or annual basis.

Protect your eCommerce store from malicious and automated attacks by using reCaptcha for WooCommerce.