shah Jalal Posted October 25, 2010 Share Posted October 25, 2010 I am new in prestsashop customization. Would any one can help me to add sku for each and every product??It's really important for me because it's my first assignment. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 25, 2010 Share Posted October 25, 2010 You can use the Reference field in the product editor. Link to comment Share on other sites More sharing options...
shah Jalal Posted October 26, 2010 Author Share Posted October 26, 2010 thanks tomerg3 for replay.It's my mistake that I didn't describe my problem. If I click any category then there will be all products. And displaying product name, price,add to cart, view etc..If I use Reference field then it's showing only single product view.But I need to display the sku or product number after price or products details or any where around product information.Just like every product has price, I need the sku also Link to comment Share on other sites More sharing options...
shah Jalal Posted October 26, 2010 Author Share Posted October 26, 2010 here is a sample link http://enigmaminiatures.com/shop/they used the sku Link to comment Share on other sites More sharing options...
tomerg3 Posted October 26, 2010 Share Posted October 26, 2010 The easy way would be to just add the number to the product name.You can also make some modification to display the reference number in other pages (category / new products / search etc...) but it will require changing .tpl files, and possible php files (in case the reference is not available there already). Link to comment Share on other sites More sharing options...
rocky Posted October 26, 2010 Share Posted October 26, 2010 Add code like the following to product-list.tpl: {l s='SKU:'} {$product.reference} 1 1 Link to comment Share on other sites More sharing options...
shah Jalal Posted October 26, 2010 Author Share Posted October 26, 2010 Thanks rokyIt's great and working cool Link to comment Share on other sites More sharing options...
ScubaLessonsInc Posted July 7, 2011 Share Posted July 7, 2011 Rocky, I just needed this so desperately.. thank you so much.. works great in all 4 versions! PERFECT!!! Thank you thank you thank you thank you thank you!! you get the idea! 1 Link to comment Share on other sites More sharing options...
crisrodreyes Posted March 11, 2019 Share Posted March 11, 2019 Hello, I did this solution and it works fine but I like it to show better on the website. It shows now like this: I would like it to show center. Please, help! Thank you Link to comment Share on other sites More sharing options...
goldies Posted February 27, 2020 Share Posted February 27, 2020 Thank you rocky, it is working and fix some problems with google search console Sample here https://www.seeds-gallery.shop/en/vegetable-seeds/ 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