RT Custom Ring Configurator for WooCommerce
v1.0.0raintech357 · 2026年11月24日 上架
Let customers build a custom ring by choosing a setting, a diamond, a metal and a ring size, then add both products to the cart as one linked item.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 35
- 最近更新
- 2026年11月24日
贡献者
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.