add product with custom fields

soufianebt
Tourist
10 0 2

Hello everyone,
I need help please, for example I want to add a car type product with custom fields like mileage and brand to my store, is that possible?

Replies 7 (7)
Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1008

Hi @soufianebt,

 

Nick here from Shopify. 

 

This is something which you can definitely do and could be best accomplished with the use of a product option app from the Shopify App Store. I took a look through some of the product option apps to see which ones might suit your needs best with the car type product. Let's take a look at them below:

 

I noticed you added this post to the API and SDK topic. I will add it to the App topic if that's ok with you to help give it a better chance of someone seeing it and offering another viable app option. Because the Shopify platform can only natively hold three different product options the only way to add more would be through the use of an app and not possible even with some code customization. 

 

I hope this helps! 

 

All the best, Nick

To learn more visit the Shopify Help Center or the Community Blog.

soufianebt
Tourist
10 0 2

 


@Nick wrote:

Hi @soufianebt,

 

Nick here from Shopify. 

 

This is something which you can definitely do and could be best accomplished with the use of a product option app from the Shopify App Store. I took a look through some of the product option apps to see which ones might suit your needs best with the car type product. Let's take a look at them below:

 

I noticed you added this post to the API and SDK topic. I will add it to the App topic if that's ok with you to help give it a better chance of someone seeing it and offering another viable app option. Because the Shopify platform can only natively hold three different product options the only way to add more would be through the use of an app and not possible even with some code customization. 

 

I hope this helps! 

 

All the best, Nick


Thank you for reply, I have an application and I can add products to my store through my application (API), but I want when I add new products for example cars, I can add some additional fields like:Brand and mileage.

Renars
Shopify Partner
259 28 300

Seems like you might be looking for Metafields. They are fields where you can store custom information and display in your live store by editing your themes liquid code.

 

https://help.shopify.com/en/manual/products/metafields

https://help.shopify.com/en/themes/liquid/objects/metafield

Matrixify | Bulk Import Export Update | https://apps.shopify.com/excel-export-import | https://matrixify.app
soufianebt
Tourist
10 0 2

I fixed the problem by using metafields and I changed product template to display metafields.

Product
Tourist
5 0 4

Hi Nick, 

 

I have a question related these apps, is it possible to develop a private app to modify the product and variations schemas from the products?

 

I didn't find anything in the official documentation about how to do that, and I need to develop an application for a client. For that application I need to add one field for the product and one field for each option, in these new fields we would like to store some internal codes that the client should not see in the product detail view but we need them to execute some other processes.

 

Any idea about how to do that?


@Nick wrote:

Hi @soufianebt,

 

Nick here from Shopify. 

 

This is something which you can definitely do and could be best accomplished with the use of a product option app from the Shopify App Store. I took a look through some of the product option apps to see which ones might suit your needs best with the car type product. Let's take a look at them below:

 

I noticed you added this post to the API and SDK topic. I will add it to the App topic if that's ok with you to help give it a better chance of someone seeing it and offering another viable app option. Because the Shopify platform can only natively hold three different product options the only way to add more would be through the use of an app and not possible even with some code customization. 

 

I hope this helps! 

 

All the best, Nick










Nick
Shopify Staff (Retired)
Shopify Staff (Retired)
4531 434 1008

Hi @Product,

 

It is definitely possible to develop your own private app for your store if you'd like. There are two ways you can go about creating an app:

 

  1. Create a custom app for a client: Use the Shopify API to build and sell an app that adds features and functionality to a client’s Shopify store.
  2. Build an app and sell it in the Shopify App Store: You’ll earn 80% of each app sale.

I'm thinking you are leaning towards no. 1 in this case? 

 

It's not something I'd have the expertise in creating myself, but Shopify has created some guides for making apps and developing on Shopify which you can see respectively here and here

 

Hopefully this helps guide you in the right direction for the best next steps. 

To learn more visit the Shopify Help Center or the Community Blog.

JohnAtBonify
Shopify Partner
136 7 33

Hi there,

 

I'm a little late to the thread, but you could do this easily with our metafields app, Custom Fields by Bonify. https://apps.shopify.com/custom-fields-2

 

You may also want to combine a metafields app with a search app for filtering based on those criteria, we have a tutorial on that here.