Jurek83 Posted July 1, 2015 Share Posted July 1, 2015 I was wondering if someone could tell me if there is an option to make the internal "reference code" of a product invisible in the online shop. I think it is very usefull to use it as an internal search option. However if you fill out this field it will come up in the shop as well. Thanks alot! Link to comment Share on other sites More sharing options...
Jimmythebib Posted July 1, 2015 Share Posted July 1, 2015 Hi you can try adding this line to your site-root > theme > css > global.css file at the very bottom. Keep a back-up first. .pb-center-column #product_reference {display:none;} Jimmy 1 Link to comment Share on other sites More sharing options...
Jurek83 Posted July 3, 2015 Author Share Posted July 3, 2015 Hi you can try adding this line to your site-root > theme > css > global.css file at the very bottom. Keep a back-up first. .pb-center-column #product_reference {display:none;} Jimmy Hello Jimmy, Thank you alot for the quick response! To be honest i'm quite new to this. I tried adding the code in the global.css file at the bottom. When I refresh the front-office, I noticed it being gone, though quickly reappearing and stay visible. Is it possible there is another file that's called upon after this which makes the #product_reference visible again? greets Link to comment Share on other sites More sharing options...
Jimmythebib Posted July 3, 2015 Share Posted July 3, 2015 (edited) Try this instead: .pb-center-column #product_reference {display:none !important;} It sounds like its being overridden by javascript or css, perhaps this will fix it. Jimmy Edited July 3, 2015 by Jimmythebib (see edit history) Link to comment Share on other sites More sharing options...
Jurek83 Posted July 3, 2015 Author Share Posted July 3, 2015 Try this instead: .pb-center-column #product_reference {display:none !important;} It sounds like its being overridden by javascript, perhaps this will fix it. Jimmy This works perfect! Thank you alot! Link to comment Share on other sites More sharing options...
Jimmythebib Posted July 3, 2015 Share Posted July 3, 2015 (edited) No problem, you should mark as solved to help anyone else who needs to do this. Jimmy Edited July 3, 2015 by Jimmythebib (see edit history) Link to comment Share on other sites More sharing options...
weddingslc Posted February 20, 2016 Share Posted February 20, 2016 Try this instead: .pb-center-column #product_reference {display:none !important;} It sounds like its being overridden by javascript or css, perhaps this will fix it. Jimmy I have added this at the bottom of global.css, cant fix this issue 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