This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Disable Downloadable Repeat Purchase – WooCommerce + WPML

چۈشەندۈرۈش

This WooCommerce plugin prevents a user from being able to purchase a downloadable product that they already own. In place of the «Add to Basket» button on the product page, a message will display informing the user they already own the item, and links to download the linked files are provided there. Those links are the special links to the file that are provided on the «My Downloads» page, or part of the «My Account» page.

If the user has had a refund for the item the normal «Add to Basket» button will show again, allowing purchase.

On any page that displays the products other than the single product page, the button shows as «Read More», as though the product is not available.

The plugin is very fast, works together with WPML and can show the output in any language!

Now it also works with WooCommerce Subscriptions!

ئېكران كەسمىسى

  • Nonpurchasable-message in theme Twenty Seventeen
  • Nonpurchasable-message in theme Storefront
  • Nonpurchasable-message in theme Shopkeeper
  • Nonpurchasable-message in theme Shop Isle
  • Nonpurchasable-message at variable product
  • Setting simple product
  • Setting variable product

ئورنىتىش

Just install the plugin as normal and activate it. Nothing else required.

FAQ

How does it work?

The plugin file adds 2 main functions that hook into WooCommerce using add_filter on ›woocommerce_is_purchasable‹, and ›woocommerce_single_product_summary‹.

It uses div tags, including «woocommerce-info wc-nonpurchasable-message», which means it should be styled in conjunction with any WooCommerce theme. Tested on Shopkeeper.

باھالاشلار

2 باھالاشنىڭ ھەممىنى ئوقۇش

تۆھپىكار ۋە ئىجادكار

«Disable Downloadable Repeat Purchase – WooCommerce + WPML» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«Disable Downloadable Repeat Purchase – WooCommerce + WPML» 1 تىلغا تەرجىمە قىلىنغان. تەرجىمانلارنىڭ تۆھپىسى ئۈچۈن رەھمەت.

«Disable Downloadable Repeat Purchase – WooCommerce + WPML» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

2.0.0

  • Bug fix introduced in version 1.2.3
  • Now it works also with WooCommerce Subscriptions
  • Updated to latest versions of WPML, WooCommerce and WordPress

1.2.3

  • Bug fix on variable products