Jump to content

Edit History

Hokuto ShinKen

Hokuto ShinKen

Hi everyone,

I have a list of Combination IDs regarding combinations I need to update on an automated fashion.

I would need someone that would be able to provide me with a kind of script that @Andrei H provided me in the following post (Kudos to him :) )

 A script that would loop through the combinations IDs and add to the combinations an attribute let's call it "AAA" with a value let's call it "XXX".

I am still an infant in PHP and to not talk about Prestashop internals and objects and will not be able to do it myself.
I have some hundreds products to update and cannot contemple to do this manually if it was even possible.

Thanks a lot in advance.

PS: I tried to check the DB structure to see if I could go with an easy SQL solution for this, but really I haven' t understood how combinations IDs and attributes are linked here.

Best regards to Everyone.

 

Hokuto ShinKen

Hokuto ShinKen

Hi everyone,

I have a list of Combination IDs regarding combinations I need to update on an automated fashion.

I would need someone that would be able to provide me with a kind of script that @Andrei H provided me in the following post (Kudos to him :) )

 A script that would loop through the combinations IDs and add to the combinations an attribute let's call it "AAA" with a value let's call it "XXX".

I am still an infant in PHP and to not talk about Prestashop internals and objects and will not be able to do it myself.
I have some hundreds products to update and cannot contemple to do this manually if it was even possible.

Thanks a lot in advance.

PS: I tried to check the DB structure to see if I could go with an easy SQL solution for this, but really I haven' t understood how combinations IDs and attributes are linked here.

Best regards to Everyone.

 

×
×
  • Create New...