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

#   items in the basket

##

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#126815](#126815) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#126815 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")* was created by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")*

how to make a product that is added to the cart (on the checkout page) was not a link to him?
or redirect it to another page ?

hika create mysite/component/hikashop/product/1-one page
but i need to redirect this link on product page.

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#126979](#126979) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#126979 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

The link " mysite/component/hikashop/product/1-one-page " is the link to the HikaShop product page for this product.
If you don't want to display it, you have to edit the view "checkout &#124; cart" in order to change how the products are displayed in this checkout cart.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago [\#126985](#126985) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#126985 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

and how to redirect the user to the page where the button "add to cart"?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#127135](#127135) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127135 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

Can you make an understandable question please ?
Something that we can understand in order to give you an answer.

Thanks

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127136](#127136) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127136 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

ok , sorry )

I have a page with the product, i add the "buy button" to this page.
i need the link of the product in the basket redirects me to the page with the product, where the "buy button" is situated.
but not to the page that creates hikashop .
how can i do this

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127231](#127231) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127231 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

I add a button like this
[ ![hbdd56c8.png](/forum/attachment/12764) ](/forum/attachment/12764 "hbdd56c8.png")

- [ ![hbdd56c8.png](/forum/attachment/12764) ](/forum/attachment/12764 "hbdd56c8.png") [ ](/forum/attachment/12764?download=1 "hbdd56c8.png")

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago [\#127317](#127317) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127317 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

any idea ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago [\#127388](#127388) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127388 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Jerome, I wrote lucidly?
sorry for my english i use google translate ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#127444](#127444) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127444 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

Please note that each time you reply to your own message, you loose your position in the queue.
So more you replied, more you have to wait until we arrived to your message.

So, you use the "product insert tag" plugin.
This plugin creates an "add to cart" button thanks to the view "product &#124; add_to_cart_listing".

Now, I need some information :
- A screenshot of your HikaShop configuration (section: Main &gt; Cart)
- A link to your store and more precisely : the page where there is your special "add to cart"

For your screenshot, please log-in in your backend in English. It will help use to read your configuration ![:)](/media/kunena/emoticons/3.png ":)")

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127479](#127479) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127479 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hello friend !
i use localhost .

here are a few screens

[ ![hdc5663b.png](/forum/attachment/12805) ](/forum/attachment/12805 "hdc5663b.png")

this is the page with ''product insert tag''
http://localhost:8888/demo/trenings/actors

i need the link of the product in the basket redirects me to my page
http://localhost:8888/demo/trenings/actors

but not to this page
http://localhost:8888/demo/component/hikashop/product/1-actors

- [ ![hdc5663b.png](/forum/attachment/12805) ](/forum/attachment/12805 "hdc5663b.png") [ ](/forum/attachment/12805?download=1 "hdc5663b.png")

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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 1 month ago [\#127488](#127488) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127488 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

This will require some modifications in the view "checkout / cart" via the menu Display &gt; Views.
Edit the part where the product name is displayed to change the link, and set the desired link.

The code line is: Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;" &gt;&lt;?php } ?&gt;

And the code to change is: Code:

&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;

You can try something like: Code:

&lt;?php echo JUri::base().'trenings/'.$row-&gt;product_name; ?&gt;

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127544](#127544) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127544 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

hello, xavier this code doesn't work .

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

13 years 1 month ago [\#127766](#127766) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127766 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Why does it not work ? Are you sure you're editing the correct file ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127817](#127817) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127817 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

I replace the code
[ ![h27036bf.png](/forum/attachment/12871) ](/forum/attachment/12871 "h27036bf.png")

for this
[ ![h117e82a.png](/forum/attachment/12872) ](/forum/attachment/12872 "h117e82a.png")

and that's what happens

- [ ![h27036bf.png](/forum/attachment/12871) ](/forum/attachment/12871 "h27036bf.png") [ ](/forum/attachment/12871?download=1 "h27036bf.png")
- [ ![h117e82a.png](/forum/attachment/12872) ](/forum/attachment/12872 "h117e82a.png") [ ](/forum/attachment/12872?download=1 "h117e82a.png")

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#127893](#127893) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127893 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

You misunderstood what Xavier wrote.

The code line is: Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;" &gt;&lt;?php } ?&gt;

And **the code to change is**: Code:

&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;

You can **try something** like: Code:

&lt;?php echo JUri::base().'trenings/'.$row-&gt;product_name; ?&gt;

**It means you have to try this code**Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a href="&lt;?php echo JUri::base().'trenings/'.$row-&gt;product_name; ?&gt;" &gt;&lt;?php } ?&gt;

Please read carefully and if you don't understand, just tell it ; There is no problem.
Saying that "the code isn't working" is not something helpful for us, so it become more difficult to help you.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago -  13 years 1 month ago [\#127900](#127900) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127900 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi Jerome , i try this code . but nothing ( Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a href="&lt;?php echo JUri::base().'trenings/'.$row-&gt;product_name; ?&gt;" &gt;&lt;?php } ?&gt;

error 404
http://localhost:8888/demo/trenings/%D0%9A%D1%83%D1%80%D1%81%D1%8B%20%D1%82%D0%B5%D0%BB%D0%B5%D0%B2%D0%B5%D0%B4%D1%83%D1%89%D0%B8%D1%85

maybe it's because I have a product name on Russian, and the alias of the page on English?

after insert your code

P.S ''thanks , you corrected me"

Last edit: 13 years 1 month ago by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago [\#127906](#127906) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#127906 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

I found a reason
when the product name on the same language as the page name - it works fine .

but my " product insert tags " used not only in the "trainings" category .
i use " product insert tags " in another categories :

demo/mainpage/product1 ,
demo/contacts/product2
demo/trenings/radio/product3,
demo/lessons/audio/product4
etc.

how to implement it ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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 1 month ago [\#128089](#128089) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#128089 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

Hi,

You can use "$row-&gt;product_alias" instead of "$row-&gt;product_name".
To have a link to other categories, you can use the custom fields (business edition).
Create a custom field in the table product, named for example "link", and then in the product edition page (backend hikashop) set the desired link to the product, it should look like: "mainpage/product1"

Then in the previous view, use the code: Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;a href="&lt;?php echo JUri::base().$row-&gt;link; ?&gt;" &gt;&lt;?php } ?&gt;

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")**
- [![rockettboost's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26647.png)](/forum/user/26647-rockettboost "View rockettboost's Profile") Topic Author
- [ Offline](/forum/user/26647-rockettboost)

Less More

- Posts: 172
- Thank you received: 2
-
-

13 years 1 month ago [\#128144](#128144) by [rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")  Replied by *[rockettboost](/forum/user/26647-rockettboost "View rockettboost's Profile")* on topic *[items in the basket](/forum/27-checkout/862619-items-in-the-basket#128144 "how to make a product that is added to the cart (on the checkout page) was not a link to him? or redirect it to another page ?  hika create mysite/component/hikashop/product/1-one page but i need to redirect this link on product page.")*

product_alias - work fine !!!
thx for your help guys )

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjYxOS1pdGVtcy1pbi10aGUtYmFza2V0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.123 seconds

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