Title: TDP Ring Builder
Author: thediamondport
Published: <strong>7 d'octubre de 2024</strong>
Last modified: 7 d'octubre de 2024

---

Cerca extensions

![](https://ps.w.org/tdp-ring-builder/assets/banner-772x250.jpg?rev=3164125)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/tdp-ring-builder/assets/icon-128x128.png?rev=3164088)

# TDP Ring Builder

 Per [thediamondport](https://profiles.wordpress.org/thediamondport/)

[Baixa](https://downloads.wordpress.org/plugin/tdp-ring-builder.zip)

 * [Detalls](https://ca.wordpress.org/plugins/tdp-ring-builder/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/tdp-ring-builder/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/tdp-ring-builder/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/tdp-ring-builder/#developers)

 [Suport](https://wordpress.org/support/plugin/tdp-ring-builder/)

## Descripció

The TDP Ring Builder Plugin is designed to enhance the shopping experience for users
looking to create custom diamond engagement rings. It supports both lab-grown and
natural diamonds, and allows customers to choose between loose rings, loose diamonds,
or a complete engagement ring.

Key Features:
 * Build custom engagement rings by selecting diamonds and ring settings.*
Supports lab-grown and natural diamonds. * Allows the purchase of loose rings and
loose diamonds. * Seamless integration with WooCommerce.

### Additional Information

This plugin communicates with external APIs provided by [The Diamond Port](https://thediamondport.com/).
Check their [Terms of Use](https://thediamondport.com/terms-and-conditions) and 
[Privacy Policy](https://thediamondport.com/privacy-policy).

**Note:** Users may need to create an account with The Diamond Port to use certain
features of this plugin.

## Instal·lació

To install the TDP Ring Builder Plugin:

 1. Upload `tdp-rb` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the \’Plugins\’ menu in WordPress.
 3. Use the provided shortcode `[Ring_Builder]` to display the ring builder on any 
    page.

### Source Code

The original unminified source code for JavaScript and CSS files is available within
the plugin in the `/vue-vite-app/src` directory.

For developers who wish to view or modify the source, please refer to the `/vue-
vite-app/src` folder.

### External References

This plugin uses Vue.js and Vuex for frontend functionality. Some metadata and URLs
referencing these libraries may be included in the generated build files. These 
URLs are part of the open-source licenses of these libraries and do not affect the
performance of the plugin.

For more information about these libraries:
 – Vue.js: https://vuejs.org/ – Vuex:
https://next.vuex.vuejs.org/

### Vue Vite App

This project is a Vue.js application built with Vite, designed to be a WordPress
plugin. It utilizes various dependencies for routing, state management, styling,
and other features.

### Table of Contents

 * [Requirements](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#requirements)
 * [Installation](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#installation)
 * [Development](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#development)
 * [Building the Project](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#building-the-project)
 * [Usage](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#usage)
    - [Dependencies](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#dependencies)
    - [Vue](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#vue)
    - [Vue Router](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#vue-router)
    - [Vuex](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#vuex)
    - [Axios](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#axios)
    - [Tailwind CSS](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#tailwind-css)
    - [Vue Slider Component](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#vue-slider-component)
 * [Contributing](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#contributing)
 * [License](https://ca.wordpress.org/plugins/tdp-ring-builder/?output_format=md#license)

### Requirements

 * Node.js (v14 or higher)
 * npm (v6 or higher)

### Installation

Install the dependencies:
 `bash npm install

### Development

To start the development server, run:
 `bash npm run dev

This will start the Vite development server, and you can view the application in
your browser at `http://localhost:3000`.

### Building the Project

To build the project for production, run:
 `bash npm run build

This command will generate the production files in the `dist` directory, which you
can upload to your WordPress plugin folder.

### For Developers Only:-

### Dependencies

#### Vue

 * **Version**: ^3.4.34
 * **Description**: Vue.js is a progressive JavaScript framework for building user
   interfaces.
 * **Usage**: Import Vue components in your application by using:
    `javascript import{
   createApp } from ‘vue’; import App from ‘./App.vue’;
 * createApp(App).mount(‘#app’);
    `

#### Vue Router

 * **Version**: ^4.4.0
 * **Description**: Vue Router is the official router for Vue.js, allowing you to
   create single-page applications with navigation.
 * **Usage**: Define routes in your application:
    `javascript import { createRouter,
   createWebHistory } from ‘vue-router’; import Home from ‘./pages/Home.vue’;
 * const routes = [
    { path: ‘/’, component: Home }, ];
 * const router = createRouter({
    history: createWebHistory(), routes, });
 * export default router;
    `

#### Vuex

 * **Version**: ^4.0.2
 * **Description**: Vuex is a state management pattern + library for Vue.js applications.
 * **Usage**: Create a store to manage your application state:
    `javascript import{
   createStore } from ‘vuex’;
 * const store = createStore({
    state() { return { count: 0 }; }, mutations: { increment(
   state) { state.count++; } } });
 * export default store;
    `

#### Axios

 * **Version**: ^1.7.3
 * **Description**: Axios is a promise-based HTTP client for the browser and Node.
   js.
 * **Usage**: Make HTTP requests:
    `javascript import axios from ‘axios’;
 * axios.get(‘/api/data’)
    .then(response => { console.log(response.data); }); `

#### Tailwind CSS

 * **Version**: ^3.4.7
 * **Description**: Tailwind CSS is a utility-first CSS framework for creating custom
   designs.
 * **Usage**: Use the utility classes in your HTML/JSX:
    `html <div class="tdprb-
   bg-backgroundColor tdprb-text-textPrimaryColor">Hello, World!</div>

#### Vue Slider Component

 * **Version**: ^4.1.0-beta.7
 * **Description**: A Vue slider component for selecting values.
 * **Usage**: Use it in your components:
    `html <vue-slider v-model="value"></vue-
   slider>

## PMF

### How do I add the ring builder to my site?

Simply use the shortcode `[Ring_Builder]` on any page where you want to display 
the ring builder.

### Can I customize the appearance of the ring builder?

Yes, you can customize the appearance through the backend settings provided by the
plugin. These settings include:

 * **Lab Grown Settings:** Customize options related to lab-grown diamonds.
 * **Natural Settings:** Adjust settings for natural diamonds.
 * **Ring Settings:** Modify the appearance and options for ring settings.
 * Additionally, the plugin offers an order list to view customer orders.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«TDP Ring Builder» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

 *   [ thediamondport ](https://profiles.wordpress.org/thediamondport/)

[Traduïu «TDP Ring Builder» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/tdp-ring-builder)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/tdp-ring-builder/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/tdp-ring-builder/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/tdp-ring-builder/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/tdp-ring-builder/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0

 * Initial release of the TDP Ring Builder Plugin.

## Meta

 *  Versió **1.0.0**
 *  Darrera actualització **fa 2 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **6.6.5**
 *  Versió del PHP ** 7.0 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/tdp-ring-builder/)
 * Etiquetes
 * [diamonds](https://ca.wordpress.org/plugins/tags/diamonds/)[ring builder](https://ca.wordpress.org/plugins/tags/ring-builder/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/tdp-ring-builder/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/tdp-ring-builder/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/tdp-ring-builder/reviews/)

## Col·laboradors

 *   [ thediamondport ](https://profiles.wordpress.org/thediamondport/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/tdp-ring-builder/)