Hidding Productcode

Hi,

Is there a way to make the productcode on the product page hidden?

It may stay on the place to copy it sometime for use myself but that costumers dont see it.

I whas thinking about transparant or give it the background colour.



Thx.

Hello,



Did you try to set “display: [size=4]none[/size]” for the block?

Please specify the CS-cart version you use in order we could give you relevant piece of advice.

Hi @richardfmm,

You can check also our free add-on Hide Product Code in the Frontend - Free CS-Cart Add-on by HungryWeb.net



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

My CS version is 4.2.3.

Nice free addon, is the code compleet away or just hidding?

I want the code hide so i can copy it when i need it.



Thx4respons.

[quote name='richardfmm' timestamp='1414508191' post='195503']

My CS version is 4.2.3.

Nice free addon, is the code compleet away or just hidding?

I want the code hide so i can copy it when i need it.



Thx4respons.

[/quote]



With the add-on is available only in backend

Hello again,



Please try to add “[size=4]display: none;[/size][size=4]” in Design > Themes > [/size][size=4]Visual Theme editor - [/size][size=4]Custom CSS[/size]



[size=4]It should look like this:[/size]



.ty-product-block__sku{

display: none;

}

[quote name='Cart-Power' timestamp='1414566482' post='195559']

Hello again,



Please try to add “[size=4]display: none;[/size][size=4]” in Design > Themes > [/size][size=4]Visual Theme editor - [/size][size=4]Custom CSS[/size]



[size=4]It should look like this:[/size]



.ty-product-block__sku{

display: none;

}

[/quote]



Nice, but this solution will not hide product code on the cart, order pages and invoices.

The background colour is #D8D8D8

The text colour is #00000

Maby just change the text colour?

[quote name='eComLabs' timestamp='1414573246' post='195566']

Nice, but this solution will not hide product code on the cart, order pages and invoices.

[/quote]



Nice, but the client asked only to get that field hidden on the product page.


Yes, only hidden and that i can copy it from screen.

Maby colour the same as background?



Thx.

[quote name='Cart-Power' timestamp='1414740196' post='195779'] Nice, but the client asked only to get that field hidden on the product page. [/quote]



My fault


[quote name='richardfmm' timestamp='1414599977' post='195617'] The background colour is #D8D8D8 The text colour is #00000 Maby just change the text colour? [/quote]



Try:



.ty-product-block__sku .ty-control-group__label {
color: #D8D8D8;
}
.ty-product-block__sku .ty-control-group__item {
color: #D8D8D8;
}

.ty-product-block__sku … etc. is not working, no change to see.

Check with Inspector for “CODE”(text) i see:

.control-group label, .product-list-field label



Check with Inspector for Productcode i see:

.product-list-field span {color: #000;}

div#sku_update_18694.control-group.product-list-field.cm-reload-18694

span#product_code_18694



if i change the colour to #D8D8D8 then the code is gone but the “availble and max_order_qty” is also gone.

Do you use basic theme?

Yes, i use the basic theme.

[quote name='richardfmm' timestamp='1414774013' post='195842']

Yes, i use the basic theme.

[/quote]



Ok. Please try:



.sku-options-wrapper .product-list-field label {
color: #D8D8D8;
}
.sku-options-wrapper .product-list-field span {
color: #D8D8D8;
}

Great, works in the productpage perfect(hidden and can copy it).



Is there also a line for the Quick View and Cart page out(colour #fff)?

Sorry, whas thinking, rest productcode also gone, but no…



Thx a lot.

[quote name='richardfmm' timestamp='1415289890' post='196276']

Great, works in the productpage perfect(hidden and can copy it).



Is there also a line for the Quick View and Cart page out(colour #fff)?

Sorry, whas thinking, rest productcode also gone, but no…



Thx a lot.

[/quote]



As far as I can see, you are familiar with the inspector. So just find the necessary styles and update them

Yes, i know the inspector but dont fix it.

I have look at the productpage how you do it but no succes on the another pages.

I'am afraid to do something wrong and that the cart is not working anymore.

Please, if you have time write the lines for me.

Thx.

Ecomlabs,

If you have time please write the lines.

Thx.

[quote name='richardfmm' timestamp='1415624564' post='196529']

If you have time please write the lines.

[/quote]



PM me the URL of your store. I do not have a store with the basic theme on my demo server