TycheSoftwares / custom-order-numbers-for-woocommerce

This repository is for the Custom Order Numbers for WooCommerce- Lite
2 stars 2 forks source link

Add FAQ page with below question. #73

Closed Chetna1510 closed 2 years ago

Chetna1510 commented 3 years ago

Q: In the third-party plugin, how to use the custom order numbers instead of WooCommerce Order Number?

In this plugin, in the Database, we do not change the original order id created by WooCommerce because that order id is used for many core functions and also by multiple plugins and themes. So what you will have to do is, you will have to contact to support team of the third-party plugin and ask them to make the necessary changes. They will have to make the changes where Order ID is been fetched and have to use the below code for Custom Order Number instead of the code used for Order ID. Here is the code they will need. $custom_order_number = $order->get_order_number(); //where $order is an order object

Add FAQ here - https://wordpress.org/plugins/custom-order-numbers-for-woocommerce/

Chetna1510 commented 2 years ago

Also, mention below features for Premium plugin:

  1. Prefix/Suffix as per user roles
  2. Options for "Select orders to apply new settings to: To all Orders, To all new orders only, To orders from certain numbers, To orders from specific date.