sdfguerreiro Posted June 30, 2008 Share Posted June 30, 2008 Hi all! First of all i'd like to say that prestashop rules!! It's so easy to use and incredibly cute! But...(there's always a but) i have a big problem. I'm making a store that involves optical frames, contact lens and sunglasses. So, in the contact lens for example i've to put multiple attributes like:R/C 8.60R/C 8.90 Diameter 13.8Diameter 14.0Diameter 14.2Sphere power -5.00-4.75-4.50.........0.00+0.25+0.50etc...Now, my problem is: Is there any form to alter any php or else in a way that let all the combinations chosen by the buyer available? Because i have + / - 100 products with hundreds of combination each one....ahhhhhhh. Can anyone help me please??Thanks in advanceSérgio Guerreiro Link to comment Share on other sites More sharing options...
sdfguerreiro Posted June 30, 2008 Author Share Posted June 30, 2008 Hi all! First of all i'd like to say that prestashop rules!! It's so easy to use and incredibly cute! But...(there's always a but) i have a big problem. I'm making a store that involves optical frames, contact lens and sunglasses. So, in the contact lens for example i've to put multiple attributes like:R/C 8.60R/C 8.90 Diameter 13.8Diameter 14.0Diameter 14.2Sphere power -5.00-4.75-4.50.........0.00+0.25+0.50etc...Now, my problem is: Is there any form to alter any php or else in a way that let all the combinations chosen by the buyer available? Because i have + / - 100 products with hundreds of combination each one....ahhhhhhh. Can anyone help me please??Thanks in advanceSérgio Guerreiro Oh...come on...I see so much post being helped and mine....nothing. No one can really help?? Please, for you guys this is certanly easy to do! I just want to know wath can i do to add all the attributes without having to combine all of them in order to make the "add to cart" allways on.Do you imagine to make all the combinations possible in a product with at least 40 different attributes??Please Please....help me....Thanks again! Link to comment Share on other sites More sharing options...
ejectcore Posted June 30, 2008 Share Posted June 30, 2008 Please describe you issue in more detail & provide a link to the site & I will take a look to see if I can come up with a suitable solution. You say you have +/- 100 products, does this mean you have 100 products in your site & are all the attributes the same for each :question: Link to comment Share on other sites More sharing options...
Peter Wilson Posted July 1, 2008 Share Posted July 1, 2008 Hi sdfguerreiro,Hmmm, have you not read the documentation on how to create Attributes ?http://www.prestashop.com/wiki/Attributes_and_attribute_groups/Specifically, you might want to try the "Product Combinations Generator":/wiki/Attributes_and_attribute_groups/#Using_the_Product_combinations_generator, it speeds things up quite a bit. Link to comment Share on other sites More sharing options...
ejectcore Posted July 1, 2008 Share Posted July 1, 2008 Peter One suggestion with the attributes, there should be a default option in the drop-down to say "select option", that way no attribute has to be preselected bumping up the price which can sometimes put people off buying the product. ie. If I was to buy a mobile phonecurrently I have to set up an attribute to display "none" which keeps the cost the same, this should not be needed to set as an attribute for each product, no option should be the default so the visitor can buy a product without any optionsthen if the example they want to buy the phone with 2gb memory they would select this from the drop-down.Just a suggestion should be quite easy to create a hack which I will be looking into later this week. ;-) Link to comment Share on other sites More sharing options...
Peter Wilson Posted July 1, 2008 Share Posted July 1, 2008 Hi amw,I'm not sure I understand the need for an extra "default option".To take your example, let's say you have a mobile phone for which the basic model is black with 2 GB and no built-in camera that costs $100. Pricier models have 4 or 6 GB and an optional camera. These models both weigh and cost more.In the Back Office :# Create the product page for the basic phone on the Information tab, including the basic product's price and weight.# On the Attributes tab, create the attribute combo for the basic phone, e.g., black/2 GB/no camera with no impact on either weight or price. Mark the "Make the default attribute for this product" checkbox.# Create the other attribute combinations / models and increases in weight and price.On the product page on the Front Office, PrestaShop always displays the product marked "Make the default attribute for this product" by default. In this instance, the product page will show the black/2 GB/no camera default product at the basic price. Customers choose other options which show an increase in price accordingly.If you want to be even clearer, you could just add a sentence to your description, e.g., "The basic model is black/2 GB/no camera".If you want to get fancy, maybe there's a way to add a "basic model" button to click which will reset the attribute drop-downs to black/2 GB/no camera ? I'm no developer though, so for all I know that may be a pain to implement. Link to comment Share on other sites More sharing options...
ejectcore Posted July 1, 2008 Share Posted July 1, 2008 Sounds like I need to create a small hack then ;-) because taking your example black/2 GB/no cameraFor each product I will have to set the option ie. no camera, which should not really be necessary to create this attribute, if there was no option by default. I can see how this works for some people & this should be quite easy to modify in product.tpl. i will post when I get chance to do this mod ;-)What would be a good feature to have would be category specific. ie. only show attributes relating to the category, I may look into this solution for my next project which has over 1000 products. Link to comment Share on other sites More sharing options...
boylibre Posted August 18, 2010 Share Posted August 18, 2010 Hi ejectcore, I saw this posting when trying to find a solution on the same issue I have. Just wondering if you have this sorted out and if you can show me how to do it. It would be highly appreciated.TIA,boylibre Link to comment Share on other sites More sharing options...
manuel1972 Posted September 20, 2010 Share Posted September 20, 2010 Hi,Is there a possibility to add in each combinatios/attributes group 1 option as the default one?So not one default for all groups together?In my case I have a product that needs to be offered with 2 or more different groups of accessories. Each group has a standard article which is the basic one and should be ordered as a default of the customer doesn't visit the view page in order to select other options.Maybe my explanation is a little confusing but I will try to make it clear with an example.Basic product is a welding machine, without any kind of torches (however it needs to have torches in order o make it work).So there are 2 groups of torches: TIG torches and Plasma torches. Both have a standard torch (basic 4meters length)that under normal circumstances need to be sold together with the machine. So if the customer doesn't go to the view page to select other kind of torches (i.e longer ones or with special heads,...) the order will be processed with the standard ones.In order to make this possibe it shold be possible to check, more than one combination as the default one; so one for each group.Really hope someone can help me out...thanks in advance, Link to comment Share on other sites More sharing options...
Janet W Posted September 21, 2010 Share Posted September 21, 2010 Hi sdfguerreiro,Hmmm, have you not read the documentation on how to create Attributes ?http://www.prestashop.com/wiki/Attributes_and_attribute_groups/Specifically, you might want to try the "Product Combinations Generator":/wiki/Attributes_and_attribute_groups/#Using_the_Product_combinations_generator, it speeds things up quite a bit. Such a very amazing link! Thanks you for the post.__________________Watch You Again Online Free Link to comment Share on other sites More sharing options...
manuel1972 Posted September 21, 2010 Share Posted September 21, 2010 Thanks Janet,Great, and useful link! Link to comment Share on other sites More sharing options...
Recommended Posts