WooCommerce Redirect CTA
Replace the Add to Cart button on selected WooCommerce products with a custom call-to-action linking to an external URL (e.g. Uber Eats, DoorDash).
by NoorDev · github.com/noordevtech/woocommerce-redirect-cta
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/noordevtech/woocommerce-redirect-cta/archive/refs/heads/claude%2Fwoocommerce-external-redirect-PHhGj.zipReplace the Add to Cart button on selected WooCommerce products with a custom call-to-action linking to an external URL.
Description
Useful for restaurants and stores that list products on their WooCommerce site for browsing but fulfil orders through an external platform (Uber Eats, DoorDash, SkipTheDishes, an affiliate, etc.).
- Per-product toggle, external URL, and optional button text override (Product data > Redirect / External CTA).
- Global default button text (WooCommerce > Settings > Products > Redirect CTA).
- Replaces Add to Cart on the single product page and shop/archive loops.
- Defensive block: cart additions for redirected products are rejected if the URL is hit directly.
- Optional new-tab and rel="nofollow sponsored" handling.
- HPOS compatible.
Installation
- Upload the
woocommerce-redirect-ctafolder to/wp-content/plugins/, or install the zip via Plugins > Add New. - Activate it from the Plugins screen.
- Configure global defaults at WooCommerce > Settings > Products > Redirect CTA.
- On any product, open the Product data > Redirect / External CTA tab, tick "Enable", paste the external URL, and optionally override the button text.
Changelog
1.0.0
- Initial release.