plugin-icon

Default Attributes for WooCommerce

제작자: Condless·
WooCommerce plugin that sets default attribute for variable products automatically if only 1 option is in-stock.
등급
5/5
버전
1.2
활성화된 설치 항목
500
최근 업데이트일
May 8, 2025
Default Attributes for WooCommerce

WooCommerce plugin that sets default attribute for variable products automatically if only 1 option is in-stock.

Documentation | Contact

Variable product of T-shirt with color attribute (White/Blue/Black) and size attribute (S/M/XL): If only Black T-shirts are in-stock: default color (Black), default size (none). If only Small T-shirts are in-stock: default color (none), default size (Small). If only White and XL T-shirts are in-stock: default color (White), default size (XL).

How It Works

  1. Before product variations is displayed to the customer, the plugin will check each attribute, and if there is only 1 in-stock option it will be set as the default.

Features

  • Stock: Set option as default when it’s the only 1 in-stock.
  • Per Attribute: Set specific option as default in all products with that attribute (from the Edit Attribute screen)
  • Top: Set as default the first option of each attribute.
  • Out of stock: Disable out of stock variations.
  • Add to Cart button: In archive pages display for variable products the attribute name instead of: “Select options”.
  • Select options: In single product pages remove the select options text if default attribute is set.
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.