Product Options

  • Posts: 53
  • Thank you received: 0
11 years 5 months ago #107140

Hi all

On the product options i have an 'i' icon in blue providing with more information to the option.

Unfortunately when i hover the mouse over i get a load of code before the description. How can i get rid of this or turn this feature off?

Many Thanks

Nick

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

  • Posts: 12953
  • Thank you received: 1778
11 years 5 months ago #107148

Hi Nick,

Can you give me a link to your your product page ? it would probably help me to understand what your problem really is.

Thanks :).

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

  • Posts: 53
  • Thank you received: 0
11 years 5 months ago #107163

Thanks Mohamed

I have sent you a pm with the link.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
11 years 4 months ago #107335

If you look at the product page of the option: zevizoproperties.com/index.php?option=co...uct&task=show&cid=14
You will see that you have a twitter plugin which adds HTML and javascript code to the description of the option. HikaShop filters out the HTML but cannot filter out the javascript code. Normally, you should not have that code injected there.

The simplest will be to edit the file "option" of the view "product" via the menu Display->Views and change the line:
$description = $this->escape(strip_tags(JHTML::_('content.prepare',$optionInfo->product_description)));
to:
$description = $this->escape(strip_tags($optionInfo->product_description));

which will forbid the twitter plugin to add its modifications to the description of the option.

The following user(s) said Thank You: ngt13

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

Time to create page: 0.072 seconds
Powered by Kunena Forum