Jump to content

product reference code (sku) in shopping cart view


Recommended Posts

Hi,

 

I would like to hide the product reference code (sku) when the customer is in the shopping cart.  Please see attached pic.  Can someone help me with this please?

 

I am using Prestashop 1.6.1.4.

 

: )

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 1 year later...

If all you want to do is hide it in the cart you code always add a simple line of CSS to global.css

#cart_summary tbody td.cart_description small.cart_ref {display: none; visibility: hidden;}

That way you don't need to bother trying to find the code to remove it.

Link to comment
Share on other sites

  • 2 years later...

Hello,

I would like to replace the SKU number with the REFERENCE of the product. I have found in shopping-cart-product-line.tpl where to edit the text so that it shows "REF" instead of "SKU"... but what code do I use to show the Reference {reference}?

 {if $product.reference}<small class="cart_ref">{l s='REF'}{$smarty.capture.default}{$product.reference|escape:'html':'UTF-8'}</small>{/if}

thank you

Link to comment
Share on other sites

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...