Discount highest priced first

By default, the BOGO discount applies to the lowest-priced item. If you want to flip that and apply the discount to the highest-priced item instead, 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:


/* 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.

Skip to content