characteristics placeholder

  • Posts: 1
  • Thank you received: 0
8 years 1 month ago #267850

Hello,

For clothing I added a size with S/M/L under products->characteristics.

This enables me to show a dropdown next to my product with the sizes S/M/L.

But the first option in the select is directly S and I would like a placeholder there with "Select Size".

I am unable to find how to add this placeholder, does anyone have a pointer?

Cheers,
Gerard

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
8 years 1 month ago #267859

Hello,

The characteristics/variant system does not work that way because you have to configure in HikaShop the default variant for a product with characteristics.
The goal is to have a "default" product which will be automatically selected and displayed when you display the main product ; that way you already have the setting selected with also the different possibilities of "overrides" (variant images, description, price, etc).

But, in HikaShop you can override and customize every single views.
So you can override the view "show_block_characteristics" to change how the display is made.
www.hikashop.com/support/documentation/1...ize-the-display.html

Please note that if you want to override the display in dropdown, it will be a more complicated override because that part is still handle by a "type" (and the function displayFE).
In that case you can use an override of class, as explained here :
www.hikashop.com/forum/product-category-...resolved.html#250346
Or you can use the override via the function "hikashop_characteristics_html"
www.hikashop.com/support/documentation/6...tation.html#override
www.hikashop.com/forum/3-bug-report/8875...orking-properly.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.038 seconds
Powered by Kunena Forum