- Posts: 36
- Thank you received: 0
Using custom field to show personalized product?
14 years 6 months ago - 14 years 4 months ago #41682
by utillis
Using custom field to show personalized product? was created by utillis
I want to sell personalized products and would like to have a thumbnails of the outcome shown during checkout. I would like to know what options I have to accomplish my goal.
Some background info:
- the whole shopping process will not require a user login or registration
- a different application will create the productthumbnail (i.e. a black T-shirt with picture on it)
- that application should add the product to the cart (just black T-shirt)
- when the customer goes to checkout the product should be shown using the custom thumbnail
- when the customer buys 3 of the same T-shirts with a different picture, 3 T-shirts should be shown seperately, each with its own thumbnail
I thought that having the design application create a (variant) product for each personalized T-shirt will kill my setup eventually (to many products of which they will all sell just once). So I guess I have to think about something with the "Custom fields" maybe?
Does anybody have some interesting ideas on this?
I've seen this before on a different website, to give you an idea:
Some background info:
- the whole shopping process will not require a user login or registration
- a different application will create the productthumbnail (i.e. a black T-shirt with picture on it)
- that application should add the product to the cart (just black T-shirt)
- when the customer goes to checkout the product should be shown using the custom thumbnail
- when the customer buys 3 of the same T-shirts with a different picture, 3 T-shirts should be shown seperately, each with its own thumbnail
I thought that having the design application create a (variant) product for each personalized T-shirt will kill my setup eventually (to many products of which they will all sell just once). So I guess I have to think about something with the "Custom fields" maybe?
Does anybody have some interesting ideas on this?
I've seen this before on a different website, to give you an idea:
Attachment not found
Last edit: 14 years 4 months ago by utillis.
Please Log in or Create an account to join the conversation.
14 years 6 months ago #41858
by nicolas
Replied by nicolas on topic Re: Using custom field to show personalized product?
Yes, using custom fields of the table "item" (business edition) sounds the way to go.
Here is a thread regarding the addition of a product to the cart including values for custom item fields:
www.hikashop.com/en/forum/2-general-talk...-product-fields.html
For the thumbnails, you can just edit the file "cart" of the view "checkout" via the menu Display->Views in order to display your custom thumbnails instead of the product image.
Here is a thread regarding the addition of a product to the cart including values for custom item fields:
www.hikashop.com/en/forum/2-general-talk...-product-fields.html
For the thumbnails, you can just edit the file "cart" of the view "checkout" via the menu Display->Views in order to display your custom thumbnails instead of the product image.
Please Log in or Create an account to join the conversation.
14 years 6 months ago #41939
by utillis
Replied by utillis on topic Re: Using custom field to show personalized product?
Thanks,
is it also possible to have several of the same products with different customfields show up as separate products?
Product1, Customfield: myfirstproduct, qty. 1, price $1
Product1, Customfield: mysecondproduct, qty. 1, price $1
is it also possible to have several of the same products with different customfields show up as separate products?
Product1, Customfield: myfirstproduct, qty. 1, price $1
Product1, Customfield: mysecondproduct, qty. 1, price $1
Please Log in or Create an account to join the conversation.
14 years 6 months ago #42070
by nicolas
Replied by nicolas on topic Re: Using custom field to show personalized product?
Hi,
No, that's not possible. You will have to have several products for that.
No, that's not possible. You will have to have several products for that.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #51804
by utillis
Replied by utillis on topic Re: Using custom field to show personalized product?
Could it be an option to create a variant of a certain product on the fly using php code?
When the customer approves his T-shirt design php would then automatically create a variant of a specific product, add the corresponding preview thumb with it. Then afterwards use cron to cleanup created variants for each product. Or would this create to much loose ends in the database or otherwise influence the performance or neatness?
When the customer approves his T-shirt design php would then automatically create a variant of a specific product, add the corresponding preview thumb with it. Then afterwards use cron to cleanup created variants for each product. Or would this create to much loose ends in the database or otherwise influence the performance or neatness?
Please Log in or Create an account to join the conversation.
14 years 4 months ago #51878
by nicolas
Replied by nicolas on topic Re: Using custom field to show personalized product?
You don't need to do any code for that.
Create a product, create custom "item" fields via the menu Display->Custom fields (business edition) and then your users will be able to enter custom infos for each product before adding it to the cart. The product will retain the information in the order, emails and invoice.
Create a product, create custom "item" fields via the menu Display->Custom fields (business edition) and then your users will be able to enter custom infos for each product before adding it to the cart. The product will retain the information in the order, emails and invoice.
Please Log in or Create an account to join the conversation.
14 years 4 months ago - 14 years 4 months ago #51882
by utillis
Replied by utillis on topic Re: Using custom field to show personalized product?
But will that create a new item-line in the cart for each same product ID and each with there different design (in your example referenced by a different custom field content)?
Because earlier you said it is not possible if the product is the same.
T-shirt type A, Photo1/customfield, amount 1, price $10
T-shirt type A, Photo2/customfield, amount 1, price $10
Because earlier you said it is not possible if the product is the same.
T-shirt type A, Photo1/customfield, amount 1, price $10
T-shirt type A, Photo2/customfield, amount 1, price $10
Last edit: 14 years 4 months ago by utillis.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #51887
by utillis
Replied by utillis on topic Re: Using custom field to show personalized product?
Just tried it on the demo site, seems to work. Now I have to think what the best way is to use the custom field for processing and attaching the designfile to the product without showing the custom field in the cart.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #51916
by utillis
Replied by utillis on topic Re: Using custom field to show personalized product?
What would be the best way to fill the custom field when adding the product with a direct link? The custom field will not be filled by the customer in the webshop, but has to be filled by my customizing application.
I could have the Flash design application add the product using a link or something, but then I would need to know how to include the customfield data to push with the productitem
Or I can use PHP code to add the product to the cart. But somehow I would need fill the customfield with a designnumber or ID which I can use for the further processing and printing of the T-shirts.
I could have the Flash design application add the product using a link or something, but then I would need to know how to include the customfield data to push with the productitem
Or I can use PHP code to add the product to the cart. But somehow I would need fill the customfield with a designnumber or ID which I can use for the further processing and printing of the T-shirts.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #51972
by nicolas
Replied by nicolas on topic Re: Using custom field to show personalized product?
The simplest will be to use the add to cart URL with extra parameters for custom fields as explained here:
www.hikashop.com/forum/2-general-talk-ab...s.html?lang=en#16220
www.hikashop.com/forum/2-general-talk-ab...s.html?lang=en#16220
Please Log in or Create an account to join the conversation.
Time to create page: 0.284 seconds