Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Поддержка статусов WooCommerce #13

Open
mihdan opened this issue May 2, 2024 · 0 comments
Open

Поддержка статусов WooCommerce #13

mihdan opened this issue May 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mihdan
Copy link
Owner

mihdan commented May 2, 2024

/src/Hooks.php
например в строку 55

$product = wc_get_product( $post );

    if ( ! $product->managing_stock() && ! $product->is_in_stock() ) {
      return;
    }

Пушить все товары, или только те, которые в наличии. Есть магазины, которые типа для сео не убирают из каталога товары, которых нет, и есть те, которые убирают. Продублировать в плагине настройку вукоммерс - возможность пушить товары только в наличии или все подряд

@mihdan mihdan self-assigned this May 2, 2024
@mihdan mihdan added the enhancement New feature or request label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant