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

      How to implement TinyMCE image upload option in Bagisto ?
      • RK REZA

      3
      0
      Votes
      3
      Posts
      707
      Views

      V

      Hi @RK-REZA

      if you want to upload a local storage image or an image uploaded in a server, you can simply pass the URL of image in source code here; https://prnt.sc/relweh.
      Or if you want to directly upload an image just by clicking on single icon, you can take a reference from the below links;
      https://www.codeinhouse.com/install-tinymce-laravel-and-responsive-file-manager/

      https://medium.com/@petehouston/easy-way-to-upload-image-to-tinymce-in-laravel-f34da8cab78c

    • S

      menu not working for small screens
      • samiraaa

      3
      0
      Votes
      3
      Posts
      559
      Views

      S

      Thanks
      Checked it with developer tools and it seems ok!!

    • _

      How to set "CSS" & "JS" for package by NPM command line
      • _developer_12

      2
      0
      Votes
      2
      Posts
      425
      Views

      A

      Hi _developer_12

      What exact error are you getting ?
      Please share the screenshot of the error.
      Have you run npm install inside the package folder ?

      Thanks

    • _

      How to create package through command line?
      • _developer_12

      2
      0
      Votes
      2
      Posts
      373
      Views

      A

      hello _developer_12

      Thanks a lot for the suggestion. We'll surely take this into consideration.
      But for now, package creation is manual and no command line instruction are created for package creation in bagisto.

      Although if you want try, you can make things happen in app -> Console -> Commands.
      We already have created few commands. You can take references from there and create your own.

      Thanks and Regards
      Aayush Bhatt

    • _

      How to create model into package by artisan?
      • _developer_12

      2
      0
      Votes
      2
      Posts
      653
      Views

      A

      Hi _developer_12.

      Model artisan command will not directly work inside your package folder.
      What you can do is:

      On the root level. Create your model with the artisan command (php artisan make:model YourModel).
      Now copy your model file into (package folder -> src -> Models ).
      Now change the namespace manually by editing the file.

      Thanks and Regards
      Aayush Bhatt

    • _

      How to migrate package by command line
      • _developer_12

      2
      0
      Votes
      2
      Posts
      638
      Views

      A

      Hi _developer_12.

      It will work. Just follow these simple steps:

      Create your migration file inside (yourpackage -> src -> Database -> Migrations) Now, go to your service provider class (yourpackage -> src -> Providers -> yourpackageServiceprovider.php) Inside the boot() function add this code:
      $this->loadMigrationsFrom(__DIR __ . '/../Database/Migrations');
      ps. -> (In the above code remove the space beteween DIR and __) Now run the command (composer dump-autoload).

      After that run php artisan migrate and it will migrate your tables.

      Feel free to revert back in any kind of confusion or query.
      Thanks

    • V

      Cancel order for customer
      • valpuia

      4
      0
      Votes
      4
      Posts
      855
      Views

      V

      At present, there is no button/option in UI at the customer side to cancel the order.
      We will implement this feature later, till then you can customize it by own.

    • C

      Class not found
      • cmpengineers

      16
      0
      Votes
      16
      Posts
      2595
      Views

      C

      Dear @rahul

      use App\packages\Drov\src\Models\Area; // this is the one that is working

      i really appreciate it your effort

      Best regards

    • H

      How to change inputs validation language?
      • hChamran

      4
      0
      Votes
      4
      Posts
      723
      Views

      V

      @maheshb
      you could go through this link to translate error
      https://devdocs.bagisto.com/error_translation.html

    • admin

      Manage Orders in Bagisto
      • admin

      1
      0
      Votes
      1
      Posts
      441
      Views

      No one has replied

    • _

      We need to add some printing attributes with product, for which:
      • _developer_12

      2
      0
      Votes
      2
      Posts
      384
      Views

      N

      Hello @_developer_12,
      You can create your own package in bagisto to perform this.

      Thank you

    • _

      Please tell me that how can manage routes on front end ?
      • _developer_12

      2
      0
      Votes
      2
      Posts
      440
      Views

      N

      Hello @_developer_12 ,

      follow the path :
      packages/Webkul/Shop/src/Http/route.php
      also check the following :
      https://devdocs.bagisto.com/create_package.html#how-to-create-package

      Thank you

    • _

      How to setup bagisto on live server ?
      • _developer_12

      4
      -1
      Votes
      4
      Posts
      1289
      Views

      J

      @_developer_12
      Create a zip of your package and upload it on your server then unzip your package.
      you can refer this also- https://forums.bagisto.com/topic/1109/deploying-bagisto-on-shared-hosting

    • _

      Please tell me where is routes file of product details page on frontend ?
      • _developer_12

      8
      0
      Votes
      8
      Posts
      2253
      Views

      shubhwebkul

      Hello there,

      Answers:-

      1 - In PROJECT_ROOT/config/themes.php, we've declared views_path, that's why the files are being called from resources directory.

      2 - In depth routes are being called from the shop package, but it will render the file according to the current theme selected.

      /packages/Webkul/Theme/src/ThemeViewFinder.php->findNamespacedView, this function calls the respective file dynamically.

      thanks & best regards!
      feel free to ask further queries.

    • N

      The home page is blank!
      • nabil

      4
      0
      Votes
      4
      Posts
      692
      Views

      J

      @nabil
      Please follow this user guide to create products - https://bagisto.com/en/how-to-create-simple-product-in-bagisto/

    • _

      i need to that attribute variants not create but should be shown attribute on front end ... is it possible ?
      • _developer_12

      1
      0
      Votes
      1
      Posts
      230
      Views

      No one has replied

    • _

      How is working Add to cart section ? Please tell me
      • _developer_12

      4
      0
      Votes
      4
      Posts
      767
      Views

      V

      Hi @_developer_12
      If you are working on core, you can merge the custom attribute value in the request, then check response again.

    • C

      address fields modified and add new field
      • cmpengineers

      2
      0
      Votes
      2
      Posts
      642
      Views

      N

      @cmpengineers said in address fields modified and add new field:

      address
      yes you can add/alter the table and can pass the area_id in the the table.
      like for example you should check the following:
      Selection_103.png

      As you can see here we have added the swatch_type column in the attributes table, you can also modify your table .

      Thank you.

    • S

      Creating automatic invoice after place order or at the time of Save new Order.
      • Sarthak

      8
      0
      Votes
      8
      Posts
      1242
      Views

      V

      @Sarthak
      this is the feature of bagisto, when the payment is done using paypal, automatic invoice will generate, that's the reason your invoice are generated automatically.

      Please let us know if you have any further query?

    • B

      Can we push the order to API
      • Bhima

      6
      0
      Votes
      6
      Posts
      1006
      Views

      N

      Hello @Bhima ,
      For this you can listen the following event dispatch in the order repository :
      (checkout.order.save.after) from your event service provider.

      you should check the following link:
      https://devdocs.bagisto.com/events.html
      Thank you.