- Posts: 172
- Thank you received: 2
items in the basket
- rockettboost
-
Topic Author
- Offline
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.
Please Log in or Create an account to join the conversation.
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 | cart" in order to change how the products are displayed in this checkout cart.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Can you make an understandable question please ?
Something that we can understand in order to give you an answer.
Thanks
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
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
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
sorry for my english i use google translate
Please Log in or Create an account to join the conversation.
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 | add_to_cart_listing".
Now, I need some information :
- A screenshot of your HikaShop configuration (section: Main > 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
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
i use localhost .
here are a few screens
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
Please Log in or Create an account to join the conversation.
This will require some modifications in the view "checkout / cart" via the menu Display > Views.
Edit the part where the product name is displayed to change the link, and set the desired link.
The code line is:
You can try something like:
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
Please Log in or Create an account to join the conversation.
You misunderstood what Xavier wrote.
The code line is:
It means you have to try this code
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
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"
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
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 or Create an account to join the conversation.
You can use "$row->product_alias" instead of "$row->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:
Please Log in or Create an account to join the conversation.
- rockettboost
-
Topic Author
- Offline
- Posts: 172
- Thank you received: 2
thx for your help guys )
Please Log in or Create an account to join the conversation.