Jump to content

Crisp

Members
  • Posts

    14
  • Joined

  • Last visited

Crisp's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The features in the filtersearch block are not sorted by alphabet, how can i achieve this? Think i found the piece of code that should be edited to have the features ordered by alphabet, instead of its value. Too bad my code knowledge isnt sufficient enough to make this happen, so I hope anyone else can help out. function productFeatures($products = array(), $inclGroups = TRUE, $global = TRUE) { if(count($products) > 0 || count($this->productIds) > 0) { $incr = 0; $products = count($products) > 0 ? $products : $this->productIds; $features = array(); $featGroups = $this->db->ExecuteS(' SELECT f.`id_feature`, fl.`name` FROM `' . _DB_PREFIX_ . 'feature` f LEFT JOIN `' . _DB_PREFIX_ . 'feature_lang` fl ON(f.`id_feature` = fl.`id_feature` AND fl.`id_lang` = ' . $this->lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'feature_value` fv ON(fl.`id_feature` = fv.`id_feature`) LEFT JOIN `' . _DB_PREFIX_ . 'feature_value_lang` fvl ON(fv.`id_feature_value` = fvl.`id_feature_value` AND fvl.`id_lang` = ' . $this->lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'feature_product` fp ON(fvl.`id_feature_value` = fp.`id_feature_value`) WHERE fp.`id_product` IN(' . implode(',', $products) . ') GROUP BY fl.`name`'); foreach($featGroups AS $group) { $features[($inclGroups === TRUE ? $group['name'] : $incr)] = $this->db->ExecuteS(' SELECT COUNT(DISTINCT fp.`id_product`) as `count`, f.`id_feature`, fvl.`value`, fvl.`id_feature_value` FROM `' . _DB_PREFIX_ . 'feature` f LEFT JOIN `' . _DB_PREFIX_ . 'feature_lang` fl ON(f.`id_feature` = fl.`id_feature` AND fl.`id_lang` = ' . $this->lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'feature_value` fv ON(fl.`id_feature` = fv.`id_feature`) LEFT JOIN `' . _DB_PREFIX_ . 'feature_value_lang` fvl ON(fv.`id_feature_value` = fvl.`id_feature_value` AND fvl.`id_lang` = ' . $this->lang . ') LEFT JOIN `' . _DB_PREFIX_ . 'feature_product` fp ON(fvl.`id_feature_value` = fp.`id_feature_value`) WHERE fp.`id_product` IN(' . implode(',', $products) . ') AND fl.`name` = "' . $group['name'] . '" GROUP BY fvl.`id_feature_value`'); $incr++; }
  2. Great! I was looking for a good solution for this annoying problem. Thanx an awful lot Jub!
  3. Thanx for the quick reply, and yes i tried ticking allot of other boxes but the same issue remains. I'm using V1.2.5, so maybe its still a bug in that version. Maybe other users can acknowledge this, or that its solved in newer versions.
  4. I added an employee with restricted access but the employee cant use the search in the backend. He has acces to the categories (view and edit) etc . What do I need to change so the employee can use the backend search function without getting the "access denied" message?
  5. I have no idea what you mean with your comment. anyway I just want to know how to have a page in prestashop thats only showing the On Sale products instead of all price lowered products.
  6. We are constantly lowering prices of allot of products (over a 1000) so when customers look @ our prices-drop page they need to go through allot of pages. What we would like to have is a page that is only showing the products On Sale. The number of on sale products is about 20-40 products so customers can have a better view of those products and now the on sale products are too hard too find because they are mixed with all price lowered products. Some On Sale products are in our advertising and featured products but about 30 are not and hard to find. So the question is if theres a way to adjust the product-drop page so its only showing the On Sale products instead of all price lowered products like it is now. Or maybe theres another solution I dont know of. Thx
  7. I have one issue with this module. Instead of approving a new account I had to decline one and the problem I have is that in my administration home page it still says: Customers waiting for approvel: 1. But there is none to approve. A)How can I get rid of this. Any ideas why this isnt updated to 0 after declining an account. Using v2 on prestashop 1.2.5
  8. Same problem with 1.2.5. It's an awesome addition and maybe one of the best "free"modules for prestashop but with these kind of bugs i'ts not really worth adding it to any webshop because it's just too frustrating for customers.
  9. Not solved yet. Think it has to do with smarty caching or the filter search because whatever change I'm making to the product-list file... nothing changes.
  10. Title says it all /// how can i show the manufacturer of the product in the product-list like the image below: Click here
  11. Great work mao! thx for all the captcha forms. One question though ... in my old contact form I added a google maps script that appeared above the actual form. I tried to do the same with your securecontactform, by inserting the google script into the tpl file but its not working. Its showing a blank page. Maybe I'm inserting the google map script in the wrong position. Do you have any idea how I can succesfuly insert the script in your contactform so it shows just above the contactform? Thanx Well I just tried it again and I apparantly missed some pieces of code from the script last time I tried it because its working now . Thanx anyway for your quick response Mao. What about your captcha for the user registration form, is that managable aswell?
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More