Rename the “Gift Card Amount” attribute

The attribute name is defined in the plugin so that it will match and still allow other attributes. Follow these steps to change the “Gift Card Amount” attribute name:

1. Log into your FTP site and edit wp-config.php
2. Edit wp-config.php and scroll to the end and add the following bit of code:

Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line (translate as needed):

define( 'PWGC_DENOMINATION_ATTRIBUTE_NAME', 'Gift Card Amount' );

/* That's all, stop editing! Happy blogging. */

3. Save the wp-config.php file and re-upload it to your server.
4. Edit the PW Gift Card product and change the attribute name to match then save the product.

Skip to content