
內容簡介
Monetizer101 shortcode 是一個工具,可以讓發布者在其 WordPress 網站上加入價格比較小工具。
您可以通過 Monetizer101 工具創建短代碼,或按照以下說明手動創建。
使用此外掛程式需要 Monetizer101 帳戶 (https://monetizer101.com/)。
SHORTCODE
[m101widget]
建立價格比較小工具。
參數:
type:「price-comparison」。此欄位為必填欄位。
template:您希望與小工具一起使用的模板名稱。
barcode:要搜索的產品條形碼,可以是以下任何一個:UPC、EAN、GTIN、ISBN 或 ASIN。
plainlink:商家網站上產品網頁的連結。注意:連結必須是純文本格式,如果提供跟踪連結,可能無法使用此服務。
search-keywords:產品名稱中要搜索的關鍵字列表,用空格隔開。例如:「Dickies hat red」或 「iPhone X」。
exclude-keywords:要從搜索中排除的關鍵字列表,用空格隔開。任何與提供的任何關鍵字匹配的結果將從結果中刪除。例如:「Dickies hat red」或「iPhone 10」。
price-range:返回產品「salePlace」所屬價格範圍。該範圍的定義形式為 XX-XX ,例如 20-30 或 19.9-26.8。星號可用於避免限制範圍的一側,例如 -20 等同於 0-20,20- 將包含所有銷售價格 >= 20 的產品。注意:使用「-」與不定義任何篩選相同。
filter-merchant:商家 ID 的逗號分隔列表,例如 8902、3840、3905。在這種情況下,搜索範圍限定於列表中的商家。列表後面可以跟著「:exclude」,例如 8902、3840、3905:exclude。在這種情況下,列表中的商家將從搜索結果中排除。
limit:限制結果數量。例如,如果 limit=3,則該服務將返回最多 3 個產品。響應中的產品將是根據我們的商家排名系統表現最佳的商家的產品。
sid:用於跟踪目的的自定義來源 ID。只能包含字母、數字和以下標點符號:「-」、「_」、「.」和「~」。長度不能超過 32 個字符。
title:小工具標題。例如:「蘋果 iPhone」
真實的短代碼範例:
[m101widget type=”price-comparison” title=”最佳交易” plainlink=”https://www.amazon.com/SAMSUNG-65-inch-Class-QLED-Built/dp/B08F2WS438″ search-keywords=”Samsung 50 Class Q80T Smart TV” price-range=”500-*” template=”default”]
外掛標籤
開發者團隊
② 後台搜尋「Monetizer101 Widget Shortcode」→ 直接安裝(推薦)
原文外掛簡介
Monetizer101 shortcode is a tool used by publishers to add price comparison widgets to their WordPress website.
You can create the shortcode through the Monetizer101 Tool or create it yourself manually by following the instructions below.
You must have a Monetizer101 account in order to use this plugin (https://monetizer101.com/).
SHORTCODE
[m101widget]
Setting up a price comparison widget.
Parameters:
type: “price-comparison”. This field is required.
template: Template name that you want to use with your widget.
barcode: The barcode of the product to search, can be one of: UPC,EAN,GTIN,ISBN,ASIN.
plainlink: The link of the product web page in a merchant’s site. Note: the link must be plain, if you provide a tracked link the service may not work.
search-keywords: List of keywords to search in the product name, separated by space. For example: ‘Dickies hat red’ or ‘iPhone X’.
exclude-keywords: List of keywords to exclude from the search, separated by space. Any result matching any of the provided keywords will be stripped out from the results. For example: ‘Dickies hat red’ or ‘iPhone 10’.
price-range: Range of prices where the ‘salePlace’ of the returned products should belong. The range is defined in the form -, for example 20-30 or 19.9-26.8. The star can be used to avoid to limit one side of the range, for example -20 equals to 0-20 and 20- will take all results with a sale price >= 20 Note: using – is the same as not defining any filter.
filter-merchant: Comma separated list of merchant IDs ex. 8902,3840,3905 In this case the search is limited to the merchants in the list. The list can be followed by ‘:exclude’ ex. 8902,3840,3905:exclude. In this case the merchants in the list will be excluded from the search.
limit: Limits the number of results, for example if limit=3 the service will return up to 3 products. The products in the response will be those from the best performing merchants according to our merchant-ranking syste.
sid: Custom source ID to be used for tracking purposes. Can contain only letters, digits, and the following punctuation characters: ‘-‘,’_’,’.’,’~’. Cannot be longer than 32 characters.
title: Widget title. Example: “Apple IPhone”
Real example of shortcode:
[m101widget type=”price-comparison” title=”Best deals” plainlink=”https://www.amazon.com/SAMSUNG-65-inch-Class-QLED-Built/dp/B08F2WS438″ search-keywords=”Samsung 50 Class Q80T Smart TV” price-range=”500-*” template=”default”]
