# Physical Product

Let say that we want to sell a pair of shoes. We want to gather some information about the customer, like the size of the shoes, and we want to send the shoes to the customer's address. We also want a private channel to be created to update the customer about the status of the order. We also want our stock to be limited to 10 pairs of shoes.

# Creating the product

First, lets go on the Dashboard (opens new window) and let's click on the side bar, then on Create a Product. In our case the product will be a role that will be added to the buyer as soon as he paid to mark it for the staff. So we will choose Discord Product as the product type. Then we will give it a name, a description and a price.

# First step

Lets Setup the basic product information. Here is a table that will help you to fill the form.

😎 Stands for not required, so do it only if you want it. ⚠️ Stands for required, so please fill it correctly or you will not be able to pass to the next step !

Option Name Description
Product Name ⚠️ It will be you product name. It will be displayed as the title of your product on the checkout and on the product embed
Product Description ⚠️ It will be your product description, it will be set as a description in your product embed
Product Color 😎 This s a hex code for the color want want your product embed to have. It is only avalable to ShopBot Plus and Premium users. If you don't put anything, the color will be green by default.
Product Stock 😎 If set to Limited, this will limit the number of products that your customers can buy, you can add more stock whenever you want by editing the product after its creation. If there is no more stock, your customers won't be able to purchase your product.
Purchase Limit If set to Limited, this will limit the number of products that your customers can buy for a lifetime. If for example your product can only be bought once, then set the limit to 1
Product Image 😎 It will be your product main image, it will be set as the image of your product embed. BUT if you want to put an image it MUST be a link to an image or it will be rejected by Discord (ex: https://shopbot.site/images/ShopBot-big-logo.png ) you CAN use link shorters !
Product Thumbnail 😎 It will be your product thumbnail, it will be displayed as the thumbnail of your product on the product embed. BUT if you want to put an image it MUST be a link to an image or it will be rejected by Discord (ex: https://shopbot.site/images/ShopBot-big-logo.png ) you CAN use link shorters !

Here is my filled form: First Step Downloadable

As you can see I've set a custom Product Color, it will make my product stand out a bit more than the others. I've also set a Product Thumbnail that is a pic of a drawed shoe to better illustrate my product. I have also put a pic of the shoes that I am selling as a Product Image. And I've also set the Product Stock to Limited and set the base stock to 10. Note that you can change the stock whenever you want after the product creation.

# Second step - Payment Information

Here, we will need to put our product payment information to be able to be paid each time somone buys our product. In our case, I will select Stripe as a payment provider and I will put my Stripe account id in the PlatformID input. If you don't know how to get your Stripe account id, please check this page. Then I will put my product price and currency.

Here is some help with the other platforms:

# Payment Provider / ShopBot

For ShopBot you will need to select the server that the product will be linked to. And that's all ! The currency will be STKN (ShopBot Token) and the price will be the amount of tokens that you want to sell your product for.

# Payment Provider / PlatformID - Paypal

For Paypal, you only need to put your VALID Paypal email address that is linked to your account. If you populate a wrong email, no one will be able to have a checkout link.

(Once your product is created and generated, I strongly recommand that you click on "buy" on your product to see if a checkout link is created. If not, modify your product Paypal email address in Products -> Product List -> Select your product and click on "edit" -> Sensible Informations -> PlatofromID)

# Payment Provider / PlatformID - Stripe

For Stripe, it is a bit harder but it is worth it! You need to have a stripe connected account . Once you have that, then head to your profile here (opens new window), go to the bottom of that page and copy your account id (see image below) and paste it in the platformID input. Connect Stripe

# Price / Currency

Now, you need to put your product price and currency. I recommend you to choose your currency first. Note that if you choose Paypal as a platform, the minimum price is 7.5€ (or equivalent in other currencies) for a product. Whereas for Stripe, it is 2.5€ and you will have LESS fees applied to your payment.

# Payment Type

In our case, this is a one time purshace so we will select One Time as the payment type.


Here is my filled form: Second Step Downloadable

# Step Four - Product Automatic Actions

You can activate or deactivate the automatic actions you want. If you don't know what they are, please check this page.

In our case we need the Channel Creation automatic action. Because we want to create a private channel for each user that buys our product to be able to inform them with the status of their order. So we will activate it and we will select the server in which we are selling our product and the category where we want the channels to be created. We will also select the roles that will have access to the created private channels, in our case, because we want this channel to be private we will not select any roles (but if you have like a manager role that need to access every created channels, you can add it here), so only the buyer and of course, admins will have access to the channel.

For the Channel Name we will enter ShoeOrder, and ShopBot will automatically add an ID at the end of the channel name. So if the ID is 1, the channel name will be Private-1.

And beacuse we want to remide our buyer that a private channel has been created for them, we will activate the Custom Success Message automatic action.

And finally, we will activate the Purchase Pop-Up Form automatic action to be able to collect some information from our buyer. The first question will be the Shoe Size and the second one will be the Address. Because the buyer only has 400 characters to answer, we will dispatch the address in 3 questions. The first one will be the Address, the second one will be the City/ZipCode and the last one will be the Country.

Here is my filled form: Third Step Downloadable Third Step Downloadable

# Step Five - The Product Itself

Now we can select which roles are going to be given to the buyer.

The Server selector is the server that you want to sell the role from it should be the same as the one that you have selected for the channel automatic action. If you don't see your server in the list even after a refresh, thats mean that you didn't added Shopbot to your server. If you see a text saying that you have already selected a server, that means that you have already selected a server for the automatic action or an other step above.

Once that your server is selected, you will need to choose up to 5 roles that you want to sell on your server in the role selector.

WARNING

⚠️ All the role that you are selected MUST be UNDER the ShopBot role or it will not work (See animation bellow)

Alt Text

(Here We want to put the ShopBot role higher than the role we want to add (here Role 1 ;2 ;3 ;4 ;5))

In our case we will select the Customer role. Here is my filled form: Third Step Downloadable

After accepting the rules and conditions, we can click on Submit and our product will be created !

# Second Step - Generating the product to our server

# Step One - The Product ID

Now that our product is created, we need to generate it to our server. To do that, we will go to the Dashboard (opens new window) and we will click on Product in the side bar. Then we will click on Product List and we will copy the Product ID of our created product.

# Step Two - Generating The Product

Now let's head to our server and let's type /generateproduct <Product ID> in a channel. If you don't know how to get your product id, please check the previous step. If you did everything correctly, you should see something like this: Generating Product


And now we are done ! You can now click on the link to see how your product looks like ! If you want to edit your product or add more stock, you can do it any time on the dashboard by clicnking on Products in the side bar and then on Product List and then on Edit on the product you want to edit.

# Additional Informations

Now that the product is generated, let's imagine that we have an order. We will see how to manage it.

# Managing Orders

To see the orders, we will go to the Dashboard (opens new window) and we will click on Product in the side bar. Then we will click on Product List. Once we are on the product list page we will click on the Info Page button of the product we want to see the orders.

My product info page looks like this: Product Info Page

As you can see I have 1 sale so 1 customer (not that if someone buys your product multiple times he will appear multiple times too). Now I want to check for his order information so I will click on the 3 dots button, and select Pop Up Awnsers and I will see this: Pop Up Awnsers

As you can see, I have all the information that I need to send the order to the customer. I can now directly contact the customer on discord via the channel that has been created for him and I can send him his order.