E-commerce with

In this episode we are going to fix a mistake that I made in part 04 of this course.
If you watched the previous episode you know I screwed up a bit while doing Many to Many relationship. Since I don’t wanna deal with that mistake throughout this course, I will show you how to correct that in this quick episode.
I’m also gonna show how to create inverse relation between products and categories.
The problem is mainly that I had a brain fart during last episode and called this field product_categories. It should only be called category or categories, just as the inverse relation, should be called product or products.
So now we are going to fix that.
Code used in this tutorial
bit.ly/3HIV0ca
You can support my work on Patreon
/ watchlearn
Follow me on Social Media
Github: github.com/ivandoric
Twitter: / ivan_doric
Instagram: / watchlearntuts
Facebook: / watchlearntutorials

Пікірлер: 5

  • @nourborchani7791
    @nourborchani77919 ай бұрын

    thank you sir ! you saved my day with the M2M relation explained; keep up the good work 👏

  • @WatchandLearnTutorials

    @WatchandLearnTutorials

    8 ай бұрын

    Glad I could help 😄

  • @user-kr6lp7rm5y
    @user-kr6lp7rm5y2 жыл бұрын

    Thank you. Every time I try to do something, find a new bug. I really like Directus, but I give up. I will look for a simpler solution for my tasks

  • @WatchandLearnTutorials

    @WatchandLearnTutorials

    2 жыл бұрын

    Yeah it's a bit rough around the edges. I get you... but I think it will get better as time moves on. There are bugfixes coming out almost weekly... so you can give it another go in about a year or so 😀

  • @user-kr6lp7rm5y

    @user-kr6lp7rm5y

    2 жыл бұрын

    @@WatchandLearnTutorials I have the same thoughts