
內容簡介
在您的 WooCommerce 商店中,設置自訂重定向,當使用者提交訂單或購買時即會使用,選項允許您設置所有訂單的全局重定向 URL,或者按產品或變體設置重定向。優先級設置允許您確定當存在多個重定向規則時哪個重定向規則佔優先。
這個外掛原本是為一個客戶創建的,因為我們需要將訂單 ID 作為 URL 參數傳遞到一個自定義的感謝頁面上,而這個感謝頁面上有一個表格,沒有其他外掛似乎可以輕鬆地支援這個功能。我們還需要能夠優先重定向指定產品,而不是所有訂單中的所有產品。
新功能!模板標記可讓您在重定向 URL 中輕鬆包含其他訂單數據。可用的模板標記包括:
{order_id}
{meta:anymetakeyhere}
範例重定向 URL:
https://anysite.com/?order_id={order_id}&state={meta:_billing_state}
訪問我們的網站以獲得更多資訊
外掛標籤
開發者團隊
② 後台搜尋「Order Redirects for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Setup custom redirects after a user submits an order or makes a purchase on your WooCommerce powered store. Options allow you to setup a global redirect URL for all orders or setup redirects on a per product or variation basis. Priority settings allow you to determine which redirect rule takes priority when more than one redirect is found for an order.
This plugin was created as a custom project for a client because we needed to pass the Order ID as a URL parameter to a custom Thank You page which had a form on it and no other plugins seemed to easily support this. We also needed the ability to prioritize a redirect for a specific product over all others if it was in the order.
NEW! Template tags allow you to easily include additional order data in the redirect URL. Available template tags include:
{order_id}
{meta:anymetakeyhere}
Example redirect URL:
https://anysite.com/?order_id={order_id}&state={meta:_billing_state}
Visit our website for more information
