hikashop_product_custom_info_main_table issue

  • Posts: 633
  • Thank you received: 6
  • Hikamarket Multivendor Hikashop Business
1 week 5 days ago #310704

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2

Hello,

When i choose a characteristic in my product, the css customization form the class hikashop_product_custom_info_main_table disappears.




Thank you

Attachments:
Last edit: 1 week 5 days ago by verzevoul.

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

  • Posts: 2219
  • Thank you received: 297
  • MODERATOR
1 week 5 days ago #310709

Hello,

Can be sure of it, without a link but if I have to make a guess, your custom css need more classto define his selector.
You have to know that the characteristic html is different from the regular, and so the css class can be different as well.

Hope this will help you to figure out.
Regards

The following user(s) said Thank You: verzevoul

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

  • Posts: 633
  • Thank you received: 6
  • Hikamarket Multivendor Hikashop Business
1 week 5 days ago #310736

Hi Philip,

Actually i haven't added css, i edit the file "show_block_custom_main" and this is what i changed:

<div id="hikashop_product_custom_info_main" class="hikashop_product_custom_info_main">
<h4><?php echo JText::_('SPECIFICATIONS');?></h4>
<table class="hikashop_product_custom_info_main_table uk-table uk-table-striped uk-table-small"">
<?php echo $specifFields; ?>
</table>
</div>

This classes add their own css, so normally shouldn't it work? Do i have to edit some other view file also?

Thank you

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

  • Posts: 2219
  • Thank you received: 297
  • MODERATOR
1 week 4 days ago #310743

Hello,

Can't say more without seeing it ourselves, can you provide an Url link ?
Anyway, if you modify the show_block, I can guess that you have to modify another view that manage characteristic display.
To check this, you have a backend option, see my screenshot :



This Display view files option will help you to see view to edit to keep all consistent.

Regards

Last edit: 1 week 4 days ago by Philip.
The following user(s) said Thank You: verzevoul

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

  • Posts: 633
  • Thank you received: 6
  • Hikamarket Multivendor Hikashop Business
1 week 3 days ago #310804

Hi,

i can't find any solution, i'm sending you via email the url.

Thank you

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

  • Posts: 66889
  • Thank you received: 9887
  • MODERATOR
1 week 3 days ago #310806

Hi,

The layout changes because your template has added the classes " uk-table uk-table-striped uk-table-small" to the specification table of the default element but not to the table of the variants data in the "show" file of the "product" view. I've added it for you via the menu Display>Views and now the table displays the same even after changing the variant selection.
That's something that should be reported to the template provider so that it can be fixed in future version of the template.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.075 seconds
Powered by Kunena Forum