Eickhardt Posted June 23, 2015 Share Posted June 23, 2015 Hello fellow prestausers! I'm tasked with adjusting the blocklayered module in such a way that the price range will search on the price pr. square meter (m2) instead of the default price. In other words, I'd like to know where I can edit the SQL that is being executed when searching for a price range, and then add a calculation that takes into account the size of the product in question. You can see here how it works at the moment: http://www.garant.nu/185-stavparket-traegulve#/price-300-1110 This specific link will show an item with a price lower than the price range indicates. This is because the square meter price is calculated in the .tpl, after the search has returned the products whose default price matches the price range. I have searched far and wide to no avail. This looks promising, but does not work in 1.6.0.5, which is what I'm using. I'm looking for a solution that does not require weeks to implement. If that is not possible, I'd also be happy to know that it's simply not possible or a task too big for it's little benefit. Thanks in advance! Link to comment Share on other sites More sharing options...
musicmaster Posted June 23, 2015 Share Posted June 23, 2015 I am still using the 1.x version of the Layered navigation module with 1.6 as I found the 2.x version difficult to modify. You might consider the same. Link to comment Share on other sites More sharing options...
Eickhardt Posted June 24, 2015 Author Share Posted June 24, 2015 Thank you for your reply musicmaster! Does this version you mention have the same features? I'm afraid the module I'm using is already modified, so just replacing it will not do. I'm gonna try it anyway though, thank you again for the suggestion. 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