Bagisto Forum

    Bagisto

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

    syntax error, unexpected '=', expecting ']' when rendering products by category

    General Discussion
    3
    7
    771
    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.
    • D
      dev.rohit last edited by

      f77ff121-d1cb-423a-b79b-8d7a764e0582-image.png
      I don't know why am i getting this error i tried to figure out but could not find any trail of the error and also its a custom theme .
      Its working fine with velocity theme but not working with my custom theme.

      I am just adding @include('shop::home.category', ['category' => 'fashion']) code in setting > channel home_page_content field.

      Master Page
      9b57c60c-c7fd-44ba-917b-f30fe1ec4d63-image.png

      Custom theme Index Page
      e6f9475e-cb80-4596-a2b5-1fe7ee012b7a-image.png

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

        @dev-rohit
        could you please confirm if the custom theme overrides with default theme or velocity theme?

        1 Reply Last reply Reply Quote 0
        • D
          dev.rohit last edited by

          I am doing this
          f776e20d-7f9d-4c61-b1b0-60a18bf139f7-image.png

          1 Reply Last reply Reply Quote 0
          • D
            dev.rohit last edited by

            This is the only thing i could not figure out why giving me error??

            1 Reply Last reply Reply Quote 0
            • D
              dev.rohit last edited by

              i fixed it by override velocity theme
              but with default its not working.

              1 Reply Last reply Reply Quote 0
              • devansh-webkul
                devansh-webkul last edited by

                Hi @dev-rohit,

                The error which I am seeing is generally a syntax error. It's nothing related to the overriding. Please check the file there is some minor mistake in the file.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dev.rohit @devansh-webkul last edited by

                  @devansh-webkul thanks for taking your time i fixed it.

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