Jump to content

Making the "reference code" for a product invisible


Recommended Posts

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

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

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

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...