Kristal Hull Posted September 11, 2009 Share Posted September 11, 2009 Hello,I am loving Prestashop, and as this is my first time doing something like this it is taking me a while to figure out all the bits and pieces. I don't think I've done too bad - after a lot of reading (on here mainly) I manage to work things outs.The only thing I haven't been able to get working is the combinations / attributes side of things.I make badges, magnets, etc and how I'd like to set up my shop is by having my "designs" listed, and customers then choose which product (badge, magnet, etc) and which size (i do 4 sizes) they want. So I'd really love to get this feature working.I have searched for answers, but have yet to find anything. I have made a "test" product you can view here: http://www.badgeorama.com/shop/product.php?id_product=12I've tried it several different ways but nothing seems to work. Can anyone shed some light on what I may be doing wrong?Thanks in advance,Kristal Link to comment Share on other sites More sharing options...
Adnetto Posted September 11, 2009 Share Posted September 11, 2009 Hello Kristal,First set up your group an attributes catalog>attributes an groups, ad attribute group. After you made the attribute group you can fill it with attributes. Click on Add attribute (eg 20 cm) en select the group you have made (size). Now the size(20 CM) is connected to the group size.Go to catalog select your product en click on 3 combinations tab, select the group(size) teh attribute(20cm) and click on add, now the attribute is connected to the product. Scroll the page down and you will see it there. And so on for the other attributes.I hope this will help you..Regards,Adnetto Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 11, 2009 Author Share Posted September 11, 2009 Hi Adnetto,I have done those steps. If you look at my test product you can see they come up, but they don't affect the price - and no matter which combination you add to the cart it comes up as the default (1 inch badge) So something is wrong somewhere.I know there are people on here who have had the same problem and fixed it, but they haven't posted how they fixed it.Thank you for replying though My test product: http://www.badgeorama.com/shop/product.php?id_product=12Kristal Link to comment Share on other sites More sharing options...
Adnetto Posted September 12, 2009 Share Posted September 12, 2009 Hi Kristal,It works for me. Click on action button of the attribute at the bottom of catalog/combinations. Nothing seems to happen but that`s not true, you have selected one of the attributes. Then select impact on price "increase" then fil in the increase ammount. And last click on the button "modify this attribute combination", the result should be an increase of your price.If that not works check your product.php or .js because you have an error on your page.Foutdetails webpaginaGebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)Tijdstempel: Sat, 12 Sep 2009 19:07:26 UTCBericht: SyntaxisfoutRegel: 107Teken: 39Code: 0URI: http://www.badgeorama.com/shop/product.php?id_product=12Bericht: SyntaxisfoutRegel: 231Teken: 20Code: 0URI: http://www.badgeorama.com/shop/product.php?id_product=12Bericht: 'oosHookJsCodeFunctions' not definedRegel: 370Teken: 1Code: 0URI: http://www.badgeorama.com/shop/product.php?id_product=12Bericht: 'oosHookJsCodeFunctions' is niet gedefinieerdRegel: 19Teken: 18Code: 0URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.jsBericht: 'oosHookJsCodeFunctions' is niet gedefinieerdRegel: 19Teken: 18Code: 0URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.jsBericht: 'oosHookJsCodeFunctions' not definedRegel: 19Teken: 18Code: 0URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.jsBericht: 'oosHookJsCodeFunctions' not definedRegel: 19Teken: 18Code: 0URI: http://www.badgeorama.com/shop/themes/prestashop/js/product.js Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 13, 2009 Author Share Posted September 13, 2009 I don't know what I'm supposed to look for in my product.php? As far as I can tell I have done all the steps I need to do to add the attributes. They show up on the product it just doesn't seem to want to adjust the price. It's as though it's showing they are unavailable, but I have changed the quantity and everything. I think I'll just give up.Thanks for replying.Kristal Link to comment Share on other sites More sharing options...
TheotV Posted September 13, 2009 Share Posted September 13, 2009 Hi Kristal,What version of Prestashop are you running? I have the same problem since I upgraded to version 1.2.3.0. It all worked fine in version 1.2.0.8. I'm beginning to suspect a bug has been introduced in version 1.2.3.0. Could you please let me know?Thanks,Theo Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 13, 2009 Author Share Posted September 13, 2009 Hi Theo,I'm using 1.2.3, but it wasn't working on 1.2.2 either. Adnetto, what version are you using? Link to comment Share on other sites More sharing options...
fs_xyz Posted September 14, 2009 Share Posted September 14, 2009 I recommend if you just use one type of attribute... For example :In your case, you have size and product.Rather define 2 kind of attribute, you only use one.So your attribute list will be like this :Badge 1 inchBadge 1.5 inchBadge 2.25 inchBadge 3 inchKeyring 1 inch..and so on.It will be a long list tough. Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 14, 2009 Author Share Posted September 14, 2009 Hi, thanks for the suggestion...will try that now Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 14, 2009 Author Share Posted September 14, 2009 made no difference - http://badgeorama.com/shop/product.php?id_product=12When you select a different attribute it still brings up the field to enter your email address, as though the product is unavailable. Link to comment Share on other sites More sharing options...
fs_xyz Posted September 14, 2009 Share Posted September 14, 2009 Did you already define the default combination ?If you haven't... best is to delete all combinations and re-add again.You have to make sure only one of it as the default combination. Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 14, 2009 Author Share Posted September 14, 2009 Every time I've tried this, I set the first (1 inch badge) as the default. It wont allow me to have more than 1 default anyway. I even tried to have no default, but that wouldn't work.Thanks for trying to help Link to comment Share on other sites More sharing options...
Adnetto Posted September 14, 2009 Share Posted September 14, 2009 I am using the 1.2.2 and everything works fine. Link to comment Share on other sites More sharing options...
TheotV Posted September 14, 2009 Share Posted September 14, 2009 Hi all,As I stated earlier; I have the same problem here. I had it all working nicely when running version 1.2.0.8. Then I upgraded to 1.2.3 because I wanted to have the option for 1.1 compatible themes. Now I have the same problem as Kristal describes. Yesterday I tried some combinations in the Prestashop demoshop (here: http://www.prestashop.com/en/showcase_demo/) and it worked like a charm. Maybe Kristal can try that too?But since both Kristal and Adnetto tried with the same version (1.2.2) and it worked for Adnetto but not for Kristal, it seems like it's not version related.Can it be upgrade related? Adnetto: did you try it with 1.2.2 after an upgrade? Or was it a fresh install? And what about the version Kristal is using? Fresh install or upgrade?I need a solution for this, otherwise I can't go live with the shop.Hope we can Sherlock our way to a solution.Cheers,Theo Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 14, 2009 Author Share Posted September 14, 2009 Hi Theo,I have tried it with a fresh install (V 1.2.2) and I'm now on an upgrade (V 1.2.3) Ok I just tried through that demo site, and did everything EXACTLY like I've been doing on my site.....and it worked... of course!!So now what? How am I supposed to know what's wrong on my end?? :down: Link to comment Share on other sites More sharing options...
TheotV Posted September 14, 2009 Share Posted September 14, 2009 Hi,That's what I was suspecting. The demo site is running version 1.2.0.8 and both you and I are running version 1.2.3 from an upgrade. It seems something is going wrong when an upgrade took place.Hopefully someone from the Prestashop team can have a look at this?In the mean time the only possible solution I can think of is start again with a fresh install of 1.2.3, because others are stating that it can work with version 1.2.2 for instance.I think we also need to report this as a bug.If you are going to try with a fresh install before I do, please let me know if it worked. If I try it first I will let you know the results of course.Thanks,Theo Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 14, 2009 Author Share Posted September 14, 2009 Hi Theo,I started with 1.2.2 as a fresh install, and it wasn't working on there. Will be waiting to see if you have any success with the fresh install Good luck!Kristal Link to comment Share on other sites More sharing options...
TheotV Posted September 14, 2009 Share Posted September 14, 2009 Well, then I am lost at the moment.Any suggestions would be very helpful!Theo Link to comment Share on other sites More sharing options...
Barry vd Waart Posted September 15, 2009 Share Posted September 15, 2009 Hi,Have the same problem on a fresh installed (from scratch) version 1.2.3Can we solve the problem by uploading a 1.2.0.8 file that solves this bug temporarly? Link to comment Share on other sites More sharing options...
Adnetto Posted September 15, 2009 Share Posted September 15, 2009 A fresh 1.2.2 should work, otherwise check the permission settings on the server.Write 777/config/upload/download/tools/smarty/compile/sitemap.xmlWrite 777 + underlying folders (recursive)/img/mails/modules/themes/prestashop/lang/translationsTo make the Home Text Editor work change the permission of the editorial.xml to (777 or 776)Location: (modules/editorial/editorial.xml)------------------And perhaps the global setting in your htaccess file.---------------# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums# URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.phpphp_flag register_globals offThe 1 and 2 are hashes replaced by this forumsoftwareSuccheck Adnetto Link to comment Share on other sites More sharing options...
Barry vd Waart Posted September 15, 2009 Share Posted September 15, 2009 Just installed 1.2.4 and the bug has been solved !So now it's OK for me.... Link to comment Share on other sites More sharing options...
Adnetto Posted September 15, 2009 Share Posted September 15, 2009 1.2.4 ? Development is running fast every week a new version.Good for you it`s solved.Regards,Adnetto Link to comment Share on other sites More sharing options...
Kristal Hull Posted September 15, 2009 Author Share Posted September 15, 2009 wow that was quick! I'm guessing the versions don't normally come out so fast? Will upgrade later today and see if I have any joy.Are you upgrading, Adnetto?Kristal Link to comment Share on other sites More sharing options...
Adnetto Posted September 16, 2009 Share Posted September 16, 2009 I first realy like to know which version is realy bugfree and stable before putting any effort in it. Maybe it`s an idea to starting a topic on that question. When things are clear we can move.Regards,Adnetto Link to comment Share on other sites More sharing options...
Adnetto Posted September 16, 2009 Share Posted September 16, 2009 Hi guys i have posted the question which version? http://www.prestashop.com/forums/viewthread/28218/#128237The projectmanager advises to use the last one 1.2.4So i will make a fresh install to.Regards,Adnetto Link to comment Share on other sites More sharing options...
emms Posted September 16, 2009 Share Posted September 16, 2009 Exactly my problem too I've gone from 1.2.08 to 1.3 yesterday and then upgrqaded to 1.4 today and its still not sorted I read somewhere that 1.4 sorted the problem. Most of my stock is made to order, I have varying options for different products, I cant have *one* attribute* I need 3-5 of them per product! I would rather have more but it could not handle more than 1300 choices.. so I had to make even more products out of one product.. and now it jsut doesnt work atall!!please please help us!! for instance.. http://www.puddlekins.co.uk/shop/product.php?id_product=71 turned and top stiotched should chang ethe price by £2 .. silent nights/happy days tehres a three pound difference Link to comment Share on other sites More sharing options...
ishi Posted September 25, 2009 Share Posted September 25, 2009 Barry did you do a fresh install of 1.2.4? I upgraded to it and my combos on front office are not working at all now. http://buylamination.com/card-size-pouches/16-business-card-pouch.htmlI really need to get his resolved quickly. The site is live and not functioning properly and I don't have a clue how to fix! Link to comment Share on other sites More sharing options...
ishi Posted September 29, 2009 Share Posted September 29, 2009 This is really frustrating. Someone must have insight into what is going on here???? I upgraded to 1.2.4 and my Front Office attributes do not change pricing. I did a fresh install and with the test data the attributes work. When I change to my old database or even upload my old database into a new one the attributes stop working. I have posted a bug a few days ago but no response. I really need some help with this! Link to comment Share on other sites More sharing options...
Bhasha Technologies Posted October 3, 2009 Share Posted October 3, 2009 We had the same problem, but after some debug we resolved it.Here is how:Goto /themes/prestashop/product.tplopen the file and goto line 35 out of 451You should see the code as below :var displayPrice = {$priceDisplay};change this tovar displayPrice = 1 ; // {$priceDisplay};Everything works fine for attributes andcombinations Link to comment Share on other sites More sharing options...
Skopecek Posted October 4, 2009 Share Posted October 4, 2009 We had the same problem, but after some debug we resolved it.Here is how:Goto /themes/prestashop/product.tplopen the file and goto line 35 out of 451You should see the code as below :var displayPrice = {$priceDisplay};change this tovar displayPrice = 1 ; // {$priceDisplay};Everything works fine for attributes andcombinations Many thanx, problem by 1.2.4 solvedmy + info: - Tax exkludetvar displayPrice = 1 - Tax includet var displayPrice = 2 Link to comment Share on other sites More sharing options...
Identity Posted October 20, 2009 Share Posted October 20, 2009 Thank You!!This has been bugging me and puzzling me for ages and at last it is working properly!! Link to comment Share on other sites More sharing options...
ImPresta Posted October 28, 2009 Share Posted October 28, 2009 Thank you very much,That will hopefully lift the sale with a percentage or two. Link to comment Share on other sites More sharing options...
fetzig! Posted November 10, 2009 Share Posted November 10, 2009 http://www.prestashop.com/bug_tracker/view/3263/ Link to comment Share on other sites More sharing options...
TBDC Posted February 4, 2010 Share Posted February 4, 2010 I have this same problem but I have a custom template and I am using the attributes module for the check boxes. Changing that code did not help me. Any ideas? Link to comment Share on other sites More sharing options...
MartiL Posted March 28, 2010 Share Posted March 28, 2010 Goto /themes/prestashop/product.tplopen the file and goto line 35 out of 451You should see the code as below :var displayPrice = {$priceDisplay};change this tovar displayPrice = 1 ; // {$priceDisplay}; Thank you, saved me a major headache! Link to comment Share on other sites More sharing options...
Recommended Posts