Php Script For Supplier

How to make a supplier script in PHP database?

IT must set all the same supplier for products.

I have no name for a supplier Just a number 1 etc…

The script must write the number 1 in the supplier field.



This because in-export has not yet anymore the field supplier.



Thx.

Seen NoOne have this problem?

What are your solution to set the supplier in products?

Select and do a bulk edit of 10000 or more for each supplier?



In the past there whas a script for setting the return days in script from 10 to say 14 days.

Maby this script is also good for supplier set?



Please help.

There are many objects that are related between the company_id and the supplier_id.

You need to take a look at the cscart_supplier_links table and review the code in the suppliers addon.

Have you reported the missing import functionality in the bugtracker?

If you're going to set everything to 1, why are you using suppliers?

Hi EZ,

I have look into the database and cant find the good supplier links.

I have more then 9 suppliers.

In the new cs422 i start first with 1 supplier to check working.

Then i do the next supplier and update this with 2(i dont use names for this) then 3…9.

In the next version update the supplier link will come back in in-export products.

So, i need a script to set 1 in the data field.



Thx.

There is no app/addons/suppliers/schemas/exim/products.post.php file in the distribution.

You need to hire a developer to create the schema in your my_changes addon and possibly create the import/export functions.

These are id's and usually reference the cscart_suppliers table for information about the supplier.



Don't think you want to shortcut the process.

I posted this in the bug tracker and of course it was closed with something like “We'll get to it when we get to it”.

Hi the tool,

In next update, will be the in-export again in cs-cart.

Butt to that time how to make the script in php database to set the supplier?

In the past whas a script for setting the return from 10 to 14 days.

Maby this script… is also good for update supplier…

Cant find that script.

Gr.

[quote name='richardfmm' timestamp='1410022669' post='191598']

Hi the tool,

In next update, will be the in-export again in cs-cart.

Butt to that time how to make the script in php database to set the supplier?

In the past whas a script for setting the return from 10 to 14 days.

Maby this script… is also good for update supplier…

Cant find that script.

Gr.

[/quote]



To tell you the truth, CSC probably does not know when suppliers will be able to be imported/exported. I'm still on 2.2.5 so I am not concerned with it at this time.



To code it is not as simple as editing the return period. It's a lot more involved.

This problem of “supplier” is fix by CS-Cart.

http://forum.cs-cart.com/tracker/issue-4866-import-product-supplier-field-no-longer-supported/