PSdilemma Posted February 24, 2014 Share Posted February 24, 2014 Hi, I have created product with 3 different attributes. I have set the quantities under the quantity tab. I havn't used the combination genrator because it is not neccessary. In frontend only the top attribute affects the price. The other 2 don't affect the product price. Can someone help me to resolve that issue? Thanks Link to comment Share on other sites More sharing options...
stottycabanas Posted February 25, 2014 Share Posted February 25, 2014 Hi, could you provide a screenshot of the combinations page for that product? Thanks, Dave Link to comment Share on other sites More sharing options...
PSdilemma Posted February 25, 2014 Author Share Posted February 25, 2014 Hi, could you provide a screenshot of the combinations page for that product? Thanks, Dave I have attached 3 screen shots. I also noticed that it happens with 2 attributes. In the frontend the color affects the price but the size doesn't affect the price. If I change the order of the attributes (backend--> Catalog --> attributes & Value), which the size is first and color is under then the size affects the price but the color doesn't. Link to comment Share on other sites More sharing options...
stottycabanas Posted February 25, 2014 Share Posted February 25, 2014 Hi, when you set up a combination manually, you need to make sure you add in all elements of the combination before you save it. In your screenshot, you have color and size as attributes, so if you want to have a combination of e.g. Blue size 12, then do as follows in the 'Add or modify combinations for this product' screen: Select Color from the Attribute dropdown; select Blue from the Value dropdown; click Add Then select Size and 12 from the dropdowns; click Add again. Make any other entries e.g. price impact, then click Save. You will now see a combination in the list that says Color - Blue, Size - 12. Apply the same principle for any other combinations you want to set up. Cheers, Dave Link to comment Share on other sites More sharing options...
PSdilemma Posted February 27, 2014 Author Share Posted February 27, 2014 Hi, when you set up a combination manually, you need to make sure you add in all elements of the combination before you save it. In your screenshot, you have color and size as attributes, so if you want to have a combination of e.g. Blue size 12, then do as follows in the 'Add or modify combinations for this product' screen: Select Color from the Attribute dropdown; select Blue from the Value dropdown; click Add Then select Size and 12 from the dropdowns; click Add again. Make any other entries e.g. price impact, then click Save. You will now see a combination in the list that says Color - Blue, Size - 12. Apply the same principle for any other combinations you want to set up. Cheers, Dave Thank you Dave for your reply. Your solution brings me again into combination which I am not looking for. Maybe size and color are not good example. Lets say I sell pizza online. The basic price for the pizza plus another 20 topping options like Mushrooms (type1, type2, type3), tuna (type1, type2, type3), onion, tomato etc... which the buyer can choose from. For each Mushrooms type I have different quantity. e.g type1=10, type2=16, type3=25 For each Tuna type I have different quantity. e.g type1=9, type2=12, type3=37 Same as with other topping. So, if Mushrooms type1 finished it won't be available for order. Therefore, there is no need to run combinations. All I want is to change quantity in backend when I replenish. Hope you understand what I am looking for. Thanks Link to comment Share on other sites More sharing options...
stottycabanas Posted February 27, 2014 Share Posted February 27, 2014 In frontend only the top attribute affects the price. The other 2 don't affect the product price. I think I understand what you want. Using the pizza example, you want the customer to be presented with a list of dropdowns, one for each topping. They then select which toppings they want, choosing the type of topping from the dropdown. You then want the total price to be calculated, e.g. base pizza = 5.00 plus wild mushroom = 0.70 plus red onion = 0.50, total = 6.20. And you want the available quantity of pizza bases, wild mushroom and red onion toppings to all be reduced by 1. If that is how you want it to work, standard Prestashop doesn't support that, I'm afraid. The total price is only picked up from the combination of toppings that you have to pre-specify in back office. So you would have to have a combination for mushroom = wild plus onion = red (and all other options = none) and show the price impact as +1.20. If the customer can have any combination of the 20 toppings, and you have, say, 3 types per topping plus the 'none' option, you would need to set up a total of nearly 5000 combinations - PS will struggle with that. Not only that, but the stock quantities are managed per combination, i.e. not per individual topping. All I can think of is to have a look at this module, which you might be able to customise to meet your requirements. http://addons.prestashop.com/en/front-office-features-prestashop-modules/8950-pc-creator.html This is all assuming my correct interpretation of your requirements. If it's incorrect, we may need to delve a bit deeper. Cheers, Dave Link to comment Share on other sites More sharing options...
PSdilemma Posted February 28, 2014 Author Share Posted February 28, 2014 I think I understand what you want. Using the pizza example, you want the customer to be presented with a list of dropdowns, one for each topping. They then select which toppings they want, choosing the type of topping from the dropdown. You then want the total price to be calculated, e.g. base pizza = 5.00 plus wild mushroom = 0.70 plus red onion = 0.50, total = 6.20. And you want the available quantity of pizza bases, wild mushroom and red onion toppings to all be reduced by 1. Thanks Dave, If prestashop team didn't think about that option, it's a miss. Link to comment Share on other sites More sharing options...
stottycabanas Posted February 28, 2014 Share Posted February 28, 2014 I would agree - it's a reasonably common requirement. That and product pack processing are not strengths of Prestashop unfortunately. Cheers, Dave Link to comment Share on other sites More sharing options...
Recommended Posts