Skip to main content

URL Redirect after Message: Product not found

More
12 years 3 months ago #162523 by outbreak198x
Hello,

i can't find the option for Redirect the URL after empty Cart, Or if a Google indexd Site is not longer available.

I read it should be under Configuration - View? but it isn't there
Or you mean Views - Views - but also can'T find it there...

I'm using 2.3.1

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162542 by nicolas
Hi,

It's in the configuration of HikaShop, under the cart section: take.ms/LB7Y0

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162581 by outbreak198x
Sorry :D
So in german it's configuration -> Main Configuration -> Cart...
Works :)

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162585 by outbreak198x
is it also possible to change the "Product not found" pages? - because on google some old sides are indexd - sent them the new sitemap, but it takes a while to recognize that...

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162600 by Xavier
Hi,

You can potentially edit the view "product / show" and instead of the code:
Code:
$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));

Put custom code to redirect to the desired page, something like:
Code:
?><script type="text/javascript">window.location.href='Your_custom_location.html'</script><?php

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162666 by outbreak198x
if i remove the first line

$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));


and set it to

?><script type="text/javascript">window.location.href=' www.smartphone-solution.at/index.php/ent.../entsperren-per-code '
i get the website without any text inside - just navigation path

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162669 by nicolas
Hi,

This would mean that the modification hasn't been done correctly

Could you do a screenshot of the page where you changed the code of the view ?

Could you also provide the link of the outdated product page ?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162785 by outbreak198x
Here a Outdated Link:
www.smartphone-solution.at/index.php/nok...netlock-entsperrcode


and in the attachment the things i changed

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #162838 by nicolas
The modification is correct as far as I can see. I don't see why it would create an error.
Could you do the modification again and turn on the error reporting and debug mode options of the Joomla configuration and if you have again the problem, see if you have an error at the bottom of the product page ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.203 seconds
Powered by Kunena Forum