
內容簡介
Info Blocks for WooCommerce 外掛讓你在 WooCommerce 不同位置加入資訊區塊。
✅ 使用範例 #1
在所有產品的 "加入購物車" 按鈕後面添加靜態文本(例如:“30 天退貨保證!”)。
步驟:
1. 透過「WooCommerce > 資訊區塊 > 新增資訊區塊」新增區塊。
2. 將區塊內容設置為 30 days money return guarantee!。
3. 將區塊位置設置為 单一產品:單一產品摘要内部,位置優先級為 39。
✅ 使用範例 #2
為所有產品在前端元數列部分添加總銷售額數字。
步驟:
1. 透過「WooCommerce > 資訊區塊 > 新增資訊區塊」新增區塊。
2. 將區塊內容設置為 Total sales: [alg_wc_ib_get_post_meta key="total_sales"]
3. 將區塊位置設置為 单一產品:產品元结尾。
✅ 使用範例 #3
在購物車和結帳頁面加入靜態文本(例如:“所有訂單滿 $35 免費運送!”)。
步驟:
1. 透過「WooCommerce > 資訊區塊 > 新增資訊區塊」新增區塊。
2. 將區塊內容設置為 Free shipping for all orders over $35!。
3. 將區塊位置設置為 購物車:購物車表格前 和 結帳:订单评论表格前。
✅ 使用範例 #4
在所有產品價格前添加靜態文本(例如:“只限今天: ”)。
步驟:
1. 透過「WooCommerce > 資訊區塊 > 新增資訊區塊」新增區塊。
2. 將區塊內容設置為 只限今天: ( 是一個 “不換行空格符號”)。
3. 將區塊位置設置為 一般:產品價格前。
✅ 可用位置
一般
- 產品價格前
- 產品價格後
- 代替產品價格
- 空產品價格
單一產品
- 單一產品前
- 單一產品摘要前
- 單一產品摘要内部
- 單一產品摘要后
- 單一產品后
- 加入購物車表單前
- 加入購物車按鈕前
- 加入購物車按鈕后
- 加入購物車表單后
- 產品元開始
- 產品元结束
單一產品標籤
- 描述:标题開始
- 描述:标题结束
- 描述:代替標題
- 描述:內容開始
- 描述:內容結束
- 描述:代替內容
- 額外資訊:標題開始
- 額外資訊:標題結束
- 額外資訊:代替標題
- 額外資訊:內容結束
產品檔案庫
- 產品前
- 產品標題前
- 產品標題内部
- 產品標題後
- 產品後
購物車
- 購物車前
- 購物車表格前
- 購物車內容前
- 購物車內容
- 購物車優惠券
- 購物車動作
- 購物車內容後
- 購物車表格后
- 購物車合集
- 購物車后
- 購物車總計前
- 購物車總計:運費前
- 購物車總計:運費後
- 購物車变
外掛標籤
開發者團隊
② 後台搜尋「Add Custom Messages Anywhere in WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Add any information blocks to your WooCommerce store, from product pages to cart and checkout, display tailored messages, product metadata, or store options using dynamic content and shortcodes.
The Add Custom Messages Anywhere in WooCommerce plugin allows you to enhance your WooCommerce site by adding customized content or “info blocks” to numerous positions throughout the platform, offering you a straightforward way to enrich your customer’s browsing and shopping experience.
You have the freedom to create multiple info blocks, each with distinctive content, positioning, and visibility settings, to tailor the shopping experience to suit your business strategy precisely.
Whether it’s spotlighting promotional offers or displaying static reassuring messages like money-back guarantees, the plugin provides an extensive range of positions to place these info blocks, from general settings to specific locations within product tabs. This allows for strategic placement of valuable information where it will have the highest impact.
🚀 Dynamically Show Content Across Your Store
Create & manage custom information blocks/sections within your WooCommerce store, craft and strategically place various types of information – whether promotional messages, special guarantees, or product-related details – across multiple locations in your store.
This feature empowers you to enhance the shopping experience by providing relevant and timely information at key points in the customer journey, such as near product prices, within cart and checkout pages, and on order confirmation screens.
🚀 Customizable Text Blocks for Promotions and Information
Easily add static text blocks, like a “30 days money return guarantee”, “Excellent customer service”, “24/7 chat support” to product pages or global store areas.
This feature is ideal for highlighting special offers or important information across your store.
🚀 Add Info About Product Sales and Metadata
Use the [alg_wc_ib_get_post_meta] shortcode to display product-related metadata like total sales numbers.
This option allows you to offer important info to customers during their purchase journey, enhancing product credibility and transparency.
🚀 Flexible Position/Priority Options
Control where the blocks appear by defining the position and priority for each, the plugin offers a wide range of positioning options for info blocks.
Select to show blocks on various positions, from before product prices to cart and checkout pages, ensuring that your messages are seen at the most impactful points in the customer journey.
🚀 Utilization of Shortcodes for Extended Functionality
Leverage shortcodes like [alg_wc_ib_get_option] to display site options (like an email) or product meta values (like an image or price), adding a layer of dynamic content to your store’s info blocks.
ℹ How Does It Work?
Create a new info block via “WooCommerce > Info Blocks > Add New” from your admin dashboard.
For this newly created block, you must set: title (visible to admin only), content, and position.
Optionally, you can set visibility options (e.g., show info block for selected products only).
You can create as many different info blocks as you need. Each block will have its own content, position, visibility, etc.
✅ Usage Example #1
Add static text (e.g.: “30 days money return guarantee!”) after “Add to cart” button for all products.
Add new block via “WooCommerce > Info Blocks > Add New”
Set block’s content to 30 days money return guarantee!
Set block’s position to Single product: Inside single product summary and position’s priority to 39
✅ Usage Example #2
Add total sales number to the frontend meta section for all products.
Add new block via “WooCommerce > Info Blocks > Add New”
Set block’s content to Total sales: [alg_wc_ib_get_post_meta key="total_sales"]
Set block’s position to Single product: Product meta end
✅ Usage Example #3
Add static text (e.g.: “Free shipping for all orders over $35!”) to cart and checkout pages.
Add new block via “WooCommerce > Info Blocks > Add New”
Set block’s content to Free shipping for all orders over $35!
Set block’s positions to Cart: Before cart table and Checkout: Before order review
✅ Usage Example #4
Add static text (e.g.: “Only today: “) before the price for all products.
Add new block via “WooCommerce > Info Blocks > Add New”
Set block’s content to Only today: ( is a “non-breaking space” symbol)
Set block’s position to General: Before product price
ℹ Available Positions
General
Before product price
After product price
Instead of product price
On empty product price
Single product
Before single product
Before single product summary
Inside single product summary
After single product summary
After single product
Before add to cart form
Before add to cart button
After add to cart button
After add to cart form
Product meta start
Product meta end
Single product tabs
Description: Heading start
Description: Heading end
Description: Instead of heading
Description: Content start
Description: Content end
Description: Instead of content
Additional information: Heading start
Additional information: Heading end
Additional information: Instead of heading
Additional information: Content end
Product archives
Before product
Before product title
Inside product title
After product title
After product
Cart
Before cart
Before cart table
Before cart contents
Cart contents
Cart coupon
Cart actions
After cart contents
After cart table
Cart collaterals
After cart
Before cart totals
Cart totals: Before shipping
Cart totals: After shipping
Cart totals: Before order total
Cart totals: After order total
Proceed to checkout
After cart totals
Before shipping calculator
After shipping calculator
If cart is empty
Mini cart
Before mini cart
Before buttons
After mini cart
Checkout
Before checkout form
Before customer details
Billing
Shipping
After customer details
Before order review
Order review
After order review
After checkout form
Before checkout shipping form
After checkout shipping form
Before order notes
After order notes
Before checkout billing form
After checkout billing form
Before checkout registration form
After checkout registration form
Review order: Before cart contents
Review order: After cart contents
Review order: Before shipping
Review order: After shipping
Review order: Before order total
Review order: After order total
Order Received (Thank You) page
ℹ Visibility
You can set visibility options for each block: visible/invisible products/categories/tags.
ℹ Shortcodes
[alg_wc_ib_get_post_meta] displays product’s meta value, e.g.: [alg_wc_ib_get_post_meta key="total_sales"]
[alg_wc_ib_get_option] displays site’s option, e.g.: [alg_wc_ib_get_option option="admin_email"]
ℹ More
The plugin is “High-Performance Order Storage (HPOS)” compatible.
🗘 Feedback
We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!
Head to the plugin GitHub Repository to find out how you can pitch in.
