Jump to content

Prestashop 1.6 - One category in multiple categories


karlosman

Recommended Posts

What we do for this purpose is to make an empty category that comes in the second tree. Then we put some code in config.inc.php to redirect this category to the real category. That looks like this:

$tmps = explode("-", $_SERVER['REQUEST_URI']);
if((sizeof($tmps) == 2) && ($tmps[0] == "/220"))
  header('Location: https://www.ourshop.com/21-success');

In this case 21 is the id of the real category and 220 is the id of the re-directing copy.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...