Jump to content
Sign in to follow this  
leganzaro

(Rezolvat) Setari import csv - required field

Recommended Posts

Va salut.

La importul produselor in baza de date este automat selectat ca def. campul "nume". Am un export care are ca si def ID-ul si ma intereseaza ca update-ul la stocuri si preturi sa se faca dupa el. Exista posibilitatea ca ID-ul sa poata fi selectat ca required field in loc de "nume"?

EDIT
-----------------------------
Imi cer scuze. Am fost un pic cam lenes si nu am insistat prea mult sa gasesc solutia. Ma gandisem ca au lasat accesul la setare in panou si nu il vad eu.
Raspunsul este: adminmport.php, campul - public static $required_fields = array('name'); - name -> id.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More