News:

Looking for documentation? Take a look on our wiki

Main Menu

Categories 404 Error

Started by em000, June 23, 2017, 10:51:00 AM

Previous topic - Next topic

chabi01

Ok,
To get my page working until the code is working, i have created an override and change in default.php for productdetail at the line 68 from :

<div class="back-to-category">
    <a href="<?php echo $catURL ?>" class="product-details" title="<?php echo $categoryName ?>"><?php echo vmText::sprintf('COM_VIRTUEMART_CATEGORY_BACK_TO',$categoryName?></a>
</div>


to

<p style="text-align: right;"><em><a href="#" onclick="history.go(-1);return false">Retour page pr&eacute;c&eacute;dente</a></em></p>

Like this, i cannot go back to category but i can avoid the 404 issue.

Xavier

chabi01

To avoid the 404, i have created an override : unfortunatly, when i try to post the override on the forum, the message is not saved...
Xavier

chabi01

oups, did not see the second page :D