Linux 软件免费装
Banner图

Omnibus — show the lowest price

开发者 iworks
更新时间 2024年11月20日 21:16
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 6.6
版权: GPLv3 or later

标签

shop e-commerce WooCommerce price omnibus

下载

3.0.3 2.0.1 2.3.8 1.2.5 2.1.5 2.4.0 2.4.1 2.5.5 2.5.6 2.5.7 1.0.0 1.2.0 2.5.0 2.5.1 2.5.2 2.2.1 2.3.3 2.3.5 2.3.6 2.3.7 2.2.0 2.3.9 2.5.3 2.1.0 2.5.4 1.1.1 1.2.1 1.2.2 1.2.4 1.2.3 2.0.0 2.1.1 2.1.4 2.1.6 2.2.3 2.3.0 2.0.2 2.1.2 2.2.2 2.3.2 2.3.4 2.1.3 2.3.1 3.0.1 1.1.0 1.2.6 3.0.0 3.0.2 1.0.1

详情介绍:

This plugin allows your site to be compliant with the Directive of the European Parliament and of the Council (EU) 2019/2161 of November 27, 2019, known as the "Omnibus Directive." This plugin: Omnibus plugin support plugins: Directive (EU) 2019/2161 of the European Parliament
Article 6a 1. Any announcement of a price reduction shall indicate the prior price applied by the trader for a determined period of time prior to the application of the price reduction. 2. The prior price means the lowest price applied by the trader during a period of time not shorter than 30 days prior to the application of the price reduction.
Read more: Directive 2019/2161. See room for improvement? Great! There are several ways you can get involved to help make Omnibus — show the lowest price better:
  1. Report Bugs: If you find a bug, error or other problem, please report it! You can do this by creating a new topic in the plugin forum. Once a developer can verify the bug by reproducing it, they will create an official bug report in GitHub where the bug will be worked on.
  2. Suggest New Features: Have an awesome idea? Please share it! Simply create a new topic in the plugin forum to express your thoughts on why the feature should be included and get a discussion going around your idea.
  3. Issue Pull Requests: If you're a developer, the easiest way to get involved is to help out on issues already reported in GitHub. Be sure to check out the contributing guide for developers.
Thank you for wanting to make Omnibus — show the lowest price better for everyone!

安装:

There are 3 ways to install this plugin: 1. The super-easy way
  1. Navigate to WPA > the Plugins and click the Add New button.
  2. Search for Omnibus — show the lowest price.
  3. Click to install.
  4. Activate the plugin.
  5. WooCommerce: Check the configuration by going to WPA > WooCommerce > Settings > Omnibus.
  6. LearnPress: Check the configuration by going to WPA > LearnPress > Settings > Courses > Omnibus Directive Settings.
2. The easy way
  1. Download the plugin (.zip file) on the right column of this page.
  2. Navigate to WPA > the Plugins and click the Add New button.
  3. Select the button Upload Plugin.
  4. Upload the .zip file you just downloaded.
  5. Activate the plugin.
  6. WooCommerce: Check the configuration by going to WPA > WooCommerce > Settings > Omnibus.
  7. LearnPress: Check the configuration by going to WPA > LearnPress > Settings > Courses > Omnibus Directive Settings.
3. The old and reliable way (FTP)
  1. Upload the omnibus folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. WooCommerce: Check the configuration by going to WPA > WooCommerce > Settings > Omnibus.
  4. LearnPress: Check the configuration by going to WPA > LearnPress > Settings > Courses > Omnibus Directive Settings.

屏幕截图:

  • A simple WooCommerce product on the admin panel.
  • A variable WooCommerce product on the front end.
  • A variable WooCommerce product on the front end.
  • A variable WooCommerce product on the admin panel.
  • A Tutor LMS course on the front end.
  • A LearnPress course on the front end.
  • A YITH WooCommerce Product Bundle on the front end.
  • The WooCommerce configuration.

升级注意事项:

2.5.0
  • The ability to show the regular price as the last one available before the promotion was introduced. Check it on WordPress Admin -> WooCommerce -> Settings -> Omnibus -> Messages.
2.1.0 Better integration with the LearnPress plugin has been added. 2.0.0 The most important change is the correct implementation of the directive, which says that the last lowest price from 30 days after the activation of the promotion should be presented. This means that the price may be earlier than the last 30 days and may be higher than the current promotional price.

常见问题:

How can I display the Omnibus message anywhere?

You can use the omnibus_price_message shortcode: Just edit your product and insert it into the content: [omnibus_price_message] If you need the Omnibus message outside of a product, you have to add the id param with the product ID. [omnibus_price_message id="example-id"]

How can I use an action to display the Omnibus message anywhere?

Use the iworks_omnibus_wc_lowest_price_message action with the product ID or on a single product page. For a single product: do_action( 'iworks_omnibus_wc_lowest_price_message' ); For any WooCommerce product: do_action( 'iworks_omnibus_wc_lowest_price_message', $product_ID );

I have a problem with the plugin, or I want to suggest a feature. Where can I do this?

You can do it on Support Threads, but please add your ticket to Github Issues.

How can I avoid saving the price log?

When you want to skip saving a price during the insert or update product, you can use iworks_omnibus_add_price_log_skip filter to avoid price logging. ` `

How can I get lowest price log data?

You should use iworks_omnibus_wc_get_lowest_price filter to get array. On single product page, without product ID: ` Anywhere with the product ID: `

How can I strip HTML from a shortcode message?

Please set the "strip_tags" parameter to "yes": [omnibus_price_message strip_tags="yes"]

How can I use my own template in the shortcode message?

Please add template param with needed format: [omnibus_price_message template="This is price: {price}!"]

How can I remove all this plugin related data?

To remove all data saved by this plugin, you should use the SQL command. Warning: This operation can be undone. Please be sure you have the database backup before you try to use the command below: delete from {$wpdb->postmeta} where meta_key in ( '_iwo_price_lowest_is_short', '_iwo_last_price_drop_timestamp', '_iwo_price_last_change', '_iwo_price_lowest' );

What is the minimum WooCommerce version required?

The minimum WooCommerce version required is 5.5.0.

更新日志:

Project maintained on github at iworks/omnibus. 3.0.3 (2024-08-09) 3.0.2 (2024-03-14) 3.0.1 (2024-03-12) 3.0.0 (2024-01-19) 2.5.7 (2024-01-16) 2.5.6 (2024-01-16) 2.5.5 (2024-01-10) 2.5.4 (2024-01-09) 2.5.3 (2024-01-05) 2.5.2 (2024-01-03) 2.5.1 (2024-01-02) 2.5.0 (2023-11-19) 2.4.1 (2023-11-09) 2.4.0 (2023-11-09) 2.3.9 (2023-06-22) 2.3.8 (2023-06-14) 2.3.7 (2023-06-13) 2.3.6 (2023-06-13) 2.3.5 (2023-06-12) 2.3.4 (2023-02-04) 2.3.3 (2023-02-03) 2.3.2 (2023-01-27) 2.3.1 (2023-01-25) 2.3.0 (2023-01-24) 2.2.3 (2023-01-12) 2.2.2 (2023-01-10) 2.2.1 (2023-01-10) 2.2.0 (2023-01-09) 2.1.6 (2023-01-08) 2.1.5 (2023-01-08) 2.1.4 (2023-01-07) 2.1.3 (2023-01-05) 2.1.2 (2023-01-05) 2.1.1 (2023-01-05) 2.1.0 (2023-01-05) 2.0.2 (2023-01-04) 2.0.1 (2023-01-04) 2.0.0 (2023-01-04) 1.2.6 (2023-01-03) 1.2.5 (2023-01-03) 1.2.4 (2023-01-02) 1.2.3 (2023-01-02) 1.2.2 (2023-01-02) 1.2.1 (2023-01-02) 1.2.0 (2023-01-02) 1.1.1 (2022-12-31) 1.1.0 (2022-12-30) 1.0.1 (2022-12-29) 1.0.0 (2022-12-29)