NivoSync
AccedeteAcquistate ora

Setting options and variations

How the addon reads your WooCommerce product attributes, why some pickers do not appear, and how per-variation prices are calculated.

4 min readUpdated 2026-08-15

Ring settings are WooCommerce variable products. Everything the addon shows on a setting page comes from how those products are set up, so when a picker is missing or a price looks wrong, the answer is usually in the product, not the widget.

What the addon reads

For each setting it asks the core which attributes that specific product actually uses, along with their options and two flags: whether the attribute is a metal, and whether it is a ring size.

That per-product answer is why:

  • A plain band shows no pavé selector.
  • A setting available only in platinum shows a read-only row rather than a one-option picker.
  • You can put every option widget on your template and trust each to render only where it applies.

Setting up products so the addon reads them well

  • Use global attributes, not per-product custom ones, so filters can group across products.
  • Name them consistently. The addon matches loosely, so pa_ns-metal and pa_metal both work, but consistency keeps your filters clean.
  • Create the variations you actually sell, with their prices. The "from" price on cards comes from the cheapest.
  • Give each metal variation its own image if you want the gallery to swap when the shopper picks one.

Prices per variation

Variation prices are resolved on the server and delivered to the page as a map. When the shopper switches metal, the price updates immediately from that map rather than waiting for a request.

Two consequences:

  • The swap is instant, including on the card dots in the grid.
  • The price is authoritative — it is WooCommerce's variation price, not a client-side calculation.

The ring total is that variation price plus the chosen diamond, and it is the same number in the panel, the cart and at checkout.

Ring size

Ring size is usually an "any" attribute: one variation covers every size, because the size does not change the price or the stock.

WooCommerce still needs a term to resolve the variation, so the core supplies one — but it records the shopper's real choice separately and prints that in the cart, the order and your workshop paperwork. What you make is the size they asked for.

The size list is long by nature, so the picker shows the first several and puts the rest behind a More dropdown. How many show before the fold is a control.

Metal colours

The metal dots and swatches use real gradients rather than flat colours, drawn from NivoSync's own metal palette. White gold and platinum share a very similar gradient, because they are very similar metals — if you need them visually distinguishable at a glance, use the dots-with-labels display rather than dots alone.