Jump to content

can we change manufacturer to other name?


Recommended Posts

For instance, can I change the "manufacturer" to others name? such as designer?
I would like to describe the products by its designer, how to do that?

Also can I add another new custom field like manufacturer in prestashop?

Finally, may I know what is the differences between manufacturer and supplier?
i mean in programming sense, are they treated differently in the ps logic?

Link to comment
Share on other sites

For instance, can I change the "manufacturer" to others name? such as designer?
I would like to describe the products by its designer, how to do that?

This would require modification of the template code.


Also can I add another new custom field like manufacturer in prestashop?

Yes, but it is going to require modification of both template and backend code.


Finally, may I know what is the differences between manufacturer and supplier?
I mean in programming sense, are they treated differently in the ps logic?

Let's say I buy a DeWalt cordless drill from a drop shipper named ToolsOnTheWeb.
The Manufacturer would be DeWalt and the supplier would be the ToolsOnTheWeb.
You can have the same Manufacturer but several different suppliers. This helps you
keep track of where the product actually came from.

That should be enough to tell you how the logic would differ.
Link to comment
Share on other sites

Actually, you don't need to modify any code to change "Manufacturers" to "Designers". Just go to Tools > Translations, select "Module translations" in the dropdown, click the USA flag, scroll down to the "prestashop - blockmanufacturers" section, then enter the translation for "Manufacturers" as "Designers".

Why do you want to add a new manufacturer field? Aren't the ones already in PrestaShop enough?

Link to comment
Share on other sites

Very cool hacks on the translation !!
It definitely helps.

Now I changed the manufacturer to designer

At first, I would like to have both "manufacturer", "designer" and "suppliers" for products categorization.
however I think renaming it is enough for the moment.

Many Thanks.

Link to comment
Share on other sites

One more follow up question:

If I really need to add a custom field like manufacturer, how do I add it? which backend code to do that?
for instance, I think I need to have 3 fields for products categorization.

it is
- brand
- designer
- suppliers

May I know how to proceed?

Many thanks.

Link to comment
Share on other sites

After I changed the "manufacturer" to "designer" in translation.
I find that when accessing the designer list in the shop, the URL is : domain.com/manufacturer.php

This is normal, since I only change the appearing name as "designer" only.

Is there any way to change so that even I can access the by "domain.com/designer.php"?
Which files to edit?

Many Thanks.

Link to comment
Share on other sites

If you want to make it easy to upgrade in the future, I suggest that you leave it as manufacturer.php. Otherwise, you will need to modify lots of files: classes/Link.php, classes/Page.php, modules/blockmanufacturer/blockmanufacturer.tpl, themes/prestashop/sitemap.tpl and admin/tabs/AdminGenerator.php. You will also need to regenerate your .htaccess file so manufacturer.php gets changed to designer.php and edit the ps_page_type table in your database.

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