Rosie Posy Posted April 9, 2017 Share Posted April 9, 2017 Hi everyone How do I restrict one product for a specific country in prestashop 1.6. ? I don't want to display the product for France but have the product visble for Holland Belgium DE the UK and Italy. Thanks for your suggestions. Kind regards Len Link to comment Share on other sites More sharing options...
NemoPS Posted April 9, 2017 Share Posted April 9, 2017 You can try adapting my free module, but you need to know some phphttp://store.nemops.com/free-modules/44-product-access.html#.WOoUt_l97OQYou can add a country as specific ID instead of groups ( you can even just hardcode it in the front) Link to comment Share on other sites More sharing options...
Rosie Posy Posted April 9, 2017 Author Share Posted April 9, 2017 You can try adapting my free module, but you need to know some php http://store.nemops.com/free-modules/44-product-access.html#.WOoUt_l97OQ You can add a country as specific ID instead of groups ( you can even just hardcode it in the front) Hi Nemo Thanks for the reply. What do you mean 'just hardcode it in the front'? I am not a coder so don't know how to code that id into the module. Do you have the code? Once I have done the specific code change would I have to re code the id for the products if I do an upgrade to prestashop since the code will be overwritten with the update? My shop is on standby now since one product cannot be sold in France. Thanks for your reply , I appreciate it. kind regards Len Link to comment Share on other sites More sharing options...
NemoPS Posted April 12, 2017 Share Posted April 12, 2017 Len,Yeah the module only considers groups but it's a good starting point. And yes, you have to codeNo, you won't have to, as long as the country ID stays the same (if not you can just change that) 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