Jump to content
Sign in to follow this  

(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"?

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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