Giter Site home page Giter Site logo

Comments (11)

jasonknight avatar jasonknight commented on September 26, 2024

Working on this. Will be up soon.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

Okay, writing both product tags and product categories is now supported on the product model.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

You should now be able to write to the short_description.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

sale_from and sale_to is a timestamp. It requires a timestamp right now as there is no validator/formatter on this attribute.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

I am working on the interface for product creation. It should be up and working with plenty of example/test code. Will most likely be done tomorrow afternoon.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

As for auto-draft: You are explicitly setting the publishing field to publish yes? Also setting the visibility field to visible?

I will add sensible default to the attributes.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

The new testing interface shows a complete product form with all attributes except relations. You can see the interface in the latest code.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

Auto drafts will no longer show up.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

How would you want to send images? Normally this is not easy to do with Ajax..., but supposing that the file shows up in $_FILES, then it should be simple enough to attach it to the product...Will have to look into this starting monday.

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

Ideally you should be able to simply append a new review to a product to add them.

This doesn't have a test case yet, but it currently works for tags and categories (just send them with the product) so reviews should work the same, or easier as the model for a review is just a comment...

If this doesn't work, open up a new issue and I will revist the code and make a test case. Maybe post the JSON you used as well?

from woocommerce-json-api.

jasonknight avatar jasonknight commented on September 26, 2024

An option to view orders in the trash, change their status and delete them

This isn't recommended.

from woocommerce-json-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.