Linux 软件免费装
Banner图

Coming Soon Badge for WooCommerce

开发者 wpcentrics
更新时间 2024年11月19日 08:19
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

coming soon badge product badge woocommerce badge

下载

1.0.4 1.0.0 1.0.1 1.0.15 1.0.2 1.0.3 1.0.18 1.0.16 1.0.17 1.0.6

详情介绍:

Design your badge for WooCommerce for coming soon products easily, and choose which products will be shown! You can design your badge on this ways:

安装:

Can be installed as usual:
  1. From admin plugins>add new page: search “coming soon for woocommerce” and click on install button, then activate.
  2. Or download from wordpress.org and upload on plugins>add new.
  3. Or download, unzip and upload through FTP to the /wp-content/plugins/ directory. Then go to admin plugins page and activate it.
How to configure the plugin?
  1. Activate it
  2. Setup the badges in Woocommerce > Coming Soon config (you can skip this step, will work by default with a gray spot badge)
  3. Edit any product where you want to show the badge, and activate the checkbox labeled "Show Coming Soon badge" under the publication product date.

屏幕截图:

  • The badge styles configurator: friendly and with preview
  • The loop
  • The product page

升级注意事项:

This release

常见问题:

Where I setup the badges?

On admin side, go to WooCommerce > Coming Soon config

How to disable adding to cart when the product is set to coming soon?

The plugin don't does it for now, there is two ways on WooCommerce to lock a product purchase:

  1. You can remove the regular and sale price for a product, or
  2. You can set the product stock to 0, or the stock status to out of stock (if you haven't set the WooCommerce product setting "Hide out of stock items from catalog", otherwise product will be hidden)

Where I set coming soon for my products?

Enter on a product edition, and activate the checkbox labeled "Show Coming Soon badge", just below the publication date. Then save the product.

Will work with my theme?

Well, we can't sure 100% you, but we're coded the plugin following the standard WooCommerce template system, and should work well on every theme. In any case, we're writed it taking care that doesn't break the layout if it not works. Please, write us on the support forum to tell us about: whether to say if it works well, or not with your theme. It will help us and others, and we will try to make it works for you it it doesn't.

I'm theme developer. How to be compatible?

Comming Soon for WooCommerce works with the actions found in the standard product loop and single product templates. The used actions to print the badge code are: For single product: do_action( 'woocommerce_after_main_content' ); For product loop: do_action( 'woocommerce_shop_loop_item_title' ); You can find this actions in the templates: wp-content/plugins/woocommerce/templates/single-product.php (single product template) wp-content/plugins/woocommerce/templates/content-product.php (print each product on loop) ...if you want to override this files on your WooCommerce child theme, or you're coding one from scratch, maybe you have the same file names on your theme folder: wp-content/themes/your-theme/woocommerce/content-product.php wp-content/themes/your-theme/woocommerce/single-product.php in this case, simply check you've this actions on your code: For single product: do_action( 'woocommerce_after_main_content' ); For product loop: do_action( 'woocommerce_shop_loop_item_title' ); ...and Coming Soon for WooCommerce will do the rest :)

The badge preview is not exactly equal as badge on front-end

The plugin can't guess your theme font-family or product thumbnail size, so maybe you should adjust a bit the text and badge size.

更新日志:

1.0.18 - 2024-11-18 1.0.17 - 2024-09-24 1.0.16 - 2024-05-10 1.0.15 - 2023-06-26 1.0.14 - 2022-12-22 1.0.13 - 2022-05-26 1.0.12 - 2022-05-04 1.0.11 - 2022-02-11 1.0.8 - 2021-09-12 1.0.7 - 2021-07-19 1.0.6 - 2021-07-14 1.0.5 - 2021-07-14 1.0.4 - 2021-06-9 1.0.3 - 2021-06-9 1.0.2 - 2021-02-13 1.0.1 - 2020-12-30 1.0.0 - 2020-12-13