• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

Create New Bagisto custom theme returns error

General Discussion
2
9
630
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.
  • H
    hossein last edited by hossein 15 Feb 2024, 13:06 15 Feb 2024, 13:04

    According to this video (https://www.youtube.com/watch?v=K3FdBDsXAH8) and this article ( https://bagisto.com/en/create-custom-theme-in-bagisto/) I've cloned the Shop package. I changed the name spaces and according to your article I didn't touch the routes names. But after all changes I got this error:

    Diglactic\ Breadcrumbs\ Exceptions \DuplicateBreadcrumbException
    
    (PHP 8.2.12
    10.16.1)
    
    Breadcrumb name "shop.customer.profile.index" has already been registered
    

    error in page:

    C:\xampp\htdocs\bagisto\packages\Webkul\Store\src\Routes\breadcrumbs
    .php: 10
    

    How can I fix it?

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by 15 Feb 2024, 13:16

      Hello @hossein

      Greetings of the day..!!

      Can you please provide the screenshot of the cloned package? and the error message of the same.

      Thanks & Regards..!!

      H 1 Reply Last reply 15 Feb 2024, 13:40 Reply Quote 0
      • H
        hossein @Rishabh-Webkul last edited by 15 Feb 2024, 13:40

        @Rishabh-Webkul Sure:
        bagisto-02.png bagisto-01.png

        1 Reply Last reply Reply Quote 0
        • Rishabh-Webkul
          Rishabh-Webkul last edited by Rishabh-Webkul 15 Feb 2024, 14:08 15 Feb 2024, 13:50

          Hello @hossein

          After checking your error this is due to because it is already registered in the shop package from which you just cloned the package. To resolve this error kindly make changes in the breadcrumbs from shop.customer.profile.index to store.customer.profile.index

          you have to make changes in all the breadcrumbs as per your package.

          Then the package will get registered after all the changes as shown in the below image.
          Theme.png

          Thanks & Regards..!!

          H 1 Reply Last reply 16 Feb 2024, 13:25 Reply Quote 0
          • H
            hossein @Rishabh-Webkul last edited by 16 Feb 2024, 13:25

            @Rishabh-Webkul
            Thank you Rishabh for your help. But it was not neither your video tutorial and your article.
            Now, I faced another error which I don't have any idea:

            Target [Webkul\Store\Contracts\ThemeCustomization] is not instantiable while building [Webkul\Store\Http\Controllers\HomeController].
            

            I shared some screenshot of error and possible related files. Please check and let me know.
            Thanks.

            bagisto-05.png bagisto-04.png bagisto-03.png

            1 Reply Last reply Reply Quote 0
            • Rishabh-Webkul
              Rishabh-Webkul last edited by 20 Feb 2024, 13:13

              Hello @hossein

              Greetings of the day..!!

              It is very difficult to show each and every file making changes in the blog or tutorial video.

              We are working to push our code to our official Bagisto custom theme repository, after that you can easily download that Store package and use it accordingly.

              Thanks & Regards..!!

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by 21 Feb 2024, 05:16

                Hello @hossein

                Greetings of the day..!!

                Now you can check the Repository and clone the Store package from the given link.

                GitHub Repository - https://github.com/bagisto/custom-theme

                Thanks & Regards..!!

                H 1 Reply Last reply 27 Feb 2024, 02:13 Reply Quote 0
                • H
                  hossein @Rishabh-Webkul last edited by 27 Feb 2024, 02:13

                  @Rishabh-Webkul thank you so much

                  1 Reply Last reply Reply Quote 0
                  • 21 days later
                  • Rishabh-Webkul
                    Rishabh-Webkul last edited by 19 Mar 2024, 07:37

                    Hello @hossein

                    Thanks for the update.

                    Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com

                    That would be grateful for us.

                    Thanks & Regards,

                    Bagisto Team

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