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
    • M

      Sending status code in rest-api response
      • marshalbagisto

      7
      0
      Votes
      7
      Posts
      1884
      Views

      ?

      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
      457
      Views

      ?

      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
      586
      Views

      ?

      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
      1539
      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
      431
      Views

      No one has replied

    • B

      New Attribute not visible in front.
      • Bharti

      3
      0
      Votes
      3
      Posts
      823
      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
      1292
      Views

      ?

      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
      422
      Views

      No one has replied

    • B

      not clear cache properly
      • Bharti

      6
      0
      Votes
      6
      Posts
      2102
      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
      633
      Views

      ?

      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
      2265
      Views

      B

      @Rishabh-Webkul Ok thank you sir

    • C

      Paypal method
      • Cali

      2
      0
      Votes
      2
      Posts
      694
      Views

      ?

      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

    • H

      This topic is deleted!
      • hiten_jadav

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • H

      Footer
      • horlaworld

      2
      0
      Votes
      2
      Posts
      576
      Views

      ?

      Hello @horlaworld

      Can you provide us with some screenshots regarding the same?

      Because after removing the newsletter only the footer background color will be visible there.

      Thanks & Regards

    • H

      change Image resolution
      • hiten_jadav

      7
      0
      Votes
      7
      Posts
      2030
      Views

      A

      @mayur0418

      Yes, you can set your resolution as needed. After making changes, you will need to clear the cache using the following command:

      php artisan optimize:clear
    • H

      how to change a validated message
      • hiten_jadav

      4
      0
      Votes
      4
      Posts
      1266
      Views

      A

      @mayur0418 said in how to change a validated message:

      But where can I put No other similar validate message wasn't found?

      You can put your key inside the sign-up array, which we have already shared in the screenshot by @Rishabh-Webkul.

      Note: We recommend adding a new key instead of using an existing one. This ensures that the future changes to the key won't affect other areas where the original key is used.

    • A

      Vuejs Components not working in custom theme
      • avijit.ghosh

      2
      0
      Votes
      2
      Posts
      668
      Views

      A

      Hello @avijit-ghosh ,

      When creating a new theme, ensure you properly configure Vite and correctly set the paths for CSS, JS, and views in the Vite configuration file.

      You can refer to this for guidance:
      https://bagisto.com/en/how-to-configure-vite-in-bagisto-separate-package/

    • P

      404 on products/${id} request
      • Peppek1993

      2
      0
      Votes
      2
      Posts
      697
      Views

      A

      Hello @Peppek1993,

      You can view the error directly in your browser by enabling the debug bar. To do this, open the .env file and set APP_DEBUG to true. This will display the error details for you.

    • M

      bagisto mobile not working and giving error on flutter run
      • marwan.dalaty

      2
      0
      Votes
      2
      Posts
      1655
      Views

      ?

      Hello @marwan-dalaty

      Check Your Imports: Ensure you're importing CarouselController only from the carousel_slider package and not from Flutter's material library. The carousel_slider package provides a CarouselController for controlling carousels in your app, and you should not use the one from flutter/src/material/carousel.dart.
      Remove Unnecessary Imports: Make sure you only import the CarouselController from the carousel_sliderpackage. You can do this by checking your import statements and removing the conflicting import.

      Ensure only this import is present

      import 'package:carousel_slider/carousel_slider.dart';

      Remove or comment out the conflicting import

      import 'package:flutter/src/material/carousel.dart';

      Check for Duplicate Packages: Sometimes, this issue can arise if you have multiple versions of the same package or a package that has conflicting imports. Ensure your pubspec.yaml file lists only one version of carousel_slider (carousel_slider: ^4.0.0) and there are no unnecessary packages that might be importing CarouselController from conflicting sources.

      Thanks & Regards

    • M

      outofstock doesnt show on items
      • marwan.dalaty

      4
      0
      Votes
      4
      Posts
      1309
      Views

      A

      Hello @marwan-dalaty ,

      If you are making changes inside the shop package -> view.blade.php file, you can add your Tailwind CSS directly to the HTML.

      After adding the CSS, you will need to compile it and create a build file. To compile the CSS, you will need to follow a few steps.
      Step 1: Install npm inside the shop package using the following command:

      npm install

      Step 2: Run the following command to create the build.

      npm run build

      This will update your changes in the build file