Table of Contents
Problem Description #
When an offer is accepted, the email that should contain an “accepted offer” link or product URL either lacks the link or the link in the email does not work.
Common symptoms:
- The “Accept Offer” email has no product link or the link leads to a 404.
- Admin clicks an in-email link that fails to accept the offer or to return to the product.
Cause:
Possible causes include incorrect email template placeholders, permalink settings, sanitized HTML stripping link tags, or incorrect site URL settings (HTTP vs HTTPS, site URL mismatches) causing broken links. Sometimes theme or email sanitizer plugins modify email content. WordPress.org
Solution – step-by-step #
- Confirm email template settings in plugin
- Go to plugin settings → Email Options and ensure the template includes the correct placeholders for product URL and offer link. WPFactory docs list available placeholders (e.g., %product_url% or %offer_link%). Update template if necessary. WPFactory
- Check WordPress Address and Site Address
- Visit Settings → General and confirm WordPress Address (URL) and Site Address (URL) are correct (including https if in use). Mismatches lead to broken links in emails.
- Test permalink settings
- Go to Settings → Permalinks and click Save Changes to flush rewrite rules. This can fix 404s for generated product URLs.
- Inspect the raw email source
- Send a test offer acceptance email and view its raw source or HTML to see if the link placeholder was replaced correctly. If placeholders are empty, contact support with sample email content.
- Check for email sanitizers or security plugins
- Some plugins strip HTML or modify links in outgoing emails. Temporarily disable email/security plugins and resend a test email.
- If link points to wrong domain (HTTP/HTTPS), fix site URL or use relative links
- If you use proxying or an SSL offloader, ensure outgoing emails use the public site URL. Adjust home_url() settings if necessary.
- If accepted-offer action link (to accept via email) is failing
- Verify the accept action includes a signed nonce or token — server-side security may block it if you have extra security rules (WAF, ModSecurity). Check server logs and disable strict WAF rules temporarily for testing.
- Contact support with example email and issue
- Provide plugin version, WP/WooCommerce versions, sample email raw content, and product URL.
- Provide plugin version, WP/WooCommerce versions, sample email raw content, and product URL.
Prerequisites #
- Admin access and ability to send test emails.
- Ensure WP Address and Site Address are correctly set.
Additional Notes / Prevention #
- Keep email templates minimal at first to ensure placeholders populate correctly, then add styling.
- For transactional reliability use SMTP provider (WP Mail SMTP, etc.) to avoid email rewriting by hosts.
