Skip to content

Commit

Permalink
UPD 2.3.9.1 - поведение кнопки Купить в специальном режиме
Browse files Browse the repository at this point in the history
  • Loading branch information
artikus11 committed Nov 27, 2020
1 parent b7c9953 commit f3b8c84
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"before_deploy": [
"git config --local user.name \"artikus11\"",
"git config --local user.email \"artikus.sol@gmail.ru\"",
"git tag \"2.3.9\""
"git tag \"2.3.9.1\""
],
"deploy": [
{
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

## Changelog

### = 2.3.9.1 =
* Исправлено - поведение кнопки Купить в специальном режиме

### = 2.3.9 =
* Исправлено - исправление html статуса, если товара нет в наличии
* Исправлено - стили скытия шататной кнопки Купить
Expand Down
4 changes: 2 additions & 2 deletions art-woo-order-one-click.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* Text Domain: art-woocommerce-order-one-click
* Domain Path: /languages
* Description: Plugin for WooCommerce. It includes the catalog mode in the store (there are no prices and the Buy button) and can turn on the Buy/Order button in one click. WooCommerce and Contact Form 7 are required for proper operation.
* Version: 2.3.9
* Version: 2.3.9.1
* Author: Artem Abramovich
* Author URI: https://wpruse.ru/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* WC requires at least: 3.3.0
* WC tested up to: 4.5
* WC tested up to: 4.8
*
* Copyright Artem Abramovich
*
Expand Down
4 changes: 0 additions & 4 deletions includes/class-awooc-front-end.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ public function add_custom_button() {
$this->disable_loop();
}

if ( $product->is_in_stock() ) {
$this->hide_button_add_to_card();
}

awooc_html_custom_add_to_cart();
break;
case 'show_add_to_card':
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://wpruse.ru/r/donat/
Tags: woocommerce, mode catalog
Requires at least: 4.8
Tested up to: 5.6
Stable tag: 2.3.9
Stable tag: 2.3.9.1
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -99,6 +99,9 @@ e.g.

== Changelog ==

= 2.3.9.1 =
* Исправлено - поведение кнопки Купить в специальном режиме

= 2.3.9 =
* Исправлено - исправление html статуса, если товара нет в наличии
* Исправлено - стили скытия шататной кнопки Купить
Expand Down

0 comments on commit f3b8c84

Please sign in to comment.