show_block_custom_main.php override don't work with characteristics

  • Posts: 214
  • Thank you received: 10
  • Hikashop Multisite
3 years 11 months ago #331448

-- url of the page with the problem -- : joomla-webshops.nl/hikashop/products/product/2-stilettos
-- HikaShop version -- : 4.4.1

Hi Guys,

There is a problem with show_block_custom_main.php in combination with characteristic selection.

See Url of the page: joomla-webshops.nl/hikashop/products/product/2-stilettos

I created an override for show_block_custom_main.php.
The only thing i changed in this override is:
<h4><?php echo JText::_('SPECIFICATIONS');?></h4>
to:
<h2><?php echo JText::_('SPECIFICATIONS');?></h2>

When you look at the page on first load, it looks good.
When you select color and shoesize the override of show_block_custom_main.php switches back to the original (H4 title)
In this case (test-website) it's not a great problem, but for my client on his live-site i created a completely different styling which really looks odd when you select the characteristic.

Can you fix this? Or tell me what to do to always show the override.
Thanks in advance.
Jeroen

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

  • Posts: 83404
  • Thank you received: 13497
  • MODERATOR
3 years 11 months ago #331449

Hi,

The variant HTML comes from the product / show.php view file. So you need to also edit that view file and change the h4 tags there too.

Last edit: 3 years 11 months ago by nicolas.

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

  • Posts: 214
  • Thank you received: 10
  • Hikashop Multisite
3 years 11 months ago #331455

thanks this works!

The following user(s) said Thank You: Philip

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

Time to create page: 0.059 seconds
Powered by Kunena Forum