[Skip to main content](#vessel-content)

#   creat a link from a text word to shipping fee

##

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 8 months ago [\#40038](#40038) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#40038 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")* was created by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")*

Hi

I would like to creat a link next to the product price to our shipping fee site.
Maybe you have an idea.
Thank you.

####  Attachment Bildschirmfoto2012-02-18um14.10.44.png not found

-

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 8 months ago [\#40266](#40266) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#40266 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hi,

You could edit the file "listing_price" of the view "product" via the menu Display-&gt;Views in order to add your HTML at the end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 8 months ago [\#40372](#40372) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#40372 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Thank you Nicolas,

I already add this line:

echo " inkl. 19%MwSt zzgl.";
echo "&lt;a href=\"[ sexyplexi.de/index.php?option=com\_conten...&amp;Itemid=550&amp;lang=de\\](http://sexyplexi.de/index.php?option=com_content&view=article&id=73&Itemid=550&lang=de%5C)"&gt;Versandkosten&lt;/a&gt;";

After this, it shows everywhere also in the cart and in the price of the options.

How can I reduce this to only in the product page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 8 months ago [\#40564](#40564) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#40564 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Do like that:

echo "&lt;span class="my_custom_class" style="display:none;"&gt; inkl. 19%MwSt zzgl.";
echo "&lt;a href=\"sexyplexi.de/index.php?option=com_conten...ten&lt;/a&gt;&lt;/span&gt;";

and add the CSS:

.hikashop_product_page .my_custom_class{display:inline !important;}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 7 months ago [\#42555](#42555) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42555 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Nicolas,

I have added these lines:

echo "&lt;span class="my_custom_class" style="display:none;"&gt; inkl. 19%MwSt zzgl.";
echo "&lt;a href=\"sexyplexi.de/index.php?option=com_conten...ten&lt;/a&gt;&lt;/span&gt;";

at the end of listing_price view product and

this line

.hikashop_product_page .my_custom_class{display:inline !important;}

at the end of CSS in configuration view.

It does not work. Please advice.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42693](#42693) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42693 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

What does not work ?

Please give more information. Nothing happens ? It doesn't display exactly like you want ?
Did you edit the file for the correct template ?
Did you flush your browser cache ?
Could you give a link to that page so that we can see your modifications ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 7 months ago [\#42856](#42856) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42856 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Nicolas,

these are the last line in "product / listing_price.php":

if($this-&gt;params-&gt;get('price_with_tax')==2&#124;&#124;!$this-&gt;params-&gt;get('price_with_tax')){
$weight_price = $price-&gt;price_value / $this-&gt;row-&gt;product_weight;
echo $this-&gt;currencyHelper-&gt;format($weight_price,$price-&gt;price_currency_id).' / '.JText::_($this-&gt;row-&gt;product_weight_unit);

}
if($this-&gt;params-&gt;get('price_with_tax')==2){
echo JText::_('PRICE_AFTER_TAX');
}
echo '&lt;/span&gt;';

}
}
*/
if(isset($price-&gt;price_min_quantity) &amp;&amp; empty($this-&gt;cart_product_price) &amp;&amp; $price-&gt;price_min_quantity&gt;1){
echo '&lt;/span&gt;';
}
}

echo JText::_('PRICE_END');

}

?&gt; &lt;/span&gt;

echo "&lt;span class="my_custom_class" style="display:none;"&gt; inkl. 19%MwSt zzgl.";
echo "&lt;a href=\"plexiglas-deko.de/index.php/de/versand-zahlung-plexiglas-acrylglas&lt;/a&gt;&lt;/span&gt;";

Please the link:
[ plexiglas-deko.de/index.php/de/?ctrl=pro...sk=show&amp;product\_id=7](http://plexiglas-deko.de/index.php/de/?ctrl=product&task=show&product_id=7)

The Text "inkl. 19%MwSt zzgl.Versandkosten" does not display after the price.
And it seems to me all the following text is now the link and not only "Versandkosten".

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42873](#42873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42873 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Then it means that you're not editing the correct product/listing_price.php file. Please make sure that you're doing the modifications in the file of the template you're using on your front end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 7 months ago [\#42880](#42880) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42880 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

I have do the modification in the file you mentioned (frontend).
Is the code right as I written?
Could you please check this for me?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago -  14 years 7 months ago [\#42883](#42883) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42883 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

I don't see your modification in that file: Code:

http://plexiglas-deko.de/administrator/index.php?option=com_hikashop&amp;ctrl=view&amp;task=edit&amp;id=0&#124;mx_joofree6&#124;component&#124;com_hikashop&#124;product&#124;listing_price.php

Last edit: 14 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 7 months ago [\#42886](#42886) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42886 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

I took it out. But you can put it back and test it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 7 months ago [\#42890](#42890) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42890 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

It's working, it's just that your code was not valid (all the " were not escaped), but it's the correct file to do the change.
Here is the finale code:

echo "&lt;span class=\"my_custom_class\" style=\"display:none;\"&gt;&lt;a href=\"plexiglas-deko.de/index.php/de/versand-zahlung-plexiglas-acrylglas\"&gt; inkl. 19%MwSt zzgl.&lt;/a&gt;&lt;/span&gt;";

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")**
- [![Scheinbacher's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4743-scheinbacher "View Scheinbacher's Profile") Topic Author
- [ Offline](/forum/user/4743-scheinbacher)

Less More

- Posts: 75
- Thank you received: 1
-
-

14 years 7 months ago [\#42895](#42895) by [Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")  Replied by *[Scheinbacher](/forum/user/4743-scheinbacher "View Scheinbacher's Profile")* on topic *[Re: creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#42895 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

You save my day.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[ff87](/forum/user/30751-ff87 "View ff87's Profile")**
- [![ff87's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30751-ff87 "View ff87's Profile")
- [ Offline](/forum/user/30751-ff87)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 6 months ago -  12 years 6 months ago [\#151334](#151334) by [ff87](/forum/user/30751-ff87 "View ff87's Profile")  Replied by *[ff87](/forum/user/30751-ff87 "View ff87's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151334 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hi guys,

my code is:
echo "&lt;span class=\"my_custom_class\" style=\"display:none;\"&gt;&lt;a href=\"/index.php/component/content/article?id=4&amp;amp;tmpl=component\"&gt; zzgl. Versandkosten&lt;/a&gt;&lt;/span&gt;";

But I would like to paste this html code into the echo command:

&lt;html&gt;
zzgl. &lt;a onclick="return window.hikashop.openBox(this,null,false);" href="/index.php/component/content/article?id=4&amp;amp;tmpl=component" rel="{handler: 'iframe', size: {x: 460, y: 270}}"&gt;Versandkosten&lt;/a&gt;
&lt;/html&gt;

How to do it?

In addition, I would like to make a break so "zzgl. Versandkosten" is shown under the price. Moreover, ONLY by clicking "Versandkosten", the box shall be opened.

Last edit: 12 years 6 months ago by [ff87](/forum/user/30751-ff87 "View ff87's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 6 months ago [\#151373](#151373) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151373 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hello,
The solution will probably be to use that kind of code : Code:

echo "&lt;html&gt;zzgl. &lt;a onclick=\"return window.hikashop.openBox(this,null,false);\" href=\"/index.php/component/content/article?id=4&amp;tmpl=component\" rel=\"{handler: 'iframe', size: {x: 460, y: 270}}\"&gt;Versandkosten&lt;/a&gt;&lt;/html&gt;";

The following user(s) said Thank You: [ff87](/forum/user/30751-ff87 "View ff87's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[ff87](/forum/user/30751-ff87 "View ff87's Profile")**
- [![ff87's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30751-ff87 "View ff87's Profile")
- [ Offline](/forum/user/30751-ff87)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 6 months ago [\#151579](#151579) by [ff87](/forum/user/30751-ff87 "View ff87's Profile")  Replied by *[ff87](/forum/user/30751-ff87 "View ff87's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151579 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Oh nooo, so easy? :lol:
I must say I was close but I thought a bit different. Ok, now I understand the principle of PHP concerning including a html code, many thanks! *thumbs up*

Best Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[ff87](/forum/user/30751-ff87 "View ff87's Profile")**
- [![ff87's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30751-ff87 "View ff87's Profile")
- [ Offline](/forum/user/30751-ff87)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 6 months ago -  12 years 6 months ago [\#151581](#151581) by [ff87](/forum/user/30751-ff87 "View ff87's Profile")  Replied by *[ff87](/forum/user/30751-ff87 "View ff87's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151581 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Dear Mohamed,

is it actually possible to specifiy the template css to the iframe? The problem is that the print look will be used (print.css) but I would like to let it show with the standard css of the used template.

Looking forward to hear from you again.

EDIT:

By the way: unfortunately, adding this code with the html is finally not the solution as I have the same problem again what Scheinbacher already mentioned:

> After this, it shows everywhere also in the cart and in the price of the options.
>
> How can I reduce this to only in the product page?

Pity. But thanks anyway.

Last edit: 12 years 6 months ago by [ff87](/forum/user/30751-ff87 "View ff87's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#151701](#151701) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151701 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hi,

To have it only on the product page, you can probably use this code: Code:

$ctrl = JRequest::getVar('ctrl',''); $task = JRequest::getVar('task',''); if($ctrl == 'product' &amp;&amp; $task == 'show'){ echo "&lt;html&gt;zzgl. &lt;a onclick=\"return window.hikashop.openBox(this,null,false);\" href=\"/index.php/component/content/article?id=4&amp;tmpl=component\" rel=\"{handler: 'iframe', size: {x: 460, y: 270}}\"&gt;Versandkosten&lt;/a&gt;&lt;/html&gt;"; }

But having html tags inside another html tags is not a good solution, you should have iframe tags around you html ones I think.
In the echo you can potentially add a code to call the desired stylesheet.

> &lt;link rel=stylesheet href="[ www.yourdomain.com/style.css](http://www.yourdomain.com/style.css)" type="text/css"&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[ff87](/forum/user/30751-ff87 "View ff87's Profile")**
- [![ff87's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30751-ff87 "View ff87's Profile")
- [ Offline](/forum/user/30751-ff87)

Less More

- Posts: 27
- Thank you received: 0
-
-

12 years 6 months ago [\#151741](#151741) by [ff87](/forum/user/30751-ff87 "View ff87's Profile")  Replied by *[ff87](/forum/user/30751-ff87 "View ff87's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151741 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hi Xavier,

concerning print.css I have edited it so the style of the iframe is ok now.
Concerning your code, it works but nevertheless I can see the same link in the cart module so I still haven´t reached what I want to.

I need a code which expresses this:
If the product page is shown, ONLY then show the link under the price BUT don´t show it in the cart module.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#151767](#151767) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[creat a link from a text word to shipping fee](/forum/2-general-talk-about-hikashop/40038-creat-a-link-from-a-text-word-to-shipping-fee#151767 "Hi  I would like to creat a link next to the product price to our shipping fee site. Maybe you have an idea. Thank you.")*

Hi,

I forgot to ask you something, at which place are you adding that code ?
If you want that only on the product page, Why not add it directly in the view "product / show_default" ?

The following user(s) said Thank You: [ff87](/forum/user/30751-ff87 "View ff87's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQwMDM4LWNyZWF0LWEtbGluay1mcm9tLWEtdGV4dC13b3JkLXRvLXNoaXBwaW5nLWZlZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.152 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
