Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. General Discussion
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • W

      Define route: admin.blog.index in web.php
      • WatersSea

      2
      0
      Votes
      2
      Posts
      313
      Views

      Rishabh-Webkul

      Hello @WatersSea

      We have created a video tutorial of how to create a module. In that video, we have created module of the Stock Notification with the help of Official dev Docs through Package Development in Detail.

      Hope this will help you to resolve your query.

      Youtube Tutorial Link - https://youtu.be/PIjIxtgzOJk?si=bntwsL-pE_j5itb7

      And regarding your query.

      Route::prefix('admin'): This sets the route prefix to admin, so your route will be admin/blog.

      Route::name('admin.'): This sets the route name prefix to admin., so your route name will be admin.blog.index.

      middleware('auth'): This middleware ensures that the route is protected and only accessible to authenticated users. Adjust this based on your needs.

      Route::get('blog', [PostController::class, 'index'])->name('blog.index');: This defines a GET request to the blog URL, which maps to the index method of PostController, and names the route.

      admin.blog.index.
      Make sure that the PostController exists and has an index method defined. If it’s part of a package or module in Bagisto, ensure you adjust the namespace and paths according to your application structure.

      This route setup will create a URL like /admin/blog that maps to the index method of the PostController, and you can refer to this route as admin.blog.index in your application.

      Thanks & Regards

    • A

      error when change color on configurable product
      • alexVillalobos

      2
      0
      Votes
      2
      Posts
      359
      Views

      devansh-webkul

      @alexVillalobos,

      I am not getting what you are trying to say in the second question, are you facing some issue.

      For the first question, all the variants are simple products so each simple product will have its own inventory.

    • D

      Help me please
      • devnguyen123

      2
      0
      Votes
      2
      Posts
      355
      Views

      Rishabh-Webkul

      Hello @devnguyen123

      Please provide us with a screenshot so we can assist you accordingly.

      Thanks & Regards

    • A

      This topic is deleted!
      • alexVillalobos

      1
      0
      Votes
      1
      Posts
      23
      Views

      No one has replied

    • E

      Can't run Bagisto mobile in Android emulator
      • eddoperes

      2
      0
      Votes
      2
      Posts
      389
      Views

      Rishabh-Webkul

      Hello @eddoperes

      Kindly refer to this https://forums.bagisto.com/topic/3818/can-t-run-bagisto-mobile-in-android-emulator/2

      Thanks & Regards

    • H

      Slow api/products when searching
      • hrabosh

      2
      0
      Votes
      2
      Posts
      336
      Views

      Rishabh-Webkul

      Hello @hrabosh

      Kindly let us know which Bagisto are you using.

      Additionally, you can also use elastic search which will help you to increase the speed. We have provided this by default in Bagisto Latest Versions.

      Thanks & Regards

    • A

      how put attribute value on transfer data products
      • alexVillalobos

      2
      0
      Votes
      2
      Posts
      259
      Views

      Rishabh-Webkul

      Hello @alexVillalobos

      While bulk uploading you can add color and size as variants for configurable products, not for the simple product.

      You can also download a sample file as shown below.

      rfwefwfseaef.png

      Inside this you will able to see the configurable variants. where you can send color size variants for configurable products.

      ecwsecwq.png

      Thanks & Regards..!!

    • C

      no email verification
      • Cali

      3
      0
      Votes
      3
      Posts
      437
      Views

      C

      @Rishabh-Webkul
      yes it is enabled

    • M

      Sending status code in rest-api response
      • marshalbagisto

      7
      0
      Votes
      7
      Posts
      944
      Views

      Rishabh-Webkul

      Hello @marshalbagisto

      Status Codes are not sent inside the response they were handled by Laravel and Axios

      For 200 - return response()->json([|

      'data' => $categories

      ], 200);

      For 500 - return response()->json([|

      'message' => 'Someting went wrong'

      ], 500);

      and in your screenshot, we have marked, that your status code will be visible at this point as shown in the image below.

      rtmmti.png

      Thanks & Regards

    • A

      how register new custom class on tailwind
      • alexVillalobos

      2
      0
      Votes
      2
      Posts
      246
      Views

      Rishabh-Webkul

      Hello @alexVillalobos

      You can add your CSS in your new custom class, as shown below.

      g dg g.png

      Also, to know in detail about tailwind CSS you can go through the below link.

      https://tailwindcss.com/docs/customizing-colors

      Thanks & Regards

    • C

      broken image
      • Cali

      2
      0
      Votes
      2
      Posts
      291
      Views

      Rishabh-Webkul

      Hello @Cali

      Kindly remove / from your APP_URL use this

      http://127.0.0.1:8000

      You can also visit the blog for the same.

      Link - https://bagisto.com/en/how-to-fix-image-broken-issue-in-bagisto/

      and lets us know everything is working fine.

      Thanks & Regards

    • I

      Unable to remove public from the url in shared cpanel hosting.
      • isachin

      3
      0
      Votes
      3
      Posts
      642
      Views

      I

      Hi @Rishabh-Webkul

      This works fine in localhost and while developing but the issue came when I was updated in my cpanel hosting. I've installed it through the Softaculous installer in Cpanel.

      I have attempted to use several .htaccess rules including the default one for Laravel that sends requests to 'public'. Unfortunately, it resulted in 403 or 404 errors as well. However, usually, it should work fine.

      Therefore, I assume that the '/public' route exists in the code of the application, which causes this error.

      it would be great If you could help in any way.

      Thanks.

    • S

      DISPLAY COUNT NOTIFICATION ISSUE IN HEADERR
      • sudip

      1
      0
      Votes
      1
      Posts
      171
      Views

      No one has replied

    • B

      New Attribute not visible in front.
      • Bharti

      3
      0
      Votes
      3
      Posts
      430
      Views

      B

      I share screenshots

      here I edit width attribute and make it orientation because newly created is not show so that I edit existing but its also not not show in front.

      https://prnt.sc/Fs7JTg_yAiQx

      https://prnt.sc/sBlVRrYboQxg

      https://prnt.sc/JLwpoRiyMRV_

    • C

      Stripe Payment Gateway
      • Cali

      5
      0
      Votes
      5
      Posts
      709
      Views

      Rishabh-Webkul

      Hello @Cali

      Kindly provide a Laravel log file so it will help us to resolve your query.

      Thanks & Regards

    • R

      Purpose of Users Table
      • rohit_saini.rs

      1
      0
      Votes
      1
      Posts
      175
      Views

      No one has replied

    • B

      not clear cache properly
      • Bharti

      6
      0
      Votes
      6
      Posts
      1037
      Views

      ashish2409

      @Bharti

      Hello There,

      We are looking into this case and we will update you on this ASAP.
      Thanks.

    • K

      having doubt in system.php of config folder
      • kpkishan

      2
      0
      Votes
      2
      Posts
      295
      Views

      Rishabh-Webkul

      Hello @kpkishan

      Kindly go through this regarding the override of system.php file

      https://forums.bagisto.com/topic/3772/overide-admin-system-php-config-social-login/2

      Thanks & Regards

    • B

      paypal Integartion not work
      • Bharti

      9
      0
      Votes
      9
      Posts
      1118
      Views

      B

      @Rishabh-Webkul Ok thank you sir

    • C

      Paypal method
      • Cali

      2
      0
      Votes
      2
      Posts
      352
      Views

      Rishabh-Webkul

      Hello @Cali

      Kindly go Bagisto admin panel and click on Configure >> Payment Methods >> PayPal we have mentioned client id secret id and sandbox option there.

      efqaefqaf.png

      You need to enter all the details after creating a account on Paypal for testing payment will get deduct from sandbox.

      Thanks & Regards