Navigation

    Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. courage
    C
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    courage

    @courage

    0
    Reputation
    14
    Posts
    8
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    courage Follow

    Posts made by courage

    • How to Get top Selling Products and Categories

      I have been searching/looking for top selling products/categories in the shop route but can't find it, i've also looked into the products repository folder but cant find anything relating to that. I have also noticed its only available on the admin dashboard controller but i want to use it on the shop and cant figure out how to do that

      posted in General Discussion
      C
      courage
    • Why is creating custom theme such a headache?

      so far, so good i have followed all the steps to create a custom theme but one would expect that after such reading and trial at least i should have a result at the very least... That's the case with me right now.

      I have tried to use the api as well but the customer register - Login route was was not found as it constantly returned 404

      HERE IS WHAT I HAVE DONE

      • defined the setting in themes.php link so:
      'Malls' => [
                  'views_path' => 'resources/themes/malls/views',
                  'assets_path' => 'public/themes/malls/assets',
                  'name' => 'Malls',
                  'parent' => 'default'
              ],
      
      • carefully defined my path using velocity theme as a prototype
      • created my master layout
      • created an index file in home directory
        Screen shot
        alt text

      when i load this in browser am displayed with some BLISS interface which is totally different from what i have done.

      I have set the package channel to malls as well but still the same.
      the question is, do i have to define my own routes and if i must, how to i override the package route. been on this for a while but the theme won't work and <host>/api has some misplaced routes like register, login and some others i have not discovered

      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      @prateek-webkul
      am not actually very good at vue, so am pausing to take a good look at the whole concepts. but one i thing i do notice though, is the load speed which in a way is very slow. i don't know if that's because of my development environment which is currently local or did you guys implement some kind php sleep function to make it wait for some time before loading. either ways, i would fancy a suggestion on what to do to achieve a much cleaner and faster system

      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      @prateek-webkul
      screenshot plus the loading is incredibly slow, any idea on how to improve that?
      alt text

      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      @prateek-webkul

      These lines are causing some error in my template

      @if ($velocityMetaData)
          {!! DbView::make($velocityMetaData)->field('home_page_content')->render() !!}
         @else
           @include('shop::home.banner.index')
           @include('shop::home.advertisements.advertisement-four')
           @include('shop::home.featured-products')
           @include('shop::home.advertisements.advertisement-three')
           @include('shop::home.new-products')
           @include('shop::home.advertisements.advertisement-two')
      @endif
      

      I added this line

      @include('shop::home.banner.index')
      

      but realized it doesnt take any effect, so i removed if-else statement but got loads of vue errors.

      So, what's the line for and how do i make it render my view?

      {!! DbView::make($velocityMetaData)->field('home_page_content')->render() !!}
      
      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      everything is fine now. thanks for helping

      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      @prateek-webkul
      Sorry am here again... i have just one more silly question "i suppose!"
      I have made some changes to the files in packages/Webkul/Velocity/src/Resources/assets/js/UI/components
      but there is no vissible changes. The question is, why is that?
      I have thought of copying the UI/components* folder to my theme public assets paths and have it linked to my the layout. But, i don't know, i haven't really tried it and it sure sounds absurd. So, whats the way forward

      posted in General Discussion
      C
      courage
    • RE: Theme Creation and Override Bottleneck

      @prateek-webkul
      wow... sorry i never checked that directory.
      am beginning to like you guys again 🙂 🙂
      That was really a perfect answer

      posted in General Discussion
      C
      courage
    • Theme Creation and Override Bottleneck

      I have been looking into bagisto for weeks searching the internet for a more elaborate and detailed explanation on how to "not just create a theme or package but be able to make items or products, categories and the likes, appear where i want them".
      Well, i created a package following https://devdocs.bagisto.com/create_package.html. and it was great but afterwards, am left confused on where the products should appear or how to even make that happen. So, i switched over to theme creation but still the same bottleneck.

      So i tried looking into the velocity theme to determine how am going to make things easy for me. Well, it was great at first until i realized that i cant find some components. I don't know where they are or how they came to be.

      My suggestion is; in subsequent updates, you create a components folder where you store these vue components instead of scattering them everywhere.
      In the mean time, i would like you to point me to where or how i could locate these vue components as they are not available in the particals file:

      • carousel-component
      • sidebar-component
      • mini-cart
        i actully found the mini-cart but the x-template code i cannot find
      posted in General Discussion
      C
      courage
    • RE: Migration path not Found(artisan publish) and lots of errors in admin dashboard

      @Vaishali-Agarwal
      alright, thanks alot

      posted in Installing Bagisto
      C
      courage