Jump to content

Load Combinations With Ajax


wenassoyyo

Recommended Posts

Hi.

 

I'm doing a store with a huge amount of combinations per product (80k+), and lots of special situations.

 

To manage combinations I did an application that is able to manage all that is needed (like overprice when 2 attributes are selected, auto add products to cart depending of attributes selection, select images for every combinations while creating them or non-available combinations when some attributes are present). It's working fine. You can see the store at http://www.camisetasydorsales.com.

 

Then, the problem that I have now is about prestashop performance... As expected, it takes more than 30 seconds to load a product page with about 50 k combinations, and of course, we have to raise our php memory limit more than we'd like to.

 

So I'm thinking about developing an Ajax combinations load, so that only the default combination is loaded when opening the product page and one combination is loaded with any attribute change.

 

But since I've googled a lot about it, and I have seen nothing similar, and taking into account that I'm far from being an expert in Prestashop, I have a big doubt...

 

Will I find troubles to do it? Any reason for not even to try?

 

Is there any plugin to manage it?

 

Thanks a lot.

 

Sergio.

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...