Erick678 Posted August 10, 2012 Share Posted August 10, 2012 Hi all, I want that customer with ID 1212 can't see and buy products with "Example" in the productname. How can i fix this? Thanks Link to comment Share on other sites More sharing options...
Erick678 Posted August 15, 2012 Author Share Posted August 15, 2012 Anyone? Link to comment Share on other sites More sharing options...
blmod Posted August 15, 2012 Share Posted August 15, 2012 HI, Prestashop do not have this function. You need by self create module with this function. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 16, 2012 Share Posted August 16, 2012 Hello Erick, Welcome to the PrestaShop forums. I think that this would require additional custom development. I am not sure of any module or existing functionality that can do that function. I hope this information helps! Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
coeos.pro Posted August 16, 2012 Share Posted August 16, 2012 You can create a customer group "mode catalog" and put the customer ID 1212 in this group and with a module like http://addons.prestashop.com/en/front-office-features-prestashop-modules/5109-hide-prices-without-changing-the-theme.html , this customer 1212 see you shop in mode catalog (no prices and can't buy) 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 16, 2012 Share Posted August 16, 2012 Yes thank you coeos.pro this does in fact solve half of his question. I also believe that he wants a specific "example name" product to be un-included from view for customer 1212. This is a good first step! Link to comment Share on other sites More sharing options...
Erick678 Posted August 22, 2012 Author Share Posted August 22, 2012 (edited) Thanks for the reply's. Yes, it solves half of my problem. I want to completely hide the products with name "example name" for the customer. Can i implement this php script into the product page or something? <!--?php if ($user['userid'] == "1212") { $sql = "SELECT * FROM uu_producten p, uu_product_details pd WHERE p.id_product == pd.id_product AND p.fabrikant NOT LIKE '%SAMSUNG%' "; } else { $sql = "SELECT * FROM uu_producten p, uu_product_details pd WHERE p.id_product == pd.id_product"; } Thanks for you help guys Edited August 22, 2012 by Erick678 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts