Jump to content

A multi-step product selection shop


Recommended Posts

I am trying to create a shop which allows you to select a product's base colour, then the next page will allow you to add extras to the product before a final review screen to add to the basket or make amends.

 

Is there a module which will allow me to do such a thing?

 

Many thanks,

Stefan

Link to comment
Share on other sites

  • 2 years later...

It was a while ago and Prestashop may have changed the framework slightly, but the way I achieved it was in the ProductController, inside the initContent() function, I used a switch statement to look at a $_GET variable from the URL called "step" which would decide the template it would load based on it's value.

 

Each step would also fetch the appropriate data to use in the template and using $_SESSION data to store the configuration between steps.

 

Apologies if this doesn't make much sense. It's been a long time since.

Link to comment
Share on other sites

×
×
  • Create New...