Advanced WP_CONFIG Settings
FoxyShop has a number of advanced settings which you can set in your wp-config.php file which will allow you to unlock different features or adjust the way FoxyShop works. When adding the codes, make sure that the codes are placed before the require_once(ABSPATH . 'wp-settings.php');
line.
Complete List Advanced Features
Change the “products” slug to “something-else”:
define('FOXYSHOP_PRODUCTS_SLUG','something-else');
Change the “product-cat” slug to “something-else”:
define('FOXYSHOP_PRODUCT_CATEGORY_SLUG','something-else');
Change the “product-sitemap” slug to “something-else”:
define('FOXYSHOP_PRODUCT_SITEMAP_SLUG', 'something-else');
Allow products to accept comments:
If doing this, make sure that the comments_template() goes outside of the product form
define('FOXYSHOP_PRODUCT_COMMENTS',1);
Allow products to use tags:
define('FOXYSHOP_PRODUCT_TAGS',1);
Skip HMAC Verification:
deprecated in 4.2+define('FOXYSHOP_SKIP_VERIFICATION',1);
Allow a certain file-type to be uploaded. Add extensions separated by comma:
define('FOXYSHOP_ALLOWED_EXTENSIONS','mov,avi,mp4');
Bundled products are added at full price instead of $0.00:
define('FOXYSHOP_BUNDLED_PRODUCT_FULL_PRICE',1);
Change the path that FoxyShop looks for template files:
define('FOXYSHOP_TEMPLATE_PATH','/full/path/here/');
Force a certain version of jQuery:
define('FOXYSHOP_JQUERY_VERSION','1.8.3');
Keep FoxyShop from embedding the FoxyCart include files (if you need to do so manually):
define('FOXYSHOP_SKIP_FOXYCART_INCLUDES',1);
Throughout the admin, change “Product” to “Class” or something else:
define('FOXYSHOP_PRODUCT_NAME_SINGULAR','Class');
define('FOXYSHOP_PRODUCT_NAME_PLURAL','Classes');
Setup a url base. This is often necessary for Windows IIS:
define('FOXYSHOP_URL_BASE','/index.php');
Change cURL Timeouts:
define('FOXYSHOP_CURL_CONNECTTIMEOUT', 10);
define('FOXYSHOP_CURL_TIMEOUT', 15);
Disable the cURL’S SSL Peer Verification:
define('FOXYSHOP_CURL_SSL_VERIFYPEER', 0);
Keep Orders and Subs From Searching Automatically:
define('FOXYSHOP_AUTO_API_DISABLED', 1);
Disable the Social Media Meta Tags in Header:
define('FOXYSHOP_DISABLE_SOCIAL_MEDIA_META', 1);
Max number of API entries requested at one time (default is 50): (v 3.7.2+)
define('FOXYSHOP_API_ENTRIES_PER_PAGE', 100);
Override the UPS Export Residential Indicator:
1 = Residential, 2 = Business, ” (blank) keys off company field
define('FOXYSHOP_UPS_RESIDENTIAL_INDICATOR', 1);