Bagisto Forum

    Bagisto

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

    Bagisto: search by category

    Knowledge Base
    3
    13
    893
    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.
    • V
      Vaishali Agarwal last edited by

      @William-Hatanaka
      let me first confirm that categories tree are visible in EN_US locale in shop or it's the issue only in Japanese locale??
      Also mention the Bagisto Version.

      W 1 Reply Last reply Reply Quote 0
      • W
        William Hatanaka last edited by

        @Vaishali-Agarwal , sorry I dd not remember now how I did it, but my page is only in Japanese language. I disabled the English version...

        1 Reply Last reply Reply Quote 0
        • W
          William Hatanaka @Vaishali Agarwal last edited by

          @Vaishali-Agarwal I checked the table velocity_contents and velocity_contents_translations.
          velocity_contents_translations.png velocity_contents.png
          And the query on the file
          packages>Webkul>Velocity>src>Repositories>ContentRepository.php
          Using the function dd() I transcribe the value of $formattedContent below:

          ^ array:5 [▼
            0 => array:4 [▶
              "title" => "テキスト"
              "page_link" => "textbook"
              "link_target" => 0
              "content_type" => "category"
            ]
            1 => array:4 [▶
              "title" => "神芝居・B4版"
              "page_link" => "kamishibaib4"
              "link_target" => 0
              "content_type" => "category"
            ]
            2 => array:4 [▶
              "title" => "神芝居・冊子版"
              "page_link" => "kamishibaibooklet"
              "link_target" => 0
              "content_type" => "category"
            ]
            3 => array:4 [▶
              "title" => "勾玉材料・オルゴナイト型"
              "page_link" => "orgonite"
              "link_target" => 0
              "content_type" => "category"
            ]
            4 => array:4 [▶
              "title" => "勾玉材料・オルゴナイト用水晶"
              "page_link" => "crystalfororganite"
              "link_target" => 0
              "content_type" => "category"
            ]
          ]
          

          And the value above is used on the following file:
          packages>Webkul>Velocity>src>Recources>views>shop>layouts>master.blade.php line #73
          and the value of json_encode($velocityContent)

          [{"title":"\u30c6\u30ad\u30b9\u30c8","page_link":"textbook","link_target":0,"content_type":"category"},{"title":"\u795e\u829d\u5c45\u30fbB\uff14\u7248","page_link":"kamishibaib4","link_target":0,"content_type":"category"},{"title":"\u795e\u829d\u5c45\u30fb\u518a\u5b50\u7248","page_link":"kamishibaibooklet","link_target":0,"content_type":"category"},{"title":"\u52fe\u7389\u6750\u6599\u30fb\u30aa\u30eb\u30b4\u30ca\u30a4\u30c8\u578b","page_link":"orgonite","link_target":0,"content_type":"category"},{"title":"\u52fe\u7389\u6750\u6599\u30fb\u30aa\u30eb\u30b4\u30ca\u30a4\u30c8\u7528\u6c34\u6676","page_link":"crystalfororganite","link_target":0,"content_type":"category"}]
          

          But I dont understand why the button is not enable to click?

          W 1 Reply Last reply Reply Quote 0
          • W
            William Hatanaka @William Hatanaka last edited by

            Hey @Vaishali-Agarwal ,
            Did you read my question?
            Did you get some solution for it?
            Thank you !

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by

              Hi @William-Hatanaka
              Sorry for the delay.
              As we aren't getting this issue, so could you check while clicking on disabled icon is any console error attempt??

              W 1 Reply Last reply Reply Quote 0
              • W
                William Hatanaka @Vaishali Agarwal last edited by

                @Vaishali-Agarwal Hi, no error occurs....

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by

                  @William-Hatanaka
                  it seems that the main categories aren't selected under the root category.
                  Please check all the main categories should select as here https://prnt.sc/sajtty

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    William Hatanaka @Vaishali Agarwal last edited by

                    @Vaishali-Agarwal
                    I deleted a category that existed since the installation of bagisto and it worked.
                    Thank you so much !!!

                    1 Reply Last reply Reply Quote 1
                    • D
                      Daisymond last edited by

                      @William-Hatanaka this solution worked for me too. I deleted the one directory I had created and all of the other directories automatically got deleted too including the root. However, when I tried deleting the root alone it refused to allow me to delete. thanks a lot, this issue troubled me for 2 days.

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        William Hatanaka @Daisymond last edited by

                        @Daisymond Great! 👍 👍

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