Flávio's Posted January 25, 2016 Share Posted January 25, 2016 Hi, I have created a link to my PrestaShop store but when I tried to open in the browser, the link closes the browser instantly.... the final of my link is index.php?id_product=11&controller=product&id_lang=1 , but does not work....... <a style="color:#337ff1" title="WishList" href="http://127.0.0.1/prestashop_1.6.1.0/prestashop/index.php?id_product=11&controller=product&id_lang=1&" target="_blank">click here to view on store</a> Link to comment Share on other sites More sharing options...
selectshop.at Posted January 25, 2016 Share Posted January 25, 2016 You cannot link to wishlists, cause they are visible only behind login. So if a customer is not logged he will not be able to see a wishlist. Not his own and also not the one of a customer, if he is not added as friend. So you must release users before they can see wishlist of other customers. Wishlists are behind a secured feature. Link to comment Share on other sites More sharing options...
Flávio's Posted January 25, 2016 Author Share Posted January 25, 2016 Ok, I don't wanna link to wishlists, just link to the product.... I put code like this..... <a href="http://127.0.0.1/prestashop_1.6.1.0/prestashop/index.php?id_product=11&controller=product&id_lang=1" target="_blank">click here to view on store</a> and don't work.... Editar Link to comment Share on other sites More sharing options...
Flávio's Posted January 25, 2016 Author Share Posted January 25, 2016 I wrote this code on a external html file on other site to link the product.... but when click ,the browser auto close.... <a href="http://127.0.0.1/prestashop_1.6.1.0/prestashop/index.php?id_product=11&controller=product&id_lang=1" target="_blank">click here to view on store</a> Link to comment Share on other sites More sharing options...
selectshop.at Posted January 26, 2016 Share Posted January 26, 2016 (edited) I presuppose you are using pretty URL's ? Than the correct link of a product should be: http://yourdomain/en/blouses/2-blouse.html if you are using more than one language on your shop. For a shop with one single language the link should be: http://yourdomain/blouses/2-blouse.html Edited January 26, 2016 by selectshop.at (see edit history) Link to comment Share on other sites More sharing options...
Flávio's Posted January 26, 2016 Author Share Posted January 26, 2016 Hi, I don't using pretty URL's, I did tests with pretty URL's, and works fine.... if I call this url from an external link, the page just close automatically.... http://127.0.0.1/prestashop_1.6.1.0/prestashop/index.php?id_product=11&controller=product&id_lang=1 Link to comment Share on other sites More sharing options...
selectshop.at Posted January 26, 2016 Share Posted January 26, 2016 Hi, you are not really linking to 127.0.0.01, are you ? This is not an internet-address... 127... is an internal network IP's-Address-Pool and not suitable for to reach a the site outside from your network. Link to comment Share on other sites More sharing options...
Flávio's Posted January 27, 2016 Author Share Posted January 27, 2016 (edited) I've installed on the internet and the error remains..... if called from external html file the page auto close... but if ,I pasted the link on the browser the page opens normal..... <a href="http://my_store_links_page/lojap16/index.php?id_product=6&controller=product" target="_blank">click here to view on store</a> Edited January 27, 2016 by Flávio's (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted January 28, 2016 Share Posted January 28, 2016 Cache delete ? Please write the URL of your domain, in order to can verify what is exactly happening with some developer tools. Link to comment Share on other sites More sharing options...
Flávio's Posted January 28, 2016 Author Share Posted January 28, 2016 Thank's, I tested on the last version and works fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now