Jump to content

I have serious problems with the API.

Baransel Pamuk

Recommended Posts

I have serious problems with the API. I run the API service and can pull my data pretty well.

this line of code below gives me the information I don't want.


if (isset($resources))
    if (!isset($_GET['id']))
        echo '<tr><th>Kullanıcı ID</th><th>İşlemler</th></tr>';
        foreach ($resources as $resource)
            // Iterates on the found IDs
            echo '<tr><td>'.$resource->attributes().'</td><td>'.
            '<a style="color:white; text-decoration:none;" href="?id='.$resource->attributes().'">Görüntüle</a>'.
        foreach ($resources as $key => $resource)
            // Iterates on customer's properties
            echo '<tr>';
            echo '<th>'.$key.'</th><td>'.$resource.'</td>';
            echo '</tr>';

I just want to get the 'code' line in 'cart_rules'.
I don't know how to get the data one by one. can someone who knows show me




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

  • Create New...

Important Information

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