Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Translate columns not updating in main table

    General Discussion
    2
    5
    232
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      benbeaninc88 last edited by

      Hi guys,

      First time posting, educate if you may

      I am trying to manual insert a product through the productRepository. Data is inserted but the name, description and short description is not being updated. The translate table is being insert n updated.

      Let me know what am I missing and/or where to start looking.

      Thanks ahead

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @benbeaninc88 last edited by

        @benbeaninc88

        Hello there,
        We would love to help you with your query. Could you please help us with your updated script/code or if possible please share the screenshot.
        This will help us to understand if you are missing something or not.

        Thank You.

        B 2 Replies Last reply Reply Quote 0
        • B
          benbeaninc88 @ashish2409 last edited by benbeaninc88

          @ashish2409

          Controller:
          76906c98-1765-483d-a68c-9c16dfa32d37-image.png

          Repository:
          f74319ab-ed79-474f-9fe1-f942789383e2-image.png

          Model:
          cd6b4802-b1b3-458c-ad85-feda541059ca-image.png

          I follow exactly how the category module works.
          let me know if you need anything more.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • B
            benbeaninc88 @ashish2409 last edited by

            @ashish2409

            25ab7b87-62b3-4e6a-ada1-75475f700f15-image.png

            edit form
            243e3fba-f672-4993-94b3-cfd59bcda79e-image.png

            after save
            c8a1abed-d74d-48a2-a11e-d0f107e9ab47-image.png

            db:
            main table:
            1e51319c-9543-4889-8fe2-7854d23b928b-image.png

            translate table:
            8a7f29a1-8f79-48d1-91c8-25a4316d994f-image.png

            ashish2409 1 Reply Last reply Reply Quote 0
            • ashish2409
              ashish2409 @benbeaninc88 last edited by

              @benbeaninc88

              As per checking the concern, translations do not save automatically, these are saved on the locale code based. You need to add proper locale code to make it work.
              Thanks.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post