Flmbx Posted April 16, 2014 Share Posted April 16, 2014 Migrated my shop from 1.4 to 1.5.6. Standard theme, all worked fine. Purchased a theme in Prestastore (TemplateMonster) and applied the theme to the shop. Had some difficulties installing it but with some support wo got it working. Unfortunatelly the product combinations don't work anymore. I have some products available in different colors and it doesn't show up anymore in frontoffice. In backoffice all definitions are still there. TemplateMoster says it's nothing to do woth template so have to fix this one by myself I guess. Anyone having a suggestion? Link to comment Share on other sites More sharing options...
NemoPS Posted April 16, 2014 Share Posted April 16, 2014 There is a simple way to check if it's the template's fault. Re-Enable the default template and check if they work with it If they do, template monster (the worst ps theme's developer) has to fix it, as it's the template's fault! Link to comment Share on other sites More sharing options...
Flmbx Posted April 16, 2014 Author Share Posted April 16, 2014 well that's the weird thing... According to me it worked in default theme after migration. Then I implemented the theme and it didn't work anymore... then we switched back to default and it didn't work neither. So according to me the problem came with the template. Unless you say this is impossible. In the meantime we already started adapting the theme and we're nearly there. Now I don't dare to switch back to default to test because I'm afraid I will mess up everything again by switching theme/default/them/... There were other bugs in the template and they're taking care of those... but with this one I'm stuck my self I guess. Link to comment Share on other sites More sharing options...
NemoPS Posted April 16, 2014 Share Posted April 16, 2014 It is possible: the theme probably installed a module that killed that feature. Open the theme's zip file and check what you have in the modules/ folder there Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 also there is some chance that module uses override, it's worth to check also /overrides/ directory for potential override of some category / controller Link to comment Share on other sites More sharing options...
Flmbx Posted April 16, 2014 Author Share Posted April 16, 2014 ok thanks for the replies already. Solutionwise => this is can be fixed how? Do I have to hire someone technical for this? Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 well, if you aren't familiar with all things described here - it will be much easier for you. but to check if you've got override, or not - you don't need to hire anyone just check directories mentioned by Nemo and me, and will see what's going on then Link to comment Share on other sites More sharing options...
Flmbx Posted April 16, 2014 Author Share Posted April 16, 2014 hello, in the modules list I find: addhomefeatured addsharethis customcontent minicslider tmnivoslider youtube in the override folder I find: classes controllers in controllers I find admin and front Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2014 Share Posted April 16, 2014 in classes / controllers you see some .php files? Link to comment Share on other sites More sharing options...
juliansedlmayr Posted April 16, 2014 Share Posted April 16, 2014 Hi! I have a similar problem with prestashop 1.6.0.6 and themes. Products with combinations dont work. The Prices are reset to 0. but when viewed in product-page. in cart prices are ok again. the real price shows up for a second - and then its back to 0. i checked the overrides folder - and there are a couple of php files. one is calles "product" - when i disable the php in this file, the product-page in frontend turns white and empty ... so, i am not very experienced in php ... but you think the problem is this file? Link to comment Share on other sites More sharing options...
Flmbx Posted April 17, 2014 Author Share Posted April 17, 2014 in Classes I see following php's: Attrubte Cart Index Product In Controllers: Index Link to comment Share on other sites More sharing options...
NemoPS Posted April 17, 2014 Share Posted April 17, 2014 Might be the product override, as well as Attribute. In your prestashop, reach override/classes and prefix them with an underscore. See what happens (errors might pop out) Link to comment Share on other sites More sharing options...
Flmbx Posted April 17, 2014 Author Share Posted April 17, 2014 you mean undercoring the php files in Classes? Link to comment Share on other sites More sharing options...
Flmbx Posted April 17, 2014 Author Share Posted April 17, 2014 it seems that the code for attributes has gone: <div class="attribute_list"> </div> code in between just disappeared? Can we fix it by copying code from another shop which is working for attributes or is it more complicated? Link to comment Share on other sites More sharing options...
NemoPS Posted April 18, 2014 Share Posted April 18, 2014 You mean it's not there anymore in product.tpl? Link to comment Share on other sites More sharing options...
Flmbx Posted April 18, 2014 Author Share Posted April 18, 2014 Yes thats it. Can we fix it? Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2014 Share Posted April 18, 2014 hello just upload original product.tpl file from prestashop 1.5.6 default theme file. Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 So I take it as if this module (whichever it is) changes product.tpl and removes those lines....weird! Link to comment Share on other sites More sharing options...
Flmbx Posted April 19, 2014 Author Share Posted April 19, 2014 Yes yes very strange. I dont know what exactly caused this code missing. I remember I messed around with some other theme as well, a very basic one, and maybe that one erased the code. I dont know. Reinstalling products.tpl doesnt bring a solution. Still no product attributes Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2014 Share Posted April 19, 2014 Have you tried force recompiling? The code should be there now. Also make you disable those overrides Link to comment Share on other sites More sharing options...
Flmbx Posted April 21, 2014 Author Share Posted April 21, 2014 Doesnt work Link to comment Share on other sites More sharing options...
Flmbx Posted April 22, 2014 Author Share Posted April 22, 2014 Could someone please have a look in my shop what is causing this problem? I'm not technical enough to tackle it really... Link to comment Share on other sites More sharing options...
nanana Posted May 27, 2014 Share Posted May 27, 2014 Hi! I have a similar problem with prestashop 1.6.0.6 and themes. Products with combinations dont work. The Prices are reset to 0. but when viewed in product-page. in cart prices are ok again. the real price shows up for a second - and then its back to 0. Hello, having the same problem. So looks like a Prestashop 1.6 problem?! Any solutions so fare. Please let us know. Link to comment Share on other sites More sharing options...
nanana Posted May 30, 2014 Share Posted May 30, 2014 Found a solution!!!! http://forge.prestashop.com/browse/PSCSX-1835 seeing this github commit https://github.com/PrestaShop/PrestaShop/commit/75692e60d3ed91f7fa9fffaa89c668de5f81db81you could fix this by changing file themes/yourthemename/product.tpl find {$group_reduction} and replace it by {1-$group_reduction} Link to comment Share on other sites More sharing options...
Recommended Posts