• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
798
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 28 Nov 2020, 06:40

    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 30 Nov 2020, 14:01

      @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 4 Dec 2020, 07:50

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

        1 Reply Last reply Reply Quote 0
        • D
          dev.rohit last edited by 4 Dec 2020, 07:53

          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 4 Dec 2020, 09:02

            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 4 Dec 2020, 09:43

              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 5 Dec 2020, 04:48 Reply Quote 0
              • D
                dev.rohit @devansh-webkul last edited by 5 Dec 2020, 04:48

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

                1 Reply Last reply Reply Quote 0
                5 out of 7
                • First post
                  5/7
                  Last post