Characteristics and Options

  • Posts: 9
  • Thank you received: 0
8 years 4 months ago #245794

-- 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?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245801

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:

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.

  • Posts: 9
  • Thank you received: 0
8 years 4 months ago #245852

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?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245856

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum