Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • A

      Vite Not Reflecting File Changes Without Cache Clear in Bagisto – How to Fix in Dev?
      General Discussion • • arunchahar

      6
      0
      Votes
      6
      Posts
      175
      Views

      E

      Hi @arunchahar,

      It looks like you're encountering a response cache issue. To solve this during development, try disabling response cache in your .env file:

      RESPONSE_CACHE_ENABLED=false

      You should be able to see your changes reflected instantly without needing to clear the cache each time.

    • H

      Bagisto admin dashboard is not working!
      General Discussion • • Hridaye

      4
      0
      Votes
      4
      Posts
      223
      Views

      Rishabh-Webkul

      Hello @Hridaye

      So is your dashboard issue is resolved now ?

      Please Confirm

      Warm Regards
      Team Bagisto

    • H

      Want to use custom font.
      General Discussion • • Hridaye

      4
      0
      Votes
      4
      Posts
      153
      Views

      Rishabh-Webkul

      @Hridaye You're Welcome..Keep Exploring.

      Warm Regards
      Team Bagisto

    • N

      Point Attribute?
      General Discussion • • neal.chambers

      3
      0
      Votes
      3
      Posts
      283
      Views

      Rishabh-Webkul

      Hello @neal-chambers

      Regarding your below query

      m having a hard time understanding how attributes are created and stored in the db.

      Check the below link for the reference of how to create attributes in Bagisto

      https://docs.bagisto.com/2.3.0/attribute/

      And data save inside the attributes table with the below columns as shown in the image below

      attributes_table.png

      Warm Regards
      Team Bagisto

    • A

      CSS Broken After npm run build in Custom Theme Package (Vite)
      General Discussion • • arunchahar

      3
      0
      Votes
      3
      Posts
      174
      Views

      A

      @Rishabh-Webkul Blade changes not updating in custom theme, but CSS changes work

      ✅ Working:

      Tailwind CSS changes (e.g., colors in app.css) update instantly with npm run dev

      ❌ Not working:

      Blade file changes (e.g., removing HTML sections) don't reflect, even after:

      Restarting Vite

      Running php artisan vendor:publish --provider="MyThemeProvider" --force

      Clearing all caches, am i missing something?

      My setup:
      config/themes.php

      'shop' => [ 'default' => [ 'name' => 'Default', 'assets_path' => 'public/themes/shop/default', 'views_path' => 'resources/themes/default/views', 'vite' => [ 'hot_file' => 'shop-default-vite.hot', 'build_directory' => 'themes/shop/default/build', 'package_assets_directory' => 'src/Resources/assets', ], ], 'nexus-theme' => [ 'name' => 'Nexus', 'assets_path' => 'public/themes/nexus-theme/default', 'views_path' => 'resources/themes/nexus-theme/views', 'vite' => [ 'hot_file' => 'shop-nexus-theme-vite.hot', 'build_directory' => 'themes/shop/nexus-theme/build', 'package_assets_directory' => 'src/Resources/assets', ], ], ],

      Vite.config.js

      import { defineConfig, loadEnv } from "vite"; import vue from "@vitejs/plugin-vue"; import laravel from "laravel-vite-plugin"; import path from "path"; export default defineConfig(({ mode }) => { const envDir = "../../../"; Object.assign(process.env, loadEnv(mode, envDir)); return { build: { emptyOutDir: true, }, envDir, server: { host: process.env.VITE_HOST || "localhost", port: process.env.VITE_PORT || 5173, cors: true, }, plugins: [ vue(), laravel({ hotFile: "../../../public/shop-nexus-theme-vite.hot", publicDirectory: "../../../public", buildDirectory: "themes/shop/nexus-theme/build", input: [ "src/Resources/assets/css/app.css", "src/Resources/assets/js/app.js", ], refresh: true, }), ], experimental: { renderBuiltUrl(filename, { hostId, hostType, type }) { if (hostType === "css") { return path.basename(filename); } }, }, }; });

      Service provider boot:

      public function boot(): void { $this->publishes([ __DIR__ . '/../Resources/Views' => resource_path('themes/nexus-theme/views'), ]); }
    • A

      help me get the correct api for addding address i have tried but the issue happening is the id has not been authenticated even after passing the bearer token in the header which i got from the login
      Bug Report • • Ananthu Ajayan

      2
      0
      Votes
      2
      Posts
      65
      Views

      Rishabh-Webkul

      Hello @Ananthu-Ajayan

      Usually this doesnt happing after adding a token at there. Is there anything that you have implemented at code end?

      Also you can check the list of endpoints here. and try to run the query here on swagger. If you find any error than let us know.

      Also, share the response of you error message.

      Shop: https://demo.bagisto.com/bagisto-api-demo-common/api/shop/documentation

      Admin: https://demo.bagisto.com/bagisto-api-demo-common/api/admin/documentation

      Warm Regards
      Team Bagisto

    • J

      language not loading
      General Discussion • • jassicode

      2
      0
      Votes
      2
      Posts
      46
      Views

      Rishabh-Webkul

      To achieve this, you'll need to add the translation in your

      Webkul >> Shop >> src >> Resources >> lang >> language_code >> app.php file.

      For reference, you can check our GitHub link below:

      Github Link: https://github.com/bagisto/bagisto/blob/2.3/packages/Webkul/Shop/src/Resources/lang/en/app.php

      We also have a helpful blog on how to add translations in Bagisto:

      Blog Link:
      https://bagisto.com/en/ecommerce-language-translation-in-bagisto/

      Warm Regards
      Team Bagisto

    • A

      Error on counting reporting traffic
      General Discussion • • alexVillalobos

      2
      0
      Votes
      2
      Posts
      71
      Views

      Rishabh-Webkul

      Hello @alexVillalobos

      Kindly confirm if you have made any customizations on the code end. Also, please check the laravel.log file to see if any other error messages are appearing.

      File Path as shown in below image.

      laravel.logg.png

      Warm Regards
      Team Bagisto

    • F

      Error when setup next js headless with bagisto
      Installing Bagisto • • fm27

      2
      0
      Votes
      2
      Posts
      131
      Views

      Rishabh-Webkul

      Hello @fm27

      Regarding your query, I would like to inform you that it’s not an error.

      It’s a dependency-related message. To resolve this, you need to install the required Node modules by running the npm i command.

      Also, you can refer to our YouTube video where we’ve demonstrated how to set up Next.js with Bagisto Headless.

      Note: Please note that this video is based on version 2.0:

      YouTube Link: https://www.youtube.com/watch?v=kdHTm30GvwI&t=1310s&ab_channel=Bagisto

      Warm Regards
      Team Bagisto

    • M

      Error in Sending EmailAttempt to read property "title" on array
      Bug Report • • MScopell

      2
      0
      Votes
      2
      Posts
      184
      Views

      Rishabh-Webkul

      Hello @MScopell

      We have checked this at our end. and everything is working fine as expected.

      Check the below Screenshot for your reference.

      Money Transfer:
      https://prnt.sc/jPoR1ZcrTuC7

      COD-

      image (43).png

      Kindly confirm whether you have added the SMTP configuration in your .env file.

      Also, please check if any customizations were made on your end, as that could be causing the issue.

      Warm Regards
      Team Bagisto

    • A

      High Inode Usage on Live Server - Temporary Fix with php artisan cache:clear, Any Permanent Solution?
      General Discussion • • arunchahar

      2
      0
      Votes
      2
      Posts
      125
      Views

      Rishabh-Webkul

      Hello @arunchahar

      We have raise this as a feature request on GitHub

      Kindly check the below link for the reference.

      https://github.com/bagisto/bagisto/issues/10792

      Warm Regards
      Team Bagisto

    • A

      Website got hacked 4 times in 2 days.
      Bug Report • • avernussss

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied