Title: TDP Ring Builder
Author: thediamondport
Published: <strong>2024 年 10 月 7 日</strong>
Last modified: 2024 年 10 月 7 日

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# TDP Ring Builder

 由 [thediamondport](https://profiles.wordpress.org/thediamondport/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/tdp-ring-builder/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tdp-ring-builder/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tdp-ring-builder/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tdp-ring-builder/#developers)

 [技術支援](https://wordpress.org/support/plugin/tdp-ring-builder/)

## 外掛說明

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.

## 安裝方式

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

## 常見問題集

### 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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈TDP Ring Builder〉的開發相關工作。

參與者

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

[將〈TDP Ring Builder〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tdp-ring-builder)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tdp-ring-builder/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/tdp-ring-builder/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/tdp-ring-builder/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tdp-ring-builder/)。

## 變更記錄

#### 1.0

 * Initial release of the TDP Ring Builder Plugin.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **2 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.6.5**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tdp-ring-builder/)
 * 標籤:
 * [diamonds](https://tw.wordpress.org/plugins/tags/diamonds/)[ring builder](https://tw.wordpress.org/plugins/tags/ring-builder/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tdp-ring-builder/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/tdp-ring-builder/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tdp-ring-builder/)