Skip to content
Sign in
Anywhere Add to Cart: Customizable Shopping Shortcode icon

Anywhere Add to Cart: Customizable Shopping Shortcode

Add a customizable 'Add to Cart' button anywhere on your site with a simple shortcode.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Anywhere Add to Cart is a lightweight and secure plugin designed to give you total control over your WooCommerce purchase buttons. Whether you are building a custom landing page, a blog post, or a unique layout in a page builder like Elementor or Divi, this plugin allows you to drop a fully functional ‘Add to Cart’ button anywhere using a simple shortcode.

Unlike standard shortcodes, this plugin is optimized for Variable Products, handling attribute selection and live price updates seamlessly. It also features a built-in styling dashboard so you can match your buttons to your brand without writing a single line of CSS.

🚀 Key Features

  • Smart Shortcode: Use [anywatc] to automatically detect product IDs on single product pages.
  • Specific Targeting: Use [anywatc id="123"] to display a button for any specific product on any page.
  • Variation Support: Full support for WooCommerce variations, including dropdowns and price updates.
  • Style Customizer: Easily change button colors, typography, and border styles from the admin menu with a live preview.
  • Performance Optimized: Scripts and styles are only loaded on pages where the shortcode is used.
  • Developer Friendly: Built with security best practices, including strict output escaping, input sanitization, and WooCommerce HPOS compatibility.

Written by Joobi from the project's own listing. See the source page

add to cartcustom buttonshortcodevariation selectorwoocommerce
2 Dec 2026
Version 1.0.3 released. Not scanned yet.

1.0.3

  • Tested and verified compatibility with WordPress 7.2 and PHP 8.0–8.6.
  • Updated inline jQuery initialization to jQuery(function($) { ... }) for jQuery 4 readiness and scoped variation initialization to .anywatc-wrapper.
  • Fixed font size CSS output and added missing Style Settings fields (hover color, border color, dropdown background, font weight, font family) with a live preview.
  • Improved performance by enqueuing frontend styles and variation scripts only when the shortcode renders.
  • Switched shortcode rendering to woocommerce_template_single_add_to_cart() to support all WooCommerce product types cleanly.
  • Added Requires Plugins: woocommerce header and WooCommerce HPOS (custom_order_tables) compatibility declaration.

1.0.2

  • Refactored script loading to use wp_add_inline_script() for better compliance.
  • Updated all function and option prefixes to anywatc_ to prevent naming collisions.
  • Updated “Tested up to” version to 6.9.
  • Verified compatibility with PHP 8.0+.

1.0.1

  • SECURITY: Implemented strict output escaping using esc_html_e() and esc_attr().
  • SECURITY: Added wp_unslash() and rigorous sanitization for all admin settings.
  • FIXED: Resolved trademark naming restrictions for the WordPress.org repository.

1.0.0

  • Initial Release.
30 Apr 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)