Select characteristik based on a picture

  • Posts: 585
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
8 years 5 months ago #241172

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6

Hi Hikashop team! ;-)

I have a Feature request from one of my clients.
They want to select characteristic based on a picture
Like in this example: www.wolplein.nl/wol/drops/drops-paris

I think it's not possible at the moment with Hikashop.

Hope to hear form you.

Kind regards,
Lumiga


Kind regards,
Lumiga

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 5 months ago #241189

Hi,

It is possible. We actually have a full documentation page explaining how to do that:
www.hikashop.com/support/documentation/2...isplay-by-color.html

The following user(s) said Thank You: Lumiga

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

  • Posts: 585
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
8 years 5 months ago #241426

Thanks! I'll take a look!


Kind regards,
Lumiga

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

  • Posts: 585
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
8 years 5 months ago #241469

Hi Nicolas,

I went through the documentation but I have one problem and one question about it.

1. The problem is that if you set the Characteristics selection method to Radio Button and you change the css as in your example.
Then all other products that have characteristics (without image selecting) are no more user friendly. Because the dropdown or radio buttons are gone. See image: "dropdown-is-gone.JPG"
I Hope you have a solution for this, like a product class or something? But I see no option for that in Hikashop.

2. My other question is that I want to show the color display pictures under the product image, and above the description, because we have 65 color pictures to show and in that case the row at the right of the product image becomes to long. So if we put this color pictures above the description we have more space to show the pictures in the full width like the description.
But I want this change this view only at specific products. Like in the problem above.

For this question I think I have to copy the code from the hikashop_product_options above the hikashop_product_description_main from the product view "show_default" but I don't know how to do this only for some specific products.
I hope you can give me a hint.

Kind regards,
Lumiga


Kind regards,
Lumiga
Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 5 months ago #241491

Hi,

I suppose that you're talking about the CSS from here:
www.hikashop.com/support/documentation/2...y-color.html#results
As you can see, it bases itself on the class hikashop_product_characteristics_table
So since you want to modify the show_default view file, you could simply use instead a new class that you would put in a div around the area where the characteristics are displayed on the product page.
That way, it would only affect the products using this new layout.
And regarding how to create that new layout, it's quite easy. You need to edit the show_default view file, and when you save your changes, you can enter a new name in the input at the top of the view file edition interface. That way, if will be saved as a new view file and you'll be able to select it instead of the "default" layout in the "product page layout" setting of the products.

The following user(s) said Thank You: Lumiga

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

  • Posts: 585
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
8 years 5 months ago #241784

Thanks Nicolas,

I begin to love Hikashop more and more! :)
I look forward to the sneak preview of version 3 on June 11 in Breda

I implemented your solution and it worked fine but still there is an issue with this option.
The problem is that if you set the Characteristics selection method to Radio Button in the configuration.
All other products have to use radio buttons. But we like to work wit drop-down function for the other products.

How can I fix this issue?

Or is it an idea that you can choose the characteristics selection method for the choosen lay-out on the productpage in the back-end?
Like the option to choose for the Quantity Input on the display area. See screenshot

Hope to hear from you.

Kind regards,
Lumiga


Kind regards,
Lumiga
Attachments:
Last edit: 8 years 5 months ago by Lumiga.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 5 months ago #241801

Hi,

In each characteristic setting, you can change the characteristic display method so that it is more adapted to what you want for that characteristic. That should meet your needs as I doubt that you have different products using the same characteristic that you want to display differently. If nevertheless that what you want, it's also possible with a simple line of code at the beginning of your custom layout:
<?php $this->params->set('characteristic_display','dropdown'); ?>

Last edit: 8 years 5 months ago by nicolas.
The following user(s) said Thank You: Lumiga

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

  • Posts: 585
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
8 years 5 months ago #243127

Thank you very much!!!!
I'm Happy now B) :) ;)


Kind regards,
Lumiga

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

Time to create page: 0.072 seconds
Powered by Kunena Forum