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

#   Change url for "Contact Us" button

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 8 months ago [\#89058](#89058) by [signsasrx](/forum/user/13204-signsasrx "View signsasrx's Profile")  *[Change url for "Contact Us" button](/forum/4-how-to/78144-change-url-for-contact-us-button#89058 "I have downloaded the Fox Contact extension for use as my primary &quot;Contact Us&quot; page and module in my HikaShop. I would like to override the url in my &quot;Contact Us&quot; button which is located beneath the...")* was created by *[signsasrx](/forum/user/13204-signsasrx "View signsasrx's Profile")*

I have downloaded the Fox Contact extension for use as my primary "Contact Us" page and module in my HikaShop. I would like to override the url in my "Contact Us" button which is located beneath the "Add To Cart" button in my template, and currently brings users to the default Hikashop "Contact" page. Could you please tell me where to find the file in which I can update the url to my custom "Contact Us" page. Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTQ0LWNoYW5nZS11cmwtZm9yLWNvbnRhY3QtdXMtYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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)
-

13 years 8 months ago [\#89135](#89135) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change url for "Contact Us" button](/forum/4-how-to/78144-change-url-for-contact-us-button#89135 "I have downloaded the Fox Contact extension for use as my primary &quot;Contact Us&quot; page and module in my HikaShop. I would like to override the url in my &quot;Contact Us&quot; button which is located beneath the...")*

To edit the url of the "contact button", you have to edit the view "product / show default", the url is in the code: Code:

&lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt; &lt;?php $contact = $this-&gt;config-&gt;get('product_contact',0); if (hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty ($this-&gt;element-&gt;product_contact)))) { $empty = ''; $params = new HikaParameter($empty); echo $this-&gt;cart-&gt;displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;row-&gt;product_id), 'window.location=\'' . hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;row-&gt;product_id) . '\';return false;'); } ?&gt; &lt;/div&gt;

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

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 8 months ago [\#89222](#89222) by [signsasrx](/forum/user/13204-signsasrx "View signsasrx's Profile")  Replied by *[signsasrx](/forum/user/13204-signsasrx "View signsasrx's Profile")* on topic *[Change url for "Contact Us" button](/forum/4-how-to/78144-change-url-for-contact-us-button#89222 "I have downloaded the Fox Contact extension for use as my primary &quot;Contact Us&quot; page and module in my HikaShop. I would like to override the url in my &quot;Contact Us&quot; button which is located beneath the...")*

Thank you for the fast reply. I am not sure where to insert the new url into that code that you pasted above. Also, will I have to post it in a specific format, or just simply type the url into the code? Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTQ0LWNoYW5nZS11cmwtZm9yLWNvbnRhY3QtdXMtYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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)
-

13 years 8 months ago [\#89380](#89380) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change url for "Contact Us" button](/forum/4-how-to/78144-change-url-for-contact-us-button#89380 "I have downloaded the Fox Contact extension for use as my primary &quot;Contact Us&quot; page and module in my HikaShop. I would like to override the url in my &quot;Contact Us&quot; button which is located beneath the...")*

You have to replace the two "hikashop_completeLink('product&amp;task=contact&amp;cid=' . $this-&gt;row-&gt;product_id)" by you url, and you can just type your url in the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4MTQ0LWNoYW5nZS11cmwtZm9yLWNvbnRhY3QtdXMtYnV0dG9uP3RtcGw9bWFya2Rvd24=) 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.057 seconds

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