ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

WooCommerce – Prevent Purchase

აღწერა

This plugin requires WooCommerce. It allows the site owner to prevent a product from being purchased by enabling a checkbox. It also allows you to override the message on a per-product basis. This will be useful for when you want to let customers know a product is only available in-store but still have the product listed on your website.

How does it work?

This is a very simple plugin that hooks into WooCommerce’s woocommerce_is_purchasable filter. When a product is deemed unpurchasable the “add to cart” button on the main product listing is replaced with a “read more” button. When the customer views the single product page they are shown a message that the product is not available for purchase and the add to cart buttons are removed.

Stay up to date

Become a fan on Facebook
http://www.facebook.com/sumobicom

Follow me on Twitter
http://twitter.com/sumobi_

დაყენება

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name

Go to a product’s edit/publish screen and enable the “Prevent Purchase” checkbox. Optionally you can enter in a custom message which is shown on the single product page.

1.0

  • Initial release

მიმოხილვები

1 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“WooCommerce – Prevent Purchase” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ WooCommerce – Prevent Purchase თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.