#10 Fetch WooCommerce Products With REST API | @woocommerce/woocommerce-rest-api | Nextjs React

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024

ความคิดเห็น • 24

  • @adnanamin3666
    @adnanamin3666 ปีที่แล้ว +1

    Man, I'm halfway through the tenth ep and I'm loving your teaching style. There are very few teachers out there who can explain and organize a whole course with such quality and ease. Respect to you and all the loving teachers out there creating contents for free.
    May Allah bless you. Best wishes. And moving on to the next episode... Jazakallah! ❤️

    • @Codeytek
      @Codeytek  ปีที่แล้ว +1

      Salaam alaykum. Thank you

  • @yasielhp
    @yasielhp 2 ปีที่แล้ว

    Hi @Imran Sayed, first thanks for your videos, I have been using it to guide me to study and test some things, I have been testing to show the ORDERS, but I have a problem with (per_page) it only shows me a maximum of 100 orders. How can I make it show me all the orders?

  • @zurkik
    @zurkik 3 ปีที่แล้ว +2

    Hi, I have both backend and frontend running locally. Wordpress on local by flywheel. When updating the Site Address url in wordpress admin, I'm having a "Request failed with status code 401" from the api trying to get the product list. Any idea why?

    • @Codeytek
      @Codeytek  3 ปีที่แล้ว +1

      Can you please raise a Github issue on the repo with error screen shot and the problem? It's better I answer the question on Github so other people who land into a similar problem can get to know the solution.

    • @renjogabro1858
      @renjogabro1858 ปีที่แล้ว

      Hi,
      Did you find a solution for this?
      I feel like I have been scouring the entire internet for a solution to this, but I haven't found a solution.
      The only solution this far has been to have the same Site Address URL in Wordpress admin as the Wordpress URL, but in this case the product slugs/permalinks/urls from this api call are on the Wordpress URL, not localhost:3000.

  • @SammyYoung82
    @SammyYoung82 2 ปีที่แล้ว

    Please, I could need some help handling some issues we are encountering based on Woocommerce product variation API and name property, Please, can you help? Thank you

  • @art2633
    @art2633 2 ปีที่แล้ว +2

    Hi @Imran Sayued! For some reason I can't get products from my woocommerceAPI...
    I keep getting errors with authorization even though I've changed and rechecked keys on my .env file?
    {
    "success": false,
    "products": [],
    "error": "Request failed with status code 401"
    }
    _____________________
    code: 'woocommerce_rest_authentication_error',
    message: 'Invalid signature - provided signature does not match.',

  • @ABUTAHER-wg7gz
    @ABUTAHER-wg7gz 2 ปีที่แล้ว +1

    Hi, is it possible product get by category in woo api?

    • @marianobarrionuevo4882
      @marianobarrionuevo4882 2 ปีที่แล้ว

      I have the same question

    • @ankgto
      @ankgto 3 หลายเดือนก่อน

      @@marianobarrionuevo4882 @ABUTAHER-wg7gz yes

  • @0GRANATE0
    @0GRANATE0 ปีที่แล้ว

    Can I fetch the products from the frontend without my own Server? Since the JS code runs on the same server (client side) like the woocommerce website it is (so no cross origin calls)
    But since I can't have the secret key in the frontend, how do I do that?

    • @Codeytek
      @Codeytek  ปีที่แล้ว

      Yes you can

    • @0GRANATE0
      @0GRANATE0 ปีที่แล้ว +1

      @@Codeytek Yes you can but at WHAT cost? - you expose your secret key to the public.. they can do everything with it.

  • @carlosoliveiragrijo
    @carlosoliveiragrijo 2 ปีที่แล้ว

    Thanks for this amazing content.

    • @Codeytek
      @Codeytek  2 ปีที่แล้ว +1

      Welcome

  • @manuelli_sebastian
    @manuelli_sebastian 2 ปีที่แล้ว

    Good Job man

  • @shbita
    @shbita ปีที่แล้ว

    🧡🧡💛💛💚💚

  • @emmanuelochubili
    @emmanuelochubili 2 ปีที่แล้ว

    please can you make the one with PHP 🙏🏾

    • @Codeytek
      @Codeytek  2 ปีที่แล้ว

      It's already there in another playlist

    • @emmanuelochubili
      @emmanuelochubili 2 ปีที่แล้ว

      @@Codeytek please can you share the direct link here please.
      I really need to learn how to do CRUD with woocommerce REST Api with PHP.I could only find nextJS and react JS with woocommerce api but what i need is PHP.
      Thanks in advance

    • @alienheartz9163
      @alienheartz9163 2 ปีที่แล้ว

      @@emmanuelochubili Its pretty the same, You need to wrap the Woocommerce REST End points with yours.

  • @developerbornov
    @developerbornov ปีที่แล้ว

    7:52