Products Module - ID Update on CSV Upload

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
peterbisset

Products Module - ID Update on CSV Upload

Post by peterbisset »

Hi everyone,

Within the Products module is there any way to stop the product ID's being changed when updating items via CSV upload?

I have a fairly large product database and it makes far more sense to make updates via CSV than to go into each product individually.

The problem is when I update the products they are allocated new ID's which means that their URLs also change, so if links have been posted to the old URL then they become redundant.

Any help/advice would be greatly appreciated.
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: Products Module - ID Update on CSV Upload

Post by cb2004 »

You mean the id in the database?

This is also the case for product options when they are updated which I don't see the sense in.

http://dev.cmsmadesimple.org/bug/view/10142
peterbisset

Re: Products Module - ID Update on CSV Upload

Post by peterbisset »

Yes I mean ID in the database, this also forms part of the URL unfortunately so every time you update via CSV the URL of the product changes. :-\
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: Products Module - ID Update on CSV Upload

Post by cb2004 »

Add it as a bug report, shouldn't do that in my eyes:

http://dev.cmsmadesimple.org/bug/add/408
peterbisset

Re: Products Module - ID Update on CSV Upload

Post by peterbisset »

I can't really post a bug report as I'm not sure if this is the correct behaviour for the module. I agree with you that it shouldn't behave in this way though.

I'm hoping that calguy1000 or someone else will chime in as to whether this is a bug or correct behaviour for the module. If it is correct behaviour then is there a way for me to stop the IDs being changed?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Products Module - ID Update on CSV Upload

Post by Jo Morg »

peterbisset wrote:I'm hoping that calguy1000 or someone else will chime in as to whether this is a bug or correct behaviour for the module. If it is correct behaviour then is there a way for me to stop the IDs being changed?
AFAIK it is as designed, not a bug "per se", however you can file a feature request, and see what the developer answers. :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
peterbisset

Re: Products Module - ID Update on CSV Upload

Post by peterbisset »

Does anyone have a solution as to how I can stop the product ID's from changing when uploading via CSV file?
peterbisset

Re: Products Module - ID Update on CSV Upload

Post by peterbisset »

Sorry to give this a bump, but I still don't have a solution and it's imperative to the project I'm working on. Anyone got any ideas as to how I can stop the product ID's from updating when performing a CSV upload/update?
Locked

Return to “Modules/Add-Ons”