How to add custom field to a specific Product
11 years 7 months ago #189738
by habusam
How to add custom field to a specific Product was created by habusam
-- url of the page with the problem -- :
www.cudahyfood.com
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Chrome and Fire Fox
Hello,
we have a category called Cold Subs, then under that category few products one of them called any Two Meats,
So Customer can click on order online from the top tabs, then choose cold subs, then choose Any two meats
well it should come like a radio options either Ham and Turkey OR ham and Roast Beef OR Turkey and Roast Beef
see screenshot1
i created a custom filed like shown in screensho2 and I could not point the category to the products
so what really happen that particular custom field has been added to all the cold subs, when it has to be added to only one which is choose Two meat,
see the following sequence
as you noticed the Option has been added to all when we only need it to be added to cold Subs Any two meats like screenshoot seq4
any help appreciated
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Chrome and Fire Fox
Hello,
we have a category called Cold Subs, then under that category few products one of them called any Two Meats,
So Customer can click on order online from the top tabs, then choose cold subs, then choose Any two meats
well it should come like a radio options either Ham and Turkey OR ham and Roast Beef OR Turkey and Roast Beef
see screenshot1
i created a custom filed like shown in screensho2 and I could not point the category to the products
so what really happen that particular custom field has been added to all the cold subs, when it has to be added to only one which is choose Two meat,
see the following sequence
as you noticed the Option has been added to all when we only need it to be added to cold Subs Any two meats like screenshoot seq4
any help appreciated
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189745
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How to add custom field to a specific Product
Hi,
I am not sure to understand your question or your problem.
You create a custom field and specify in his configuration that you want to apply the item custom field on all products in the category "cold subs"
It is what you put in the custom field configuration
So, if it is not what you want, you should change your configuration to only target a category with only the products you want to target.
Regards,
I am not sure to understand your question or your problem.
You create a custom field and specify in his configuration that you want to apply the item custom field on all products in the category "cold subs"
It is what you put in the custom field configuration
So, if it is not what you want, you should change your configuration to only target a category with only the products you want to target.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189778
by habusam
Replied by habusam on topic How to add custom field to a specific Product
this custom field it has to go to only one product of that category, however it apply on all the products on that category ?
can you help please
can you help please
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189782
by Xavier
Replied by Xavier on topic How to add custom field to a specific Product
Hi,
For the moment we can only restrict custom fields on categories, not on products.
So a trick to have what you need is create a new category and add this category to the desired product only and restrict the custom field on that category.
For the moment we can only restrict custom fields on categories, not on products.
So a trick to have what you need is create a new category and add this category to the desired product only and restrict the custom field on that category.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189859
by habusam
Replied by habusam on topic How to add custom field to a specific Product
I don't understand how I'm going to create a new category. OK I'm very sorry i know how to create a new category and i know how to add the product to the category but it will look odd on the listing, we need one category that called Cold Subs.
is there more explanation?
Thanks
is there more explanation?
Thanks
Please Log in or Create an account to join the conversation.
11 years 7 months ago - 11 years 7 months ago #189885
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic How to add custom field to a specific Product
Excuse me, but you seem fixed on the "custom field" solution. Why not forget about it, and instead make the 3 meat combos
characteristics
of the "Any Two Meats" product? You'd have 3 variants then which your customers choose from, and this would be true for this one product only.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 11 years 7 months ago by lousyfool. Reason: added link to documentation on characteristics
The following user(s) said Thank You: habusam
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189892
by nicolas
Replied by nicolas on topic How to add custom field to a specific Product
You need to create an unpublished category and add it as a second category to your product.
That way, the product will get the custom fields restricted to that unpublished category, but the category won't display on your frontend.
That way, the product will get the custom fields restricted to that unpublished category, but the category won't display on your frontend.
The following user(s) said Thank You: habusam
Please Log in or Create an account to join the conversation.
11 years 7 months ago #189905
by habusam
Replied by habusam on topic How to add custom field to a specific Product
I tired the idea of adding new characteristics so its a drop down and it works, i think i have to figure how to restrict it make sure customer will choose because be default, it choose the first one, i will also go ahead and try nick idea, , thanks to both
Please Log in or Create an account to join the conversation.
11 years 7 months ago - 11 years 7 months ago #189906
by habusam
Replied by habusam on topic How to add custom field to a specific Product
Last edit: 11 years 7 months ago by habusam.
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds