Cart & Checkout

Updated 13 July 2026

Understand what happens behind the scenes when a customer adds a diamond to their cart and completes checkout, since diamonds work a little differently from normal WooCommerce products.

Overview

Every diamond is a unique, one-of-a-kind item – unlike a T-shirt or a candle, you can’t have “5 in stock” of the exact same stone. This chapter explains how RapNet For WooCommerce adapts WooCommerce’s cart and checkout to handle that correctly, so orders and your inventory always stay accurate.

How It Works

Behind the scenes, every diamond order actually uses one single, hidden WooCommerce product (created automatically during installation – see Getting Started) as a stand-in. When a customer adds a specific diamond to their cart, the plugin quietly attaches that diamond’s full details to the cart item, and then rewrites the cart, checkout, and order screens to display the real diamond’s name, photo, and price instead of the hidden stand-in product. Because each diamond is unique, the quantity is always locked to exactly 1, and once a specific diamond has appeared on a completed order, it cannot be added to a cart again by another shopper.

Step-by-Step Guide

Fields Table

Field Explanations

The RapNet Product is not something you manage directly – it’s an internal mechanism the plugin relies on to reuse WooCommerce’s existing cart and checkout system, rather than needing to build a separate one from scratch. You should never need to edit or delete it.

Quantity is locked to 1 because two customers can never buy “the same” diamond – it’s a single physical stone. This is enforced automatically and cannot be changed in settings.

The Order Diamond Reference is what lets you look back at any past order and know precisely which stone (by its ID and full specifications) was sold, even though the order technically used the shared RapNet Product behind the scenes.

Tips

Common Mistakes

Image

Cart & Checkout