Characteristics and Options
- Spark@jumpstart
-
Topic Author
- Offline
- Warren
Less
More
10 years 2 months ago #245794
by Spark@jumpstart
Characteristics and Options was created by Spark@jumpstart
-- url of the page with the problem -- :
www.hedgehoglane.co.za
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- Browser(s) name and version -- : Firefox
HI
I have a product which is a package. A client when selecting the package must select 3 to 5 colours so we know what colours they want. The colours are part of the package and essentially have a zero value.
If I use Characteristics and list them I have a wonderful list of colours but when adding colours to the cart it adds multiples of the package to the cart. Is there a way to assign a nil value here?
If I have a product, the colour red and have it as an option in a package product. I cannot have the colour display and this is necessary to see so the characteristic is a better way to display.
hedgehoglane.co.za/shop/product/party-for-1-10-kids
i would appreciate a way to do this?
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- Browser(s) name and version -- : Firefox
HI
I have a product which is a package. A client when selecting the package must select 3 to 5 colours so we know what colours they want. The colours are part of the package and essentially have a zero value.
If I use Characteristics and list them I have a wonderful list of colours but when adding colours to the cart it adds multiples of the package to the cart. Is there a way to assign a nil value here?
If I have a product, the colour red and have it as an option in a package product. I cannot have the colour display and this is necessary to see so the characteristic is a better way to display.
hedgehoglane.co.za/shop/product/party-for-1-10-kids
i would appreciate a way to do this?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #245801
by nicolas
Replied by nicolas on topic Characteristics and Options
Hi,
I would recommend to not use characteristics for your color selector. It will solve both your problems and allow to have products with images selectors and it will work fine with the options.
You want to create 5 custom fields of the table "item" and of the type "radio" via the menu Display>Custom fields. Then, for their values, you want to have translation keys like that:
IMAGE1
IMAGE2
etc
Then, in your HikaShop configuration, add translation keys like that under the languages tab:
www.hikashop.com/download/languages.html#modify
I would recommend to not use characteristics for your color selector. It will solve both your problems and allow to have products with images selectors and it will work fine with the options.
You want to create 5 custom fields of the table "item" and of the type "radio" via the menu Display>Custom fields. Then, for their values, you want to have translation keys like that:
IMAGE1
IMAGE2
etc
Then, in your HikaShop configuration, add translation keys like that under the languages tab:
Code:
IMAGE1="<img src='http://mywebsite.com/myimage.jpg'/>"
www.hikashop.com/download/languages.html#modify
The following user(s) said Thank You: Spark@jumpstart
Please Log in or Create an account to join the conversation.
- Spark@jumpstart
-
Topic Author
- Offline
- Warren
10 years 2 months ago #245852
by Spark@jumpstart
Replied by Spark@jumpstart on topic Custom fields
Hi Nicholas.
Nearly there. On the product I am now getting options which is great.
But the colour is not showing. I get words
Colours image_red image_orange.
Link to page
used checkbox rather than radio as many colours can be selected
Not sure where my error is?
Nearly there. On the product I am now getting options which is great.
Colours image_red image_orange.
Link to page
used checkbox rather than radio as many colours can be selected
Not sure where my error is?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #245856
by nicolas
Replied by nicolas on topic Custom fields
Hi,
The problem is with your override. It's wrong.
Please do it like I explained:
Simple quotes for the attributes values and double quotes around the whole HTML.
The problem is with your override. It's wrong.
Please do it like I explained:
Simple quotes for the attributes values and double quotes around the whole HTML.
Please Log in or Create an account to join the conversation.
Time to create page: 0.181 seconds