Bagisto Forum

    Bagisto

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

      Where can i find the routes, views and controllers?
      • sanjana singh

      2
      0
      Votes
      2
      Posts
      1386
      Views

      M

      To find the routes, views, and controllers in a typical web application framework, you can follow these general guidelines based on common frameworks like Laravel, Ruby on Rails, and Django. The specific location might vary depending on the framework you're using.

      For Laravel (PHP):
      Routes:

      Located in the routes directory.
      Main route file: routes/web.php for web routes.
      API routes: routes/api.php.
      Views:

      Located in the resources/views directory.
      Blade templates (Laravel's templating engine) are stored here.
      Controllers:

      Located in the app/Http/Controllers directory.
      By default, user-defined controllers are stored in this directory.
      For Ruby on Rails:
      Routes:

      Defined in the config/routes.rb file.
      Views:

      Located in the app/views directory.
      Each controller has a corresponding folder inside views.
      Controllers:

      Located in the app/controllers directory.
      Each controller file ends with _controller.rb.
      For Django (Python):
      Routes (URLs):

      Defined in the urls.py file within each app directory.
      There's also a main urls.py file in the project directory.
      Views:

      Located in the views.py file within each app directory.
      Controllers:

      In Django, the concept of controllers is handled by views. Therefore, the views.py file within each app directory serves this purpose.
      Summary:
      To find the routes, views, and controllers in your application:

      Routes:
      Look for files named routes.php, urls.py, or routes.rb depending on your framework.
      Views:
      Check the views directory or the corresponding template directory in your application.
      Controllers:
      Look for the controllers directory or views.py file in each app, depending on your framework.
      If you need further assistance with specifics or additional <a href="https://assignmenthelps.org/Assignment-help">assignment help</a>, please provide the framework or language you're using.

    • E

      Compatibility Issues
      reward • • etomeh

      2
      0
      Votes
      2
      Posts
      465
      Views

      ashish2409

      @etomeh
      Hello There,

      Currently we are undergoing with the development of Reward Point extension. Soon we will be completing then and testing will be processed. Once this will be done, we will update the latest code for the same.

      I would really appreciate your patience.
      Thank You.

    • I

      csrf token issue
      • ismail

      5
      0
      Votes
      5
      Posts
      812
      Views

      Rishabh-Webkul

      Hello @Peppek1993

      Kindly let us know which Bagisto version you are facing this issue

      Thanks & Regards

    • M

      Creating a custom theme in Bagisto 2.2
      • MartintheMartian

      3
      0
      Votes
      3
      Posts
      516
      Views

      M

      @Rishabh-Webkul Is that really the way to do so? It feels so hacky.. copying files, changing namespaces.

    • M

      Changing admin options, ex. hiding up-cells and few attribute options.
      • marshalbagisto

      8
      0
      Votes
      8
      Posts
      1257
      Views

      M

      @Rishabh-Webkul This worked for me. Thank you.

      Does this work for the datagrids too?
      If yes, can you please share the syntax, if not, what is the best possible way to change a datagrid.

      thank you again!

    • O

      Custom package dependencies classes not found
      • Okumura

      5
      0
      Votes
      5
      Posts
      822
      Views

      O

      Hi @Rishabh-Webkul
      Dependencies doesn't exist in root vendor but as I understand based on article: "https://forums.bagisto.com/topic/3288/custom-package-dependencies" it shouldn't be.

      As I understand packages should have separate dependencies and be completely independent. If I install package at root level for example:

      composer require stichoza/google-translate-php

      customer will need to do the same thing. If I use few libraries it could be a long list of instructions how to set up my package and it wouldn't be modular solution. My current solution seems to be the simplest option for now.

      Thanks and best regards.

    • M

      Products seeded but not showing on frontend
      • MartintheMartian

      4
      0
      Votes
      4
      Posts
      745
      Views

      Rishabh-Webkul

      Hello @MartintheMartian

      We are currently looking into it.

      Will update it ASAP.

      Thanks & Regards

    • A

      Bagisto Update
      • aroobaarooj499

      14
      0
      Votes
      14
      Posts
      2351
      Views

      R

      @Ashishaxaat said in Bagisto Update:

      @rahul

      i have been trying upgrading my old bagisto 0.2v to latest bagisto version
      by following this guide
      https://devdocs.bagisto.com/upgrade_to_latest_bagisto.htmlgbi iq test

      and after follow the instruction iam still getting the follow error

      ErrorException (E_WARNING)
      Erroneous data format for unserializing 'Symfony\Component\Routing\CompiledRoute'

      can you please help!

      Thanks! i got it!

    • G

      Installing Google Fonts
      • gggani

      2
      0
      Votes
      2
      Posts
      435
      Views

      Rishabh-Webkul

      Hello @gggani

      This Google font extension is not compatible with Bagisto v2.2.3 you have to make it compatible with the latest version and if you want us to do it then it will came under as a paid service for this you can purchase our support hours from the link below.

      https://store.webkul.com/bagisto-hourly-customization-package.html

      Thanks & Regards

    • M

      Phone pe payments with rest-api
      • marshalbagisto

      3
      0
      Votes
      3
      Posts
      898
      Views

      M

      @amit-webkul Thank you for the reply.

      I'll do as advised. Can you please help me with the create transaction api. As we do not have the create transaction api in the module, I want to create that for my own as I am using another payment gateway and I want to save related data. Can you help me with how the order process works?
      For example: I'll save the order which will return order id, I already have the transaction Id from phone pe. How can I save the transaction data using the rest-api?

      Thank you

    • M

      Guest cart issue using "bagisto/rest-api": "^2.1"
      • marshalbagisto

      6
      0
      Votes
      6
      Posts
      1103
      Views

      M

      @Peppek1993 Thank you. I'll try and update here the progress.

    • K

      How to integrate carrier widget to bagisto?
      • kotel123

      2
      0
      Votes
      2
      Posts
      386
      Views

      Rishabh-Webkul

      Hello @kotel123

      We have a doc of the shipping methods you can go through the link

      https://devdocs.bagisto.com/1.x/advanced/create-shipping-method.html

      And, If you want further customization regarding integration, you can create a ticket from the link below, this will come under as a paid service.

      https://webkul.uvdesk.com/en/customer/create-ticket/

      Thanks & Regards

    • P

      How can i show my view in the customer account menu?
      • Pedro Amair

      2
      0
      Votes
      2
      Posts
      362
      Views

      ashish2409

      @Pedro-Amair

      Hello there,
      As I was able to understand your concern, I just need to know in which file you have made changes. According to our work flow we need to add menu details in below link and in that you need to add menu configurations which will handle all menu related configurations.

      packages/Webkul/Shop/src/Config/menu.php

    • M

      Is there documentation for all base bagisto routes?
      • miguel.barbosa

      6
      0
      Votes
      6
      Posts
      858
      Views

      M

      Thank you everyone for your feedback.

      Sorry for the late feedback, the answers were enough to get where I wanted to.

    • M

      Creating a custom attribute type
      • miguel.barbosa

      3
      0
      Votes
      3
      Posts
      388
      Views

      M

      @Rishabh-Webkul Thank you!

    • S

      Product images are not coming!! Tried all cache commands and .env app_url changes
      • Simran

      28
      0
      Votes
      28
      Posts
      23375
      Views

      S

      @nmach duck life
      it's works for me.

    • M

      How to query products?
      • miguel.barbosa

      6
      0
      Votes
      6
      Posts
      874
      Views

      M

      @Rishabh-Webkul I've extended the ProductController

      But now I want to, using a var, get all products with that value in a specific attribute.

      How can I achieve this with search?

    • A

      Code Documentation
      • admin-improve

      4
      0
      Votes
      4
      Posts
      474
      Views

      Rishabh-Webkul

      Hello @admin-improve

      Ok Nice

      Keep Exploring

      Thanks & Regards

    • M

      Error when attempting to create a custom theme
      • miguel.barbosa

      7
      0
      Votes
      7
      Posts
      1023
      Views

      Rishabh-Webkul

      Hello @miguel-barbosa

      Kindly let us know your Bagisto version ?

      Make sure this blog tutorial is for Bagisto v2.0

      https://bagisto.com/en/create-custom-theme-in-bagisto/

      Thanks & Regards

    • K

      PayPal Integration In bagisto eCommerce website
      • Keerthi

      4
      0
      Votes
      4
      Posts
      981
      Views

      M

      @Keerthi To integrate PayPal payment gateway into Bagisto, you will need to follow several steps in the ecommerce website development process . First, ensure that you have a PayPal developer account to obtain your Client-ID and Client-Secret. After this, go to the Bagisto admin panel and navigate to the payment settings section. Look for the PayPal integration options and enable it. You will then be prompted to enter your Client-ID and Client-Secret in the respective fields. Make sure the correct environment (sandbox or live) is selected based on your testing or production needs. After saving these details, your PayPal gateway should be successfully integrated, and your Bagisto store will be ready to process payments through PayPal.