Skip to main content

Characteristic in radial display

More
12 years 9 months ago #136219 by condorazul
-- HikaShop version -- :2.2.3
-- Joomla version -- : 3.2
I would like to display the characteristic in radial wich i have chosen and it is displayed, but i also want to have the title of the characteristic in one line and the radial options below,

i mean:
COLOR:
·BLUE
·RED
·WHITE

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

More
12 years 9 months ago #136238 by Mohamed Thelji
Hi,
A solution can be to use some CSS code like :
Code:
.hikashop_product_characteristics_table td input, .hikashop_product_characteristics_table td { display: block; }
or :
Code:
.hikashop_product_characteristics_table td input { display: block; }

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

More
12 years 9 months ago - 12 years 9 months ago #136240 by condorazul
That worked but another question:
how can i add a class to the first row to make the title bigger:
So the characterist name woudl be
Color - font-size 36 and color red
Red - normal
White
Blue

----OTHER ONE
how can i add a separator between options in title so when the product is tshirt the name with options it would be tshirt red xl
and i would like it to be tshirt | red | Xl for example
Last edit: 12 years 9 months ago by condorazul.

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

More
12 years 9 months ago #136268 by Xavier
Hi,

you can use:
Code:
.hikashop_product_characteristics_table td input:first, .hikashop_product_characteristics_table td:first { font-size: 36px; color: red; }

For the separator, you actually have to edit a core file: "administrator/components/com_hikashop/classes/product.php" in the function "checkVariant()" replace:
Code:
$separator = $config->get('characteristics_values_separator',' ');
By:
Code:
$separator = $config->get('characteristics_values_separator',' | ');

Then in the language file (Configuration > Language) add this translation override:
Code:
HIKA_VARIANT_SEPARATOR=" "

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

More
12 years 9 months ago #136300 by condorazul
Css did not worked:
.hikashop_product_characteristics_table td input:first, .hikashop_product_characteristics_table td:first {
font-size: 36px;
color: red;
}

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

More
12 years 9 months ago #136315 by nicolas
Then please provide a link to that page.

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

Time to create page: 0.197 seconds
Powered by Kunena Forum