Hi, I sell in-game currencies for mobile games on my website but it will require the customer to input their game UID which is a custom number assigned to each account on the game. Is it possible to add this feature so that when a customer orders a product the UID will show up in my orders so I can add the currency to that account?
What I want it to look like: https://shop2game.com/?item=70616
My website: https://codecentraleg.myshopify.com/collections/free-fire-diamonds
Shopify allows you to use line item properties . Add the following code where you want the UID field to appear:
eample
Once the customer inputs their UID and places an order, the Game UID will be displayed in the order details under the “Additional Details” section for that specific order.
will this be for a certain product or for all products?
all currrently, but if you want to display the Game UID field for certain products (or collections) only, you can wrap the form field in a conditional statement
exmaple
{% if product.handle == 'free-fire-diamonds' %}
{% endif %}
can you guide me through the steps of putting the code because I’m not sure where to put it. I want the customer to be able to write it just before he adds it to cart.
Hi @KarimAyman this is an advanced theme customization using either line-item-properties, or cart-attributes
per product/line-item https://community.shopify.com/topic/616503
per cart/order https://community.shopify.com/topic/613718
There’s also whether the info needs to persist on the customer as a tag or metafield, etc in which case either shopify-flow or usemechanic could be automated to do this.
If you need this customization then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Hi @KarimAyman ,
You can use the Easify Product Options app (with a free plan available) to add a custom field (text box or number field) to your product page where customers can enter their game UID number before adding the product to their cart and checking out. The UID information will then be included in the order details, making it easy for you to manage. For example: