[WordPress] 外掛分享: RT Custom Ring Configurator for WooCommerce

首頁 › 外掛目錄 › RT Custom Ring Configurator for WooCommerce
全新外掛
安裝啟用
—
尚無評分
6 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-11-23

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RT Custom Ring Configurator for WooCommerce」→ 直接安裝(推薦)

原文外掛簡介

RT Custom Ring Configurator adds a step-by-step ring configurator to your WooCommerce store. Customers choose a ring setting, pick a compatible diamond, then select the metal and ring size. Both products are added to the cart linked together.
Builder steps

Choose a setting.
Choose a diamond, filtered by shape and carat and by the setting’s compatibility.
Pick the metal and ring size.

Features

Linked cart items: the setting and the diamond are added together. Metal and ring size show in the cart and on the order.
Quantity is locked to 1, and removing one half removes the other.
The cart total is the setting price plus the diamond price.
Per-product “Ring Configurator role” setting: Ring setting, Diamond or Matching band.
Settings can define allowed metals, compatible diamond shapes, and minimum and maximum carat.
Diamonds store shape, carat, color, clarity and cut.
Global options under WooCommerce > Ring Configurator: ring sizes, default metals, shapes and accent color.
Matching band upsell, with a configurable discount percentage.
Option to stay on the page after adding to the bag, so you can open your own mini-cart or popup.
Developer hooks in JavaScript, jQuery and PHP (see below).

Developer hooks
After a ring is added to the cart, the plugin triggers the following.
JavaScript event:
document.addEventListener('rtrb:added', e => console.log(e.detail));

The event detail contains: setting, diamond, metal, size, group, count.
jQuery event:
$(document.body).on('rtrb_added', (e, detail) => { /* ... */ });

The plugin also fires wc_fragment_refresh and added_to_cart.
PHP action:
add_action('rtrb_ring_added_to_cart', function($group, $setting_id, $diamond_id, $metal, $size){ /* ... */ }, 10, 5);

Matching band events: rtrb:band_added (JavaScript) and the rtrb_band_added_to_cart PHP action.

文章
Filter
Mastodon