clubbuilder Posted January 29, 2016 Share Posted January 29, 2016 I am building an auto parts store. With other carts there are SKU or parts number areas. In Prestashop I see there is a Reference Code, and in finding another post I found that I can enter the parts # under the Features section. My guess is Reference Code is designated area where we enter a part number but unsure. For me, I need the parts number to show up on the order so we know which part number to look up as we print the invoice or look at the order. So would it be better to use the reference code section or the features section? In the features section is says parts # so its labeled properly but it creates an additional new tab on the products page that looks a little barren, however if I use the Reference Code section then I have to figure out how to change the wording from Reference Code to: Part # and make sure it shows up on the order and invoice so we can fulfill the order. This is why I am asking now. I started by putting a few products in my store and stopped since I don't want to get all of them until I know this answer. Link to comment Share on other sites More sharing options...
clubbuilder Posted January 29, 2016 Author Share Posted January 29, 2016 OK it looks like reference code is area made for parts #. It shows in the multiple product category view, and also you can attach different numbers to attributes. Does the reference code show on the order? Can I change the name from reference code to Parts #? Link to comment Share on other sites More sharing options...
clubbuilder Posted January 30, 2016 Author Share Posted January 30, 2016 Wow I am hearing crickets here, this must not be an easy solution otherwise someone would have likely piped in by now. I found the docs page for the reference code here: http://doc.prestashop.com/display/PS16/Managing+Products#ManagingProducts-FillingouttheProductInformation but it does not go into detail as to whether I can change the name, and whether or not I can get it to show in my orders area. So when I print the order the part # shows. All it says is for internal use only. Most online stores use an SKU, part #, or an identifying number to label their products (outside the product name); I just don't get why I am having to ask these questions and its not properly addressed in the docs. And then I ask in the forum no-one responds. What gives here? Link to comment Share on other sites More sharing options...
tdr170 Posted January 30, 2016 Share Posted January 30, 2016 Sorry but sometimes it takes a little time to see all the post, anyway you can edit the Reference very easily, go to Localization, Translations. Here you will see Some drop downs first is what to translate, you want to translate Front office translations, then select your theme, both of these by default should already be set. Now select your language and click modify, when the page of translations opens scroll down and find Product, you may need to click product to open the list of transaltions, look through the list and you will find Reference: to the right is the translation text field change Reference: to Part #: and save your done you will now have Part #: on the Product page. So now if you want a little customization here is how to show the Part # and Quantity in stock in the Home featured/popular when you hover image and on Product list page. Edit product-list.tpl you will find that in themes/default-bootstrap/ at line 80 make a space and paste the code below between the 2 closing {/if} statements. <br /> <span class="quantity-label">{$product.quantity}</span><span class="quantity-text">{l s=' item/s in stock'} </span><br /> <span class="reference-label">{l s='Part #:'} {$product.reference} </span> Link to comment Share on other sites More sharing options...
clubbuilder Posted January 31, 2016 Author Share Posted January 31, 2016 (edited) tdr170, your awesome! I appreciate the effort you put into this answer. Thank you. Edited January 31, 2016 by clubbuilder (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted January 31, 2016 Share Posted January 31, 2016 No problem glad to help. Link to comment Share on other sites More sharing options...
clubbuilder Posted February 5, 2016 Author Share Posted February 5, 2016 Don't want to mess this up, but would also like to modify the language in the admin panel. Do I modify these in the backoffice or field name tranlations? And what field name do I need to modify so I don't mess up my control panel (little afraid if I change a name here it breaks the store so want to make sure I get the proper fields). Link to comment Share on other sites More sharing options...
tdr170 Posted February 5, 2016 Share Posted February 5, 2016 Please clarify, modify BO laguage? Give 1 example. Link to comment Share on other sites More sharing options...
clubbuilder Posted February 5, 2016 Author Share Posted February 5, 2016 My client will be adding products so it would be better if under each product it said: Part # instead of refernce code. In localizations> translations> back office under: Admin Products I found this line: Reference = Reference. My thought was if I change this line to: Part # then it will show in the product entry area instead of showing: reference. I did change it in B/O but I do not see it yet in my catalog area. Its either the wrong setting or cache is an issue (or there are many more I need to change). Link to comment Share on other sites More sharing options...
clubbuilder Posted February 5, 2016 Author Share Posted February 5, 2016 Ohhhh. That line in the admin panel says: Reference code. Not reference. A little further down the Admin Products I found this line: Reference code = Reference code. and I changed it to Part # as well. But this also did not change it in the catalog product area yet. Perhaps this is cache. Link to comment Share on other sites More sharing options...
clubbuilder Posted February 5, 2016 Author Share Posted February 5, 2016 Yeah that did it! For anyone following I had to get my hosting provider to up my PHP max_input_vars from 1000 to 6000 so I could even view the backoffice lanuage file. Some servers will not allow you to use an .htaccess file to update this setting, it has to be done in php.ini. 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