OceanShop Posted March 9, 2010 Share Posted March 9, 2010 One of my products is available in five colors. But no matter what color I choose in the order module, the cart only goes with the default color combination choosen in BO.Anyone who have experiences with this problem ?Thanks Morten Link to comment Share on other sites More sharing options...
rocky Posted March 9, 2010 Share Posted March 9, 2010 Most likely there is a Javascript on the product page that prevents the attribute being changed from the default one. I'll need a link to your site to check for sure. Link to comment Share on other sites More sharing options...
OceanShop Posted March 9, 2010 Author Share Posted March 9, 2010 The site is www.oceanshop.dk/Prestashop/prestashopThanks in advanceMorten Link to comment Share on other sites More sharing options...
rocky Posted March 10, 2010 Share Posted March 10, 2010 Yep, there is a Javascript error because of the following code: var displayPrice = ; See this post for the solution. Link to comment Share on other sites More sharing options...
OceanShop Posted March 10, 2010 Author Share Posted March 10, 2010 Thanks a lot ... I chose the easy solution - to turn off the V1.1 compatibility in Prestashop V1.2 as I'm not really sure how to implement the changes to the underlying files as described in the link above.I'm a PrestaShop novice - need I say ? What would be the consequence of turning of the compatibility ?Thanks again ... Link to comment Share on other sites More sharing options...
rocky Posted March 11, 2010 Share Posted March 11, 2010 If you are using a theme designed for Prestashop v1.1, then turning off "v1.1 theme compatibility" will probably causes problems on your website. If you are using a v1.2 theme, it should be safe to turn it off. Link to comment Share on other sites More sharing options...
rectox Posted August 16, 2010 Share Posted August 16, 2010 Hi,i have the same problems. I have v1.1 turning off/on and its doesnt work.Here the link: http://ims.modnyj-sezon.ru/product.php?id_product=10Thanks! Link to comment Share on other sites More sharing options...
rocky Posted August 17, 2010 Share Posted August 17, 2010 It is the following line in themes/prestashop/js/product.js that is causing the problem: if (in_array(combinations[combination]['idsAttributes'][idAttribute], choice)) You are getting an "Object expected" error for some reason. I guess the combinations array is incorrect. I don't know why. I can only suggest using the "Product combinations generator" to re-generate the combinations to see whether that works. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now