- Posts: 53
- Thank you received: 0
Product Options
13 years 3 months ago #107140
by ngt13
Product Options was created by ngt13
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 3 months ago #107148
by Mohamed Thelji
Replied by Mohamed Thelji on topic Product Options
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
.
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.
13 years 3 months ago #107163
by ngt13
Replied by ngt13 on topic Product Options
Thanks Mohamed
I have sent you a pm with the link.
I have sent you a pm with the link.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #107335
by nicolas
Replied by nicolas on topic Product Options
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.
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.159 seconds