Jump to content

Special price per customization.


hubert.b
 Share

Recommended Posts

Hello, 

We're currently developing our store based on PrestaShop. So far we are amused by possibilties provided by your great e-commerce. Unforntunately our company products are not so typical - we're selling photobooks, photocalendars.

Each calendar can have unlimited additional pages, so it's price cannot be calculated in standard presta way.

Now we're storing each calendar project id as customization and info about additional pages in separate table. To calculate price correctly we had to override each controller and after calculation of price add cost of additional pages. 

This solution works, but it is not so great and requires a lot of code duplication.

 

We're wondering if there is a better solution to our problem. 

Other solutions we've thought of:

-creating new product for each project created by client - a lot of products, a lot of duplication in database, problems with hiding this products from admin and clients

-creating a pull request with method getPriceStatic with additional argument - id_customization and additional hook to change price based on customization.

 

Could you advise how to resolve our issue, or what are your thoughts on our current and proposed solutions?

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More