OnSale Page for WooCommerce

外掛說明

OnSale Page for WooCommerce is an extension for WooCommerce. Since WooCommerce is popular we decided that it would be neat to
extend it with real WordPress page which displays products on sale. We developed this plugin because WooCommerce
has onsale widget and shortcode but it lacks paging, sorting and filtering which you can usually find on regular WooCommerce catalog page.

With our onsale page plugin you can setup OnSale Page for WooCommerce where you can display all products that are on sale. If you add text / content on your on sale page it will be displayed along with on sale products. Gutenberg and classic editor supported.

Support

You can contact us at our website wpgenie.org if you have problems or questions.

螢幕擷圖

  • OnSale Page plugin options
  • Two new types of pages (in PRO version)
  • Display conditions screenshot 1 – Elementor support (in Pro version)
  • Display conditions screenshot 2 – Elementor support (in Pro version)

安裝方式

Minimum Requirements

  • WordPress 5.0 or greater
  • WooCommerce 5.0 or greater

Setup

This section describes how to install OnSale Page for WooCommerce plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Create new page.
  4. Go to Woocommerce Settings -> Products -> tab Display.
  5. Under Shop & Product Pages you will notice “Onsale Page”.
  6. Select page you created for on sale page.
  7. Save settings.
  8. Go to new on sale page and you will see all on sale products there.

If you have any problems contact us at http://wpgenie.org/

常見問題集

Can I add content to on sale page?

Yes, from version v1.1.0 you can add content. If you add text / content on your on sale page it will be displayed along with on sale products. Gutenberg and classic editor supported.

I’m using latest WooCommerce and I don’t see any product on sale?

If you have problem with displaying on sale products empty wp_wc_product_meta_lookup table and regenerate it using Status -> Tools -> Regenerate Product lookup tables tool.

I cannot reach on sale page?

Go to WordPress settings -> Permalinks and click Save Cahnges button on the bottom without doing any changes. You will see notification “Permalink structure updated.” Should be all good now.

How can I show only specific category of products that are on sale?

Load page with ?product_cat query parameter for example http://onsale.test/product-category/clothing/accessories/?onsale

What are PRO features?

Pro features: Elementor support, new pages for Featured and Grouped products, on sale in category with http://onsale.test/product-category/clothing/accessories/?onsale and access to our support ticket system on https://wpgenie.org/support/

How I can use Elementor?

You need to go to Templates > Theme Builder, then click “Add New”, select Products Archive, insert template from Library, style it and
then once completed click “Publish”, add condition “On sale page”, “Group products page” or “Featured products page”. Save and close then publish.

Have a question?

If you want answer here please send us your questions to info@wpgenie.org

使用者評論

2021 年 7 月 30 日
This plugin NOT working with Polylang (Polylang PRO). It breaks my site: not working correctly switching to another language. Even if I don’t have translated (to another language) version of the page for discounts, it breaks links and URL’s: not working cart and checkout pages (for different language). When I switch to different language, and then press to cart button it redirects me to broken shop page, also if I click checkout button. This makes me mad, because I like the plugin…
2021 年 6 月 4 日
Does not work on my popular WordPress theme. On Sale products display for a few seconds, then they are replaced with ‘all’ products.
閱讀全部 27 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈OnSale Page for WooCommerce〉的開發相關工作。

參與者

將〈OnSale Page for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.1

  • Fix: layered nav error

2.0.0

  • Pro features introduced: Elementor support
  • Pro features introduced: new pages for Featured and Grouped products
  • Pro features introduced: on sale in category with special query arg ?onsale – https://onsale.test/product-category/clothing/accessories/?onsale
  • Add: hooks now as functions instead of class for easier unhooking
  • Add: Rank Math and Yoast support

1.1.3

  • Fix: WPMU compatibility

1.1.2

  • Add: HPOS compatibility
  • Add: versions

1.1.1

  • Fix: WPMU compatibility

1.1.0

  • Add: versions
  • Add: display on sale page content if exists
  • Fix: Rank Math seo fixes

1.0.12

  • Add: versions
  • Fix: seo canonical url

1.0.11

  • Add: versions

1.0.10

  • Add: wc_onsale_page_product_ids_on_sale filter

1.0.9

  • Add: Yoast SEO compatibility

1.0.8

  • Add: is_woocommerce_sale_page()

1.0.7

  • Add: WooCommerce OnSale Page Layered Nav Widget

1.0.6

  • Fix: Issue with current item in menu
  • Fix: Issue with language switcher in WPML

1.0.5

  • Fix: Issue with page title on sale page

1.0.4

  • Fix: Issue with 404 when there is no products on sale

1.0.3

  • Add: WPML support

1.0.2

  • Fix: product not showing when Shop Page Display is set to show categories
  • Fix: not showing option Shop Page Display in WooCommerce settings

1.0.1

  • Fix: notice when on sale page is not set

1.0

  • Initial release