milli.maci Posted May 5, 2023 Share Posted May 5, 2023 Hi, I'm making a shop for an artist and he has a special request for the price calculation. What he wants is this: starting with 1 Euro for all products, each subsequent sale makes all products 1 Euro more expensive. My idea was to set all products to 1 Euro and at sale multiply it by the total products ever sold. Since I'm new to Prestashop, is there such a value stored in Prestashop? Even easier would be an already existing module that could do such a thing. Help would be much appreciated if you can point me to the right direction. I'm familiar with Javascript and some PHP. 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 6, 2023 Share Posted May 6, 2023 create a module rather than update ps directly, more info here: Add one euro to product(s) price at order completion using a hook, here is .doc on hooks I don't think there is a module that does this until you write it.. for php, it's easy to find withing PS modules or core similar you can port into your module. happy deving Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now