前言介紹
- 這款 WordPress 外掛「Gravity Forms / WooCommerce Recently Viewed Products」是 2014-05-11 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2014-05-21,距離現在已有 4001 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.8 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
forms | woocommerce | click stream | gravity forms | recent products |
內容簡介
此外掛會自動將 WooCommerce 中最近瀏覽的商品加入您的表單提交,讓您了解訪客在發送查詢前對哪些商品感興趣。
只需安裝並啟用此外掛。若您的網站上已設置 WooCommerce 和 Gravity Forms,您將在表單輸入畫面中看到您的訪問者最近瀏覽的商品。如需將此資料也加入您的電子郵件中,請使用 {recently_viewed_products} 合併標籤。
請注意:此外掛不會在您的網站上添加任何額外的追蹤功能。如果您安裝了 WooCommerce,它會自動為每個訪客追蹤最近瀏覽的商品,並將其儲存在 cookie 中,此外掛使用該 cookie 增加到每筆表單提交中。使用此外掛時,請確保您的隱私政策清楚說明您如何使用訪客的點擊流資訊。
開發人員專屬
此外掛非常具有擴充性,可以輕鬆實現不同的電子商務後端或完全不同的追蹤機制。要修改追蹤,請創建 GF_Recently_Viewed_Products 的子類別並覆蓋 _get_current_recently_viewed_products 方法,或使用以下篩選器:
用於 WooCommerce:
wc_gf_recently_viewed_product_ids (array) 文章 ID 清單
wc_gf_recently_viewed_products_query (array) get_posts 查詢 (用於更改文章類型)
wc_gf_recently_viewed_products (array) 文章清單
未使用 WooCommerce:(請確認自行初始化 GF_Recently_Viewed_Products 類別)
gform_recently_viewed_product_ids (array) 文章 ID 清單
gform_recently_viewed_products_query (array) get_posts 查詢 (用於更改文章類型)
gform_recently_viewed_products (array) 文章清單
如果您擴展此外掛,
原文外掛簡介
This plugin automatically adds Recently Viewed Products from WooCommerce to your form submissions, giving you insight into what products your visitors were interested in before sending their enquiry.
Simply install the plugin and activate it. If both WooCommerce and Gravity Forms are set up on your website, you will start seeing the recently viewed products of your visitors in your form entry screen. To also add the data to your emails, use the {recently_viewed_products} merge tag.
Please note: This plugin does not add any extra tracking to your website. If you have WooCommerce installed, it will automatically track recently viewed products for each visitor in a cookie which this plugin uses to add to each form submission. When you use this plugin, make sure your privacy policy is clear on how you are using your visitors’ click stream information.
For developers
This plugin is very extensible and makes it easy to implement different ecommerce backends or alternative tracking mechanisms altogether. To modify the tracking, either make a child class of GF_Recently_Viewed_Products and override the _get_current_recently_viewed_products method, or use the following filters:
For use with WooCommerce:
wc_gf_recently_viewed_product_ids (array) List of post ids
wc_gf_recently_viewed_products_query (array) Query for get_posts (use to change the post type)
wc_gf_recently_viewed_products (array) List of posts
Without WooCommerce: (make sure to init the GF_Recently_Viewed_Products class yourself)
gform_recently_viewed_product_ids (array) List of post ids
gform_recently_viewed_products_query (array) Query for get_posts (use to change the post type)
gform_recently_viewed_products (array) List of posts
If you extend this plugin to
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Gravity Forms / WooCommerce Recently Viewed Products」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。