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

      How to migrate package by command line
      • _developer_12

      2
      0
      Votes
      2
      Posts
      1015
      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
      1391
      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
      4848
      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
      1352
      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
      811
      Views

      No one has replied

    • _

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

      2
      0
      Votes
      2
      Posts
      786
      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
      793
      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
      1965
      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
      3153
      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
      1376
      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
      452
      Views

      No one has replied

    • _

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

      4
      0
      Votes
      4
      Posts
      1438
      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
      1070
      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
      2195
      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
      1821
      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.

    • D

      Bottom Laravel Message
      • dan3460

      5
      0
      Votes
      5
      Posts
      1606
      Views

      D

      Thank you sir.

    • bala

      i want to hold the sidebar only for home page
      • bala

      9
      0
      Votes
      9
      Posts
      2480
      Views

      shubhwebkul

      You need to run command npm run watch inside packages/Webkul/Velocity to watch your changes in vue files.

    • _

      How to push array by component in bagisto vue js. ?
      • _developer_12

      2
      0
      Votes
      2
      Posts
      819
      Views

      N

      Hello @_developer_12 ,
      just check the following link:
      https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Shop/src/Resources/views/products/view/configurable-options.blade.php

      here you can see $config = $configurableOptionHelper->getConfigurationConfig($product)

      and then $config is used as json data in the component.

      Thank you.

    • _

      When we add to cart than tell me that how to add new key on ['additional'] array on the cart ?
      • _developer_12

      5
      0
      Votes
      5
      Posts
      1467
      Views

      S

      I didn't get you well, Do you want to see those attribute in the cart.Please check the screenshot.
      click on the below link.
      https://prnt.sc/rmcfyg

    • T

      Error Listing Routes and Displaying Images
      • tomatopi

      5
      0
      Votes
      5
      Posts
      1738
      Views

      T

      Thanks.

      Great application. Nice work.