Custom order for the amounts drop-down menu (Variations)
By default, new gift card amounts will be sorted from least-expensive to most-expensive.
If you want to set a custom sort order, follow these steps:
1. Download the wp-config.php from your FTP server.
2. Keep a backup of wp-config.php in case there are problems.
3. 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:
define( 'PWGC_SORT_VARIATIONS', false ); /* That's all, stop editing! Happy blogging. */
4. Save the wp-config.php file and re-upload it to your server. If you have any problems, replace wp-config.php with your backup file.
5. Log into your WordPress admin area and click on the Products menu.
6. Edit the PW Gift Card product and click the Variations tab.
7. Use the sort icon to drag and drop the variations into the desired order.
8. Click on Save Changes.