Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.0] Allow to import products with a given product_template ID #15053

Closed
zeroheure opened this issue Jan 12, 2017 · 3 comments
Closed

[10.0] Allow to import products with a given product_template ID #15053

zeroheure opened this issue Jan 12, 2017 · 3 comments
Labels

Comments

@zeroheure
Copy link
Contributor

zeroheure commented Jan 12, 2017

This wish is related to keeping SEO while migrate from another shop engine. One of the things that holds most e-shop with their current e-commerce system is the fear of throw away all their work on SEO for their products.
AFAIK the usual solution is to write 301 redirections for each URL referenced in Google. At least one per product and often one per image of product. It is a pain to build, and it can slow down the web server.

By allowing to import products with a given primary key for product_template ID, you will help them to keep their SEO with a far easier and quicker strategy. Because with Odoo one can request products with IDs in the URLs.

With IDs in the URL one can forget all 301 for products and related images :

  1. First, prepare the migration by adding IDs in URLs at his current e-commerce system. Then request the shop engine to do automatic redirections. In a few weeks the new URLs with IDs are registered in major search engines.
  2. Second, when you open your new Odoo web store, as long as you keep the same IDs (those are the pKey of product_template) a simple regex does the job to redirect old URLs containing IDs to Odoo URLs with IDs.

Impacted versions:
All versions, until Odoo 10 at least.

Steps to reproduce:
Import products through Odoo import screen.
Current behavior:
There is no way to fix product_template ID for each product, apart from importing directly in Postgresql tables.
Expected behavior:
Give us an option to do that or, at the minimum, instructions and/or module to import directly in Postgreql tables.

@zeroheure zeroheure changed the title Allow to import products with a given product_template ID [10.0] Allow to import products with a given product_template ID Jan 18, 2017
@Yenthe666 Yenthe666 added the 10.0 label Apr 19, 2018
@pedrobaeza
Copy link
Collaborator

Sorry, but this is something custom due to your import conditions, but not something that Odoo core should take into account IMO. But it's very easy to develop a custom module for making what you want. That's the magic of Odoo, that it's extensible.

Closing as no real issue, but an implementation need that should be covered by anyone with Odoo development skills.

@zeroheure
Copy link
Contributor Author

@pedrobaeza I disagree a little bit :-)
Is is a serious SEO problem for website migration from another ecommerce solution. Without this feature one will quickly get lost in cyberspace without page rank anymore!
But yes, it can be done with a module.

@pedrobaeza
Copy link
Collaborator

I don't disagree on the feature need. I disagree on having this in Odoo core. Any way, we can both agree as this is not an issue. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants