unees15 Posted June 25, 2014 Share Posted June 25, 2014 I would like to dipslay the specific price applied in the product page when a user change the quantity. My question is : any prestashop core function i could use to do that ? i mean a function which i'll send the product id and the quantity and give me the specefic price applied. Thanks. Link to comment Share on other sites More sharing options...
csschopper.com Posted June 25, 2014 Share Posted June 25, 2014 Hi, Sending productid is not solution of your problem. If you want to add this feature then must take care of combination too that user selects & then price changes. There is a trick you can do... hide the price of product/combination using visibility hidden & then write a jquery function that will read that price & qty. You can multiply them & display whether desire. This event should fires on changing the combination or quantity. Thanks Alok Link to comment Share on other sites More sharing options...
unees15 Posted June 25, 2014 Author Share Posted June 25, 2014 I dont want to display the total price by quantity ! I want to display the specefic price used for the quantity / combination specsified by the user. I want to display something like that select a combinason or a quantity : "For the quatity and the combinasion chosen you will get -2% reduce." Link to comment Share on other sites More sharing options...
csschopper.com Posted June 25, 2014 Share Posted June 25, 2014 Ahhh, you want to display shopping cart Qty discount feature on product detail page? If yes then there is not any quick solution. You will have to read all promo conditions & then this is possible. Let me know if i can help you. Thanks Alok Link to comment Share on other sites More sharing options...
csschopper.com Posted June 25, 2014 Share Posted June 25, 2014 Hi, I just developed a similar concept in one of the project, Please look if you want the same http://magento.thesparxitsolutions.com/prestashop/css3446/index.php?id_product=79&controller=product&id_lang=2 Thanks 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