printshop Posted March 6, 2015 Share Posted March 6, 2015 Hi, I'm not sure if this is the right place for my query, if it isnt then I appologise in advance. Hopefully someone has faced something similar annd can help. I have on average between 500-600 combinations per product, I have entered the whole sale value for each combination and the price impact for each one is set to '0' at the moment (couldnt use combination generator for this as there is no set value for each attribute value, it all varieseach combination). Basically what I am after is a script that will do the following calculation and update the combination price for each combination: (Combination Wholesale Price + %) - Product Pre-Tax Price = Combination Impact I understand that due to the large number of combinations this could take forever, so if ther was a value in the script where I could change the product ID so that it only pulls the product pre-tax price and only updates combinations linked to that combination then this would be great and hopefully will prevent any sort of timing out issues, etc. And obviously where I can edit the percentage in the script. If someone can help it would be much appreciated as it will save me sitting there with a calculator and going through each combination one-by-one. Im not after any fancy forms etc, just the the script (where i will edit the product ID and percent value before uploading) and then just point my browser to the file and it simply display "Done" when its finished. I am using Prestashop 22.214.171.124 Thankyou in advance for anyone who can help, and hopefully this will help others in similar situations. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now