alpaca Posted February 24, 2010 Share Posted February 24, 2010 Hey chaps,I would like to hide the product reference code when the customer is in the shopping cart. Any ideas how I can hide this (not remove as I need it to be entered into the database) and in which files? Link to comment Share on other sites More sharing options...
jtlswanson Posted April 29, 2010 Share Posted April 29, 2010 Bump on this posting please! Link to comment Share on other sites More sharing options...
rocky Posted April 30, 2010 Share Posted April 30, 2010 In Prestashop v1.2.5, to remove the Reference column from the shopping cart summary, {* comment out *} line 54 of shopping-cart.tpl in your theme's directory: {l s='Ref.'} and line 9 of shopping-cart-product-line.tpl: {if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if} Link to comment Share on other sites More sharing options...
fredopahu Posted October 23, 2010 Share Posted October 23, 2010 Hi Rocky,After removing Reference and Availability columns, theader and tbody width aren't equal to the tfoot width. Even if i specify a witdh for each element inside the theader, the total width is still wrong.Do you know how to fix this ?Thank's ! Link to comment Share on other sites More sharing options...
rocky Posted October 24, 2010 Share Posted October 24, 2010 It must be a theme issue. The widths of columns aren't specified in the default PrestaShop theme. Can you provide a link to your site? Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 Thanks for the link to your site. I've had a look at your code and I can see the problem now. You removed two columns, but forgot to adjust the colspan in the totals. You need to edit shopping-cart.tpl and change all: to: Link to comment Share on other sites More sharing options...
fredopahu Posted October 25, 2010 Share Posted October 25, 2010 Thank you Rocky !It seems obvious now Link to comment Share on other sites More sharing options...
Redzor Posted August 11, 2011 Share Posted August 11, 2011 sorry for kicking this old topic, but here i can found what i am looking for. but the information i needed is gone ? see 2 replys up. There are with blocks, and i need that information.. thanks already 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