Linux 软件免费装
Banner图

PurchaseCheck Badge for WooCommerce

开发者 softminal
diptosoftminal
更新时间 2026年7月5日 03:19
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0+
版权网址: 版权信息

标签

woocommerce hide add to cart already purchased purchased badge prevent duplicate orders

下载

1.0.0 1.2.0

详情介绍:

PurchaseCheck Badge for WooCommerce shows a customizable "Already Purchased" badge on products your logged-in customers have bought before — on the shop, category, and single product pages, including block themes. Go further: block repurchase entirely (hide Add to Cart for owned products), warn customers at checkout about duplicate items, and give them a "My purchases" list in My Account. Perfect for digital products, courses, licenses, and any store where buying twice is a mistake. Key Features Prevent Duplicate Orders Enable Prevent Repurchase and owned products become non-purchasable for that customer: the Add to Cart button is replaced with a customizable notice. Scope it to all products or only virtual/downloadable ones. An optional checkout warning catches duplicates that slip into the cart. Show Customers What They Already Bought Every purchased product gets a badge with an optional hover summary (purchase count, last purchase date, order link). A "My purchases" tab in My Account — plus a shortcode and Gutenberg block — lists everything they own. How It Works The plugin checks a logged-in customer's order history and displays a badge on products they've previously purchased. The badge appears: Settings Configure the plugin through WooCommerce → Settings → Purchased Badge:

安装:

Automatic Installation
  1. Log in to your WordPress admin panel
  2. Navigate to Plugins → Add New
  3. Search for "PurchaseCheck Badge for WooCommerce"
  4. Click Install Now and then Activate
Manual Installation
  1. Download the plugin zip file
  2. Log in to your WordPress admin panel
  3. Navigate to Plugins → Add New
  4. Click Upload Plugin
  5. Choose the zip file and click Install Now
  6. Click Activate Plugin

屏幕截图:

  • Badge with purchase details (count, last purchase date, and order link) on the single product page.
  • Prevent Repurchase in action — Add to Cart replaced with a customizable “You already own this” notice.
  • Checkout warning when the cart contains items the customer already bought.
  • “My purchases” tab in My Account listing everything the customer owns.
  • Settings panel under WooCommerce > Settings > Purchased Badge.

升级注意事项:

1.2.0 Major update: Prevent Repurchase mode, block theme support, a "My purchases" account tab, purchase details with order links, checkout duplicate-purchase warning, exclusions, and HPOS compatibility. New features are off by default. Recommended for all stores. 1.0.0 Initial release.

常见问题:

Can I stop customers from buying the same product twice?

Yes. Enable Prevent Repurchase under WooCommerce → Settings → Purchased Badge → Prevent Repurchase. Owned products become non-purchasable for that customer and the Add to Cart button is replaced with a customizable notice. You can apply it to all products or only virtual/downloadable ones.

How do I hide the Add to Cart button for already purchased products?

Turn on Prevent Repurchase. For any product the customer already owns, the Add to Cart button is removed and replaced with a notice you can customize. Combine it with the badge so customers see why the button is gone.

Can customers see a list of products they already bought?

Yes. A "My purchases" tab is added to the WooCommerce My Account page (on by default). You can also place the list anywhere with the [pcbw_purchased_products] shortcode or the "My Purchased Products" Gutenberg block.

Does it work with block themes?

Yes. Badges render inside Product Collection grids and on block-based single product templates, as well as classic themes.

Can I exclude certain products or categories?

Yes. Under the General settings you can exclude individual products by ID or entire categories from both the badge and repurchase blocking.

Does this plugin work with product variations?

Yes! If a customer purchases any variation of a variable product, both the variation and the parent product will be marked as purchased.

Which order statuses should I select?

Typically, you'll want to select "Completed" and "Processing" statuses. However, you can customize this based on your business needs. For example, if you want to show badges only for fully completed orders, select only "Completed".

Will the badge show for guest users?

No, the badge only displays for logged-in users. This is because the plugin needs to check the user's order history, which requires authentication.

Does this affect site performance?

The plugin is optimized for performance using caching. Purchase data is cached per user and automatically cleared when new orders are placed. The plugin uses efficient WooCommerce APIs to minimize database queries.

What happens when an order status changes?

The plugin automatically clears the cache when order statuses change, ensuring badges are always up-to-date.

更新日志:

1.2.0 1.0.0